/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/sys/external/bsd/drm2/dist/drm/amd/amdkfd/ |
kfd_device_queue_manager.h | 179 struct packet_manager packets; member in struct:device_queue_manager
|
/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/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...] |
/src/sys/altq/ |
altq.h | 165 u_int64_t packets; member in struct:pktcntr 170 do { (cntr)->packets++; (cntr)->bytes += len; } while (/*CONSTCOND*/ 0)
|
/src/sys/dev/ieee1394/ |
fwohci.c | 91 "nocyclemaster", SYSCTL_DESCR("Do not send cycle start packets"), 1560 int packets = 0, ch, err = 0; local in function:fwohci_txd 1677 packets++; 1687 if (dbch->xferq.queued > 0 || packets > 0) 1690 if ((dbch->flags & FWOHCI_DBCH_FULL) && packets > 0) { 2160 /* pending all pre-bus_reset packets */
|
/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/dev/stbi/ |
stb_image.c | 4129 pic_packet_t packets[10]; local in function:pic_load2 4132 // for the same channel in multiple packets. 4136 if (num_packets==sizeof(packets)/sizeof(packets[0])) 4137 return epuc("bad format","too many packets"); 4139 packet = &packets[num_packets++]; 4148 if (at_eof(s)) return epuc("bad file","file too short (reading packets)"); 4158 pic_packet_t *packet = &packets[packet_idx];
|
/src/sys/dist/pf/net/ |
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 */
|
/src/sys/dev/pci/ |
if_mcx.c | 1181 uint64_t packets; member in struct:mcx_counter 2388 * A Receive Queue Table (RQT) is the indirection table that maps packets to 2394 * A Transport Interface Receive (TIR) delivers packets to either a single rx 2402 * table or a TIR. We use one flow table to select packets based on 2404 * first table send matching packets to the second, and the entries in the 2405 * RSS table send packets to RSS TIRs if possible, or the non-RSS TIR. 2407 * The flow table entry that delivers packets to an RSS TIR must include match 2408 * criteria that ensure packets delivered to the TIR include all the fields 2410 * only accept v4 TCP packets. Accordingly, we need flow table entries for 2419 * optionally an ip proto, that delivers packets to the TIR [all...] |