Searched refs:nbfts (Results 1 – 2 of 2) sorted by relevance
1622 uint16_t nbfts, upkt_nbfts; in pp_remove_upp_bft_chain_locked() local1645 nbfts = (kbft->buf_addr != 0) ? 1 : 0; in pp_remove_upp_bft_chain_locked()1664 ++nbfts; in pp_remove_upp_bft_chain_locked()1665 } while ((bft_idx != OBJ_IDX_NONE) && (nbfts < upkt_nbfts)); in pp_remove_upp_bft_chain_locked()1670 *__DECONST(uint16_t *, &kpkt->pkt_bufs_cnt) = nbfts; in pp_remove_upp_bft_chain_locked()1672 if (__improbable((bft_idx != OBJ_IDX_NONE) || (nbfts != upkt_nbfts))) { in pp_remove_upp_bft_chain_locked()1673 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()