Searched refs:bh_cnt (Results 1 – 2 of 2) sorted by relevance
| /xnu-12377.1.9/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_agg.c | 1651 uint32_t bh_cnt, bh_cnt_tmp; in flow_rx_agg_channel() local 1671 bh_cnt = estimate_buf_cnt(fe, rx_bytes, KPKTQ_LEN(rx_pkts), in flow_rx_agg_channel() 1673 DTRACE_SKYWALK1(needed_blt_cnt_agg, uint32_t, bh_cnt); in flow_rx_agg_channel() 1674 bh_cnt = MIN(bh_cnt, MAX_BUFLET_COUNT); in flow_rx_agg_channel() 1675 bh_cnt_tmp = bh_cnt; in flow_rx_agg_channel() 1682 bh_cnt_tmp = bh_cnt = MIN(KPKTQ_LEN(rx_pkts), MAX_BUFLET_COUNT); in flow_rx_agg_channel() 1683 DTRACE_SKYWALK1(needed_blt_cnt_no_agg, uint32_t, bh_cnt); in flow_rx_agg_channel() 1686 err = pp_alloc_buflet_batch(dpp, buf_arr, &bh_cnt, SKMEM_NOSLEEP, in flow_rx_agg_channel() 1688 if (__improbable(bh_cnt == 0)) { in flow_rx_agg_channel() 1782 if (bh_cnt < bh_cnt_tmp) { in flow_rx_agg_channel() [all …]
|
| /xnu-12377.1.9/bsd/skywalk/nexus/ |
| H A D | nexus_adapter.c | 3818 uint32_t curr_ws, bh_needed, bh_cnt; in na_packet_pool_alloc_buf_sync() local 3874 if ((bh_cnt = bh_needed) == 0) { in na_packet_pool_alloc_buf_sync() 3878 err = pp_alloc_buflet_batch(pp, kring->ckr_scratch, &bh_cnt, in na_packet_pool_alloc_buf_sync() 3881 if (bh_cnt == 0) { in na_packet_pool_alloc_buf_sync() 3887 for (n = 0; n < bh_cnt; n++) { in na_packet_pool_alloc_buf_sync()
|