Searched refs:bufcnt (Results 1 – 5 of 5) sorted by relevance
| /xnu-10063.141.1/bsd/skywalk/packet/ |
| H A D | pbufpool_kern.c | 279 kern_pbufpool_alloc_common(const kern_pbufpool_t pp, const uint32_t bufcnt, in kern_pbufpool_alloc_common() argument 286 if (__improbable(bufcnt > pp->pp_max_frags)) { in kern_pbufpool_alloc_common() 290 if (__improbable((bufcnt != pp->pp_max_frags) && in kern_pbufpool_alloc_common() 295 kqum = SK_PTR_ADDR_KQUM(pp_alloc_packet(pp, (uint16_t)bufcnt, skmflag)); in kern_pbufpool_alloc_common() 305 kern_pbufpool_alloc(const kern_pbufpool_t pp, const uint32_t bufcnt, in kern_pbufpool_alloc() argument 308 return kern_pbufpool_alloc_common(pp, bufcnt, pph, SKMEM_SLEEP); in kern_pbufpool_alloc() 312 kern_pbufpool_alloc_nosleep(const kern_pbufpool_t pp, const uint32_t bufcnt, in kern_pbufpool_alloc_nosleep() argument 315 return kern_pbufpool_alloc_common(pp, bufcnt, pph, SKMEM_NOSLEEP); in kern_pbufpool_alloc_nosleep() 320 const uint32_t bufcnt, kern_packet_t *array, uint32_t *size, in kern_pbufpool_alloc_batch_common() argument 324 bufcnt > pp->pp_max_frags || (cb == NULL && ctx != NULL))) { in kern_pbufpool_alloc_batch_common() [all …]
|
| H A D | pbufpool.c | 511 obj_idx_t midx, struct kern_pbufpool *pp, uint32_t skmflag, uint16_t bufcnt, in pp_metadata_construct() argument 519 ASSERT(bufcnt == 1 || PP_HAS_BUFFER_ON_DEMAND(pp)); in pp_metadata_construct() 562 VERIFY(bufcnt == 1); in pp_metadata_construct() 571 for (i = 0; i < bufcnt; i++) { in pp_metadata_construct() 628 SK_KVA(pp), SK_KVA(kqum), bufcnt, SK_KVA(baddr)); in pp_metadata_construct() 632 ASSERT(bufcnt != 0 && baddr == 0); in pp_metadata_construct() 646 uint16_t bufcnt = (no_buflet ? 0 : pp->pp_max_frags); in pp_metadata_ctor_common() local 707 if (PP_HAS_BUFFER_ON_DEMAND(pp) && bufcnt != 0) { in pp_metadata_ctor_common() 709 bufcnt, skmflag); in pp_metadata_ctor_common() 713 skmflag, bufcnt, TRUE, &blist); in pp_metadata_ctor_common() [all …]
|
| H A D | os_packet.h | 859 const uint32_t bufcnt, kern_packet_t *packet); 861 const uint32_t bufcnt, kern_packet_t *array, uint32_t *size); 863 const kern_pbufpool_t pbufpool, const uint32_t bufcnt, kern_packet_t *array, 866 const uint32_t bufcnt, kern_packet_t *packet); 868 const uint32_t bufcnt, kern_packet_t *array, uint32_t *size); 870 const kern_pbufpool_t pbufpool, const uint32_t bufcnt,
|
| /xnu-10063.141.1/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_agg.c | 213 uint64_t bufcnt = 1; in _pkt_agg_log() local 215 bufcnt = kern_packet_get_buflet_count(ph); in _pkt_agg_log() 231 for (uint64_t i = 0; i < bufcnt && buf != NULL; i++) { in _pkt_agg_log() 1518 uint16_t bufcnt) in finalize_super_packet() argument 1521 if (bufcnt > 1) { in finalize_super_packet() 1529 DTRACE_SKYWALK1(aggr__buflet__count, uint16_t, bufcnt); in finalize_super_packet() 1592 uint16_t spkts = 0, bufcnt = 0; in flow_rx_agg_channel() local 1688 agg_ok = (agg_ok && bufcnt < dpp->pp_max_frags); in flow_rx_agg_channel() 1813 bufcnt += dbuf_array.dba_num_dbufs; in flow_rx_agg_channel() 1820 &largest_spkt, &spkts, bufcnt); in flow_rx_agg_channel() [all …]
|
| /xnu-10063.141.1/bsd/net/ |
| H A D | if_fake.c | 1199 uint16_t i, bufcnt; in feth_copy_packet() local 1206 bufcnt = kern_packet_get_buflet_count(sph); in feth_copy_packet() 1207 ASSERT((bufcnt == 1) || multi_buflet); in feth_copy_packet() 1227 for (i = 1; i < bufcnt; i++) { in feth_copy_packet() 1270 VERIFY(bufcnt == kern_packet_get_buflet_count(dph)); in feth_copy_packet()
|