Searched refs:bufcnt (Results 1 – 5 of 5) sorted by relevance
| /xnu-11215/bsd/skywalk/packet/ |
| H A D | pbufpool_kern.c | 291 if (__improbable(bufcnt > pp->pp_max_frags)) { in kern_pbufpool_alloc_common() 295 if (__improbable((bufcnt != pp->pp_max_frags) && in kern_pbufpool_alloc_common() 313 return kern_pbufpool_alloc_common(pp, bufcnt, pph, SKMEM_SLEEP); in kern_pbufpool_alloc() 320 return kern_pbufpool_alloc_common(pp, bufcnt, pph, SKMEM_NOSLEEP); in kern_pbufpool_alloc_nosleep() 325 const uint32_t bufcnt, kern_packet_t *__counted_by(*size)array, in kern_pbufpool_alloc_batch_common() argument 329 bufcnt > pp->pp_max_frags || (cb == NULL && ctx != NULL))) { in kern_pbufpool_alloc_batch_common() 333 if (__improbable((bufcnt != pp->pp_max_frags) && in kern_pbufpool_alloc_batch_common() 346 return kern_pbufpool_alloc_batch_common(pp, bufcnt, array, in kern_pbufpool_alloc_batch() 355 return kern_pbufpool_alloc_batch_common(pp, bufcnt, array, in kern_pbufpool_alloc_batch_callback() 364 return kern_pbufpool_alloc_batch_common(pp, bufcnt, array, in kern_pbufpool_alloc_batch_nosleep() [all …]
|
| H A D | pbufpool.c | 590 VERIFY(bufcnt == 1); in pp_metadata_construct() 599 for (i = 0; i < bufcnt; i++) { in pp_metadata_construct() 660 ASSERT(bufcnt != 0 && baddr == 0); in pp_metadata_construct() 741 skmflag, bufcnt, TRUE, &blist); in pp_metadata_ctor_common() 777 uint16_t bufcnt, i = 0; in pp_metadata_destruct_common() local 796 bufcnt = kpkt->pkt_bufs_cnt; in pp_metadata_destruct_common() 874 ASSERT(i == bufcnt); in pp_metadata_destruct_common() 2025 for (i = 0; i < bufcnt; i++) { in pp_metadata_init() 2215 bufcnt, skmflag, &blist); in pp_alloc_pktq() 2267 bufcnt = in pp_alloc_packet_by_size() [all …]
|
| H A D | os_packet.h | 865 const uint32_t bufcnt, kern_packet_t *packet); 867 const uint32_t bufcnt, kern_packet_t *__counted_by(*size) array, uint32_t *size); 869 const kern_pbufpool_t pbufpool, const uint32_t bufcnt, 873 const uint32_t bufcnt, kern_packet_t *packet); 875 const uint32_t bufcnt, kern_packet_t *__counted_by(*size) array, uint32_t *size); 877 const kern_pbufpool_t pbufpool, const uint32_t bufcnt,
|
| /xnu-11215/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_agg.c | 222 uint64_t bufcnt = 1; in _pkt_agg_log() local 224 bufcnt = kern_packet_get_buflet_count(ph); in _pkt_agg_log() 240 for (uint64_t i = 0; i < bufcnt && buf != NULL; i++) { in _pkt_agg_log() 1570 uint16_t bufcnt) in finalize_super_packet() argument 1573 if (bufcnt > 1) { in finalize_super_packet() 1645 uint16_t spkts = 0, bufcnt = 0; in flow_rx_agg_channel() local 1742 agg_ok = (agg_ok && bufcnt < dpp->pp_max_frags); in flow_rx_agg_channel() 1873 bufcnt += dbuf_array.dba_num_dbufs; in flow_rx_agg_channel() 1880 &largest_spkt, &spkts, bufcnt); in flow_rx_agg_channel() 1903 bufcnt = dbuf_array.dba_num_dbufs; in flow_rx_agg_channel() [all …]
|
| /xnu-11215/bsd/net/ |
| H A D | if_fake.c | 1349 uint16_t i, bufcnt; in feth_copy_packet() local 1356 bufcnt = kern_packet_get_buflet_count(sph); in feth_copy_packet() 1357 ASSERT((bufcnt == 1) || multi_buflet); in feth_copy_packet() 1377 for (i = 1; i < bufcnt; i++) { in feth_copy_packet() 1420 VERIFY(bufcnt == kern_packet_get_buflet_count(dph)); in feth_copy_packet()
|