Searched refs:bmap (Results 1 – 7 of 7) sorted by relevance
| /dpdk/lib/rcu/ |
| H A D | rte_rcu_qsbr.c | 210 uint64_t bmap; in rte_rcu_qsbr_dump() local 230 bmap = __atomic_load_n(__RTE_QSBR_THRID_ARRAY_ELM(v, i), in rte_rcu_qsbr_dump() 233 while (bmap) { in rte_rcu_qsbr_dump() 234 t = __builtin_ctzl(bmap); in rte_rcu_qsbr_dump() 237 bmap &= ~(1UL << t); in rte_rcu_qsbr_dump() 251 bmap = __atomic_load_n(__RTE_QSBR_THRID_ARRAY_ELM(v, i), in rte_rcu_qsbr_dump() 254 while (bmap) { in rte_rcu_qsbr_dump() 255 t = __builtin_ctzl(bmap); in rte_rcu_qsbr_dump() 264 bmap &= ~(1UL << t); in rte_rcu_qsbr_dump()
|
| H A D | rte_rcu_qsbr.h | 517 uint64_t bmap; in __rte_rcu_qsbr_check_selective() local 528 bmap = __atomic_load_n(reg_thread_id, __ATOMIC_ACQUIRE); in __rte_rcu_qsbr_check_selective() 531 while (bmap) { in __rte_rcu_qsbr_check_selective() 532 j = __builtin_ctzl(bmap); in __rte_rcu_qsbr_check_selective() 535 __func__, t, wait, bmap, id + j); in __rte_rcu_qsbr_check_selective() 556 bmap = __atomic_load_n(reg_thread_id, in __rte_rcu_qsbr_check_selective() 569 bmap &= ~(1UL << j); in __rte_rcu_qsbr_check_selective()
|
| /dpdk/drivers/net/cxgbe/ |
| H A D | cxgbe_filter.h | 209 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()
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_npc_mcam.c | 135 npc_construct_ldata_mask(struct npc *npc, struct plt_bitmap *bmap, uint8_t lid, in npc_construct_ldata_mask() argument 153 plt_bitmap_set(bmap, i); in npc_construct_ldata_mask() 168 plt_bitmap_set(bmap, i); in npc_construct_ldata_mask() 192 struct plt_bitmap *bmap; in npc_is_kex_enabled() local 206 bmap = plt_bitmap_init(300 * 8, mem, bmap_sz); in npc_is_kex_enabled() 207 if (bmap == NULL) { in npc_is_kex_enabled() 213 npc_construct_ldata_mask(npc, bmap, lid, lt, 0); in npc_is_kex_enabled() 214 npc_construct_ldata_mask(npc, bmap, lid, lt, 1); in npc_is_kex_enabled() 217 if (plt_bitmap_get(bmap, i) != 0x1) { in npc_is_kex_enabled()
|
| H A D | roc_nix_inl_dev.c | 750 struct plt_bitmap *bmap; in nix_inl_outb_poll_thread_setup() local 768 bmap = plt_bitmap_init(ROC_NIX_INL_MAX_SOFT_EXP_RNGS, mem, bmap_sz); in nix_inl_outb_poll_thread_setup() 769 if (!bmap) { in nix_inl_outb_poll_thread_setup() 777 inl_dev->soft_exp_ring_bmap = bmap; in nix_inl_outb_poll_thread_setup()
|
| H A D | roc_npc.c | 767 struct plt_bitmap *bmap = npc->rss_grp_entries; in npc_rss_free_grp_get() local 770 if (!plt_bitmap_get(bmap, *pos)) in npc_rss_free_grp_get()
|
| /dpdk/drivers/net/cnxk/ |
| H A D | cnxk_ethdev.c | 98 struct plt_bitmap *bmap; in nix_security_setup() local 143 bmap = plt_bitmap_init(dev->outb.max_sa, mem, bmap_sz); in nix_security_setup() 144 if (!bmap) { in nix_security_setup() 153 plt_bitmap_set(bmap, i); in nix_security_setup() 157 dev->outb.sa_bmap = bmap; in nix_security_setup()
|