Home
last modified time | relevance | path

Searched refs:bmap (Results 1 – 6 of 6) sorted by relevance

/f-stack/dpdk/lib/librte_rcu/
H A Drte_rcu_qsbr.c214 uint64_t bmap; in rte_rcu_qsbr_dump() local
234 bmap = __atomic_load_n(__RTE_QSBR_THRID_ARRAY_ELM(v, i), in rte_rcu_qsbr_dump()
237 while (bmap) { in rte_rcu_qsbr_dump()
238 t = __builtin_ctzl(bmap); in rte_rcu_qsbr_dump()
241 bmap &= ~(1UL << t); in rte_rcu_qsbr_dump()
255 bmap = __atomic_load_n(__RTE_QSBR_THRID_ARRAY_ELM(v, i), in rte_rcu_qsbr_dump()
258 while (bmap) { in rte_rcu_qsbr_dump()
259 t = __builtin_ctzl(bmap); in rte_rcu_qsbr_dump()
268 bmap &= ~(1UL << t); in rte_rcu_qsbr_dump()
H A Drte_rcu_qsbr.h526 uint64_t bmap; in __rte_rcu_qsbr_check_selective() local
537 bmap = __atomic_load_n(reg_thread_id, __ATOMIC_ACQUIRE); in __rte_rcu_qsbr_check_selective()
540 while (bmap) { in __rte_rcu_qsbr_check_selective()
541 j = __builtin_ctzl(bmap); in __rte_rcu_qsbr_check_selective()
544 __func__, t, wait, bmap, id + j); in __rte_rcu_qsbr_check_selective()
565 bmap = __atomic_load_n(reg_thread_id, in __rte_rcu_qsbr_check_selective()
578 bmap &= ~(1UL << j); in __rte_rcu_qsbr_check_selective()
/f-stack/dpdk/drivers/net/cxgbe/
H A Dcxgbe_filter.h209 static inline unsigned int cxgbe_find_first_zero_bit(struct rte_bitmap *bmap, in cxgbe_find_first_zero_bit() argument
215 if (!rte_bitmap_get(bmap, idx)) in cxgbe_find_first_zero_bit()
225 cxgbe_bitmap_find_free_region(struct rte_bitmap *bmap, unsigned int size, in cxgbe_bitmap_find_free_region() argument
235 if (!rte_bitmap_get(bmap, idx + j)) { in cxgbe_bitmap_find_free_region()
/f-stack/dpdk/drivers/net/octeontx2/
H A Dotx2_flow.c17 struct rte_bitmap *bmap; in otx2_flow_free_all_resources() local
42 bmap = npc->live_entries[flow->priority]; in otx2_flow_free_all_resources()
43 rte_bitmap_clear(bmap, flow->mcam_id); in otx2_flow_free_all_resources()
177 flow_get_free_rss_grp(struct rte_bitmap *bmap, in flow_get_free_rss_grp() argument
181 if (!rte_bitmap_get(bmap, *pos)) in flow_get_free_rss_grp()
664 struct rte_bitmap *bmap; in otx2_flow_destroy() local
711 bmap = npc->live_entries[flow->priority]; in otx2_flow_destroy()
712 rte_bitmap_clear(bmap, flow->mcam_id); in otx2_flow_destroy()
/f-stack/freebsd/arm/allwinner/
H A Dif_awg.c712 struct awg_bufmap *bmap; in awg_clean_txbuf() local
716 bmap = &sc->tx.buf_map[index]; in awg_clean_txbuf()
717 if (bmap->mbuf != NULL) { in awg_clean_txbuf()
718 bus_dmamap_sync(sc->tx.buf_tag, bmap->map, in awg_clean_txbuf()
720 bus_dmamap_unload(sc->tx.buf_tag, bmap->map); in awg_clean_txbuf()
721 m_freem(bmap->mbuf); in awg_clean_txbuf()
722 bmap->mbuf = NULL; in awg_clean_txbuf()
/f-stack/freebsd/kern/
H A Dvnode_if.src446 %% bmap vp L L L