/src/usr.sbin/altq/altqstat/ |
qdisc_jobs.c | 126 (sp->rout.packets == 0)? 127 -1.:(double)sp->avgdel/(double)sp->rout.packets, 128 (i > 0)?((sp->rout.packets > 0 && (&new[i-1])->rout.packets > 0)? 129 (double)(sp->avgdel*(&new[i-1])->rout.packets)/((double)sp->rout.packets*(&new[i-1])->avgdel):0):-1.0, 130 (sp->arrival.packets == 0)? 131 0:(double)100.*sp->adc_violations/(double)sp->arrival.packets,
|
qdisc_cdnr.c | 97 (ull)get_stats.cnts[TCACODE_PASS].packets, 98 (ull)get_stats.cnts[TCACODE_DROP].packets, 99 (ull)get_stats.cnts[TCACODE_MARK].packets, 100 (ull)get_stats.cnts[TCACODE_NEXT].packets, 101 (ull)get_stats.cnts[TCACODE_RETURN].packets, 102 (ull)get_stats.cnts[TCACODE_NONE].packets); 137 (ull)sp->tce_cnts[j].packets,
|
qdisc_rio.c | 99 (ull)rio_stats.q_stats[0].xmit_cnt.packets, 100 (ull)rio_stats.q_stats[0].drop_cnt.packets, 101 (ull)rio_stats.q_stats[1].xmit_cnt.packets, 102 (ull)rio_stats.q_stats[1].drop_cnt.packets, 103 (ull)rio_stats.q_stats[2].xmit_cnt.packets, 104 (ull)rio_stats.q_stats[2].drop_cnt.packets); 150 (ull)rp[dp].xmit_cnt.packets,
|
qdisc_fifoq.c | 75 (ull)get_stats.xmit_cnt.packets, 77 (ull)get_stats.drop_cnt.packets,
|
qdisc_red.c | 82 (ull)red_stats.xmit_cnt.packets, 83 (ull)red_stats.drop_cnt.packets, 116 (ull)rp->xmit_cnt.packets,
|
qdisc_wfq.c | 131 top[j]->stats.xmit_cnt.packets < 132 qinfo[i].stats.xmit_cnt.packets)) { 152 (ull)top[j]->stats.xmit_cnt.packets, 154 (ull)top[j]->stats.drop_cnt.packets,
|
qdisc_priq.c | 102 printf(" packets:%llu (%llu bytes) drops:%llu\n", 103 (ull)sp->xmitcnt.packets, 105 (ull)sp->dropcnt.packets);
|
qdisc_cbq.c | 120 (ull)sp->xmit_cnt.packets, 127 (ull)sp->drop_cnt.packets,
|
qdisc_hfsc.c | 91 printf("\ncur_time:%#llx %u classes %u packets in the tree\n", 124 printf(" packets:%llu (%llu bytes) drops:%llu (%llu bytes) \n", 125 (ull)sp->xmit_cnt.packets, 127 (ull)sp->drop_cnt.packets,
|
/src/tests/kernel/ |
t_pty.c | 4 * Allocates a pty(4) device, and sends the specified number of packets of the 50 static size_t packets = 2; variable in typeref:typename:size_t 81 for (i = 0; i < packets; i++) { 250 if (total != buffer_size * packets) 252 "Lost data %zu != %zu\n", total, buffer_size * packets); 266 "Usage: %s [-v] [-q <qsize>] [-s <packetsize>] [-n <packets>]\n", 280 packets = (size_t)atoi(optarg); 298 if (packets < 1 || packets > 100)
|
/src/usr.sbin/spray/ |
spray.c | 114 * The default value of count is the number of packets required 151 /* Spray server with packets */ 152 printf ("sending %d packets of lnth %d to %s ...", count, length, *argv); 176 /* report dropped packets */ 180 printf("\t%d packets (%.2f%%) dropped\n", 184 printf("\tno packets dropped\n"); 198 print_xferstats(int packets, int packetlen, double xfertime) 201 double pps; /* packets per second */ 204 datalen = packets * packetlen; 205 pps = packets / xfertime [all...] |
/src/dist/pf/sbin/pfctl/ |
pfctl_qstats.c | 296 (unsigned long long)cur.data.cbq_stats.xmit_cnt.packets, 298 (unsigned long long)cur.data.cbq_stats.drop_cnt.packets, 307 printf(" [ measured: %7.1f packets/s, %s/s ]\n", 317 (unsigned long long)cur.data.priq_stats.xmitcnt.packets, 319 (unsigned long long)cur.data.priq_stats.dropcnt.packets, 327 printf(" [ measured: %7.1f packets/s, %s/s ]\n", 337 (unsigned long long)cur.data.hfsc_stats.xmit_cnt.packets, 339 (unsigned long long)cur.data.hfsc_stats.drop_cnt.packets, 347 printf(" [ measured: %7.1f packets/s, %s/s ]\n", 382 p = qs->data.cbq_stats.xmit_cnt.packets; [all...] |
pf_print_state.c | 282 (unsigned long long int)pf_state_counter_from_pfsync(s->packets[0]), 283 (unsigned long long int)pf_state_counter_from_pfsync(s->packets[1]),
|
pfctl.c | 734 printf(" [ Evaluations: %-8llu Packets: %-8llu " 737 (unsigned long long)(rule->packets[0] + 738 rule->packets[1]), 814 (unsigned long long)(pr.rule.packets[0] + 815 pr.rule.packets[1]), 818 (unsigned long long)pr.rule.packets[0], 820 (unsigned long long)pr.rule.packets[1], 859 (unsigned long long)(pr.rule.packets[0] + 860 pr.rule.packets[1]), 863 (unsigned long long)pr.rule.packets[0] [all...] |
pfctl_optimize.c | 183 PF_RULE_FIELD(packets, DC), 824 total_count += por1->por_rule.packets[0] + 825 por1->por_rule.packets[1]; 832 por1->por_rule.packets[0] + 833 por1->por_rule.packets[1];
|
/src/sys/altq/ |
altq.h | 165 u_int64_t packets; member in struct:pktcntr 170 do { (cntr)->packets++; (cntr)->bytes += len; } while (/*CONSTCOND*/ 0)
|
altq_jobs.h | 120 (cntr)->packets--; \ 125 (cntr)->packets = 0; \ 136 u_int qlimit; /* buffer size in packets */ 302 u_int64_t current_loss; /* % of packets dropped */ 378 u_int jif_qlimit; /* buffer size in packets */
|
/src/usr.sbin/fwctl/ |
fwdv.c | 267 int len, tlen, header, fd, frames, packets, vec, offset, nhdr, i; local in function:dvsend 336 packets = 0; 361 header = (packets == 0 || packets % npackets[lsystem] == 0); 394 ciph->dbc = packets++ % 256;
|
/src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/ |
kfd_device_queue_manager.c | 248 const struct packet_manager_funcs *pmf = qpd->dqm->packets.pmf; 946 return pm_init(&dqm->packets, dqm); 955 pm_uninit(&dqm->packets, false); 1063 return pm_send_set_resources(&dqm->packets, &res); 1090 retval = pm_init(&dqm->packets, dqm); 1123 pm_uninit(&dqm->packets, false); 1140 pm_uninit(&dqm->packets, hanging); 1312 retval = pm_send_unmap_queue(&dqm->packets, KFD_QUEUE_TYPE_SDMA, 1332 retval = pm_send_runlist(&dqm->packets, &dqm->queues); 1363 retval = pm_send_unmap_queue(&dqm->packets, KFD_QUEUE_TYPE_COMPUTE [all...] |
kfd_device_queue_manager.h | 179 struct packet_manager packets; member in struct:device_queue_manager
|
/src/sys/dev/pci/ixgbe/ |
ixgbe.h | 135 * value allows the driver to buffer more incoming packets. Each descriptor 386 u64 packets; member in struct:tx_ring 434 u64 packets; member in struct:rx_ring
|
/src/sys/dist/pf/net/ |
pf_ioctl.c | 1119 pf_state_counter_to_pfsync(s->packets[0], sp->packets[0]); 1120 pf_state_counter_to_pfsync(s->packets[1], sp->packets[1]); 1171 s->packets[0] = s->packets[1] = 0; 1558 rule->evaluations = rule->packets[0] = rule->packets[1] = 1641 rule->packets[0] = rule->packets[1] = 0 [all...] |
pfvar.h | 546 u_int64_t packets[2]; member in struct:pf_rule 658 u_int64_t packets[2]; member in struct:pf_src_node 679 #define PFSS_DATA_TS 0x0040 /* timestamp on data packets */ 680 #define PFSS_DATA_NOTS 0x0080 /* no timestamp on data packets */ 762 u_int64_t packets[2]; member in struct:pf_state 821 u_int32_t packets[2][2]; member in struct:pfsync_state 1323 #define PFFRAG_FRAG_HIWAT 1000 /* Number of fragmented packets */
|
pf.c | 4050 /* Ease sequencing restrictions on no data packets */ 4162 * 3) Packets get funky immediately after the connection 4183 (unsigned long long int)(*state)->packets[0], 4184 (unsigned long long int)(*state)->packets[1]); 4237 (unsigned long long int)(*state)->packets[0], 4238 (unsigned long long int)(*state)->packets[1], 4255 /* Any packets which have gotten here are to be passed */ 5993 r->packets[dirndx]++; 5996 a->packets[dirndx]++; 6002 s->nat_rule.ptr->packets[dirndx]++ [all...] |
/src/sys/dev/ic/ |
athrate-sample.c | 104 * packets at bit-rates other than the current one to estimate when 311 /* let the bit-rate switch quickly during the first few packets */ 325 DPRINTF(sc, "%s: %s size %d switch rate %d (%d/%d) -> %d (%d/%d) after %d packets mrr %d\n", 347 * to the rate of small packets 443 /* just average the first few packets */ 445 int packets = sn->stats[size_bin][ndx0].total_packets; local in function:update_stats 446 sn->stats[size_bin][ndx0].average_tx_time = (tt+(avg_tx*packets))/(packets+1); 458 /* also say larger packets failed since we 805 osc->ath_sample_rate = 10; /* send a different bit-rate 1/X packets */ [all...] |