Home
last modified time | relevance | path

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

/dpdk/lib/rcu/
H A Drte_rcu_qsbr.c85 uint64_t old_bmap, new_bmap; in rte_rcu_qsbr_thread_register() local
105 old_bmap = __atomic_load_n(__RTE_QSBR_THRID_ARRAY_ELM(v, i), in rte_rcu_qsbr_thread_register()
107 if (old_bmap & 1UL << id) in rte_rcu_qsbr_thread_register()
111 new_bmap = old_bmap | (1UL << id); in rte_rcu_qsbr_thread_register()
114 &old_bmap, &new_bmap, 0, in rte_rcu_qsbr_thread_register()
120 else if (old_bmap & (1UL << id)) in rte_rcu_qsbr_thread_register()
137 uint64_t old_bmap, new_bmap; in rte_rcu_qsbr_thread_unregister() local
159 if (!(old_bmap & (1UL << id))) in rte_rcu_qsbr_thread_unregister()
163 new_bmap = old_bmap & ~(1UL << id); in rte_rcu_qsbr_thread_unregister()
170 &old_bmap, &new_bmap, 0, in rte_rcu_qsbr_thread_unregister()
[all …]