Searched refs:nbfts (Results 1 – 2 of 2) sorted by relevance
1635 uint16_t nbfts, upkt_nbfts; in pp_remove_upp_bft_chain_locked() local1658 nbfts = (kbft->buf_addr != 0) ? 1 : 0; in pp_remove_upp_bft_chain_locked()1677 ++nbfts; in pp_remove_upp_bft_chain_locked()1678 } while ((bft_idx != OBJ_IDX_NONE) && (nbfts < upkt_nbfts)); in pp_remove_upp_bft_chain_locked()1683 *__DECONST(uint16_t *, &kpkt->pkt_bufs_cnt) = nbfts; in pp_remove_upp_bft_chain_locked()1685 if (__improbable((bft_idx != OBJ_IDX_NONE) || (nbfts != upkt_nbfts))) { in pp_remove_upp_bft_chain_locked()1686 SK_ERR("bad buflet in upkt (%d, %d)", nbfts, upkt_nbfts); in pp_remove_upp_bft_chain_locked()
2023 int nbfts, err; in os_channel_purge_buflet_alloc_ring() local2030 nbfts = ring->ring_tail - idx; in os_channel_purge_buflet_alloc_ring()2031 if (nbfts < 0) { in os_channel_purge_buflet_alloc_ring()2032 nbfts += ring->ring_num_slots; in os_channel_purge_buflet_alloc_ring()2036 while ((uint32_t)nbfts-- > curr_ws) { in os_channel_purge_buflet_alloc_ring()