Home
last modified time | relevance | path

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

/openbmc/linux/kernel/rcu/
H A Dtree_nocb.h1200 mutex_lock(&rcu_state.barrier_mutex); in rcu_nocb_cpu_deoffload()
1211 mutex_unlock(&rcu_state.barrier_mutex); in rcu_nocb_cpu_deoffload()
1285 mutex_lock(&rcu_state.barrier_mutex); in rcu_nocb_cpu_offload()
1296 mutex_unlock(&rcu_state.barrier_mutex); in rcu_nocb_cpu_offload()
1314 if (!mutex_trylock(&rcu_state.barrier_mutex)) in lazy_rcu_shrink_count()
1324 mutex_unlock(&rcu_state.barrier_mutex); in lazy_rcu_shrink_count()
1342 if (!mutex_trylock(&rcu_state.barrier_mutex)) { in lazy_rcu_shrink_scan()
1383 mutex_unlock(&rcu_state.barrier_mutex); in lazy_rcu_shrink_scan()
1519 mutex_lock(&rcu_state.barrier_mutex); in rcu_spawn_cpu_nocb_kthread()
1524 mutex_unlock(&rcu_state.barrier_mutex); in rcu_spawn_cpu_nocb_kthread()
H A Dtree.h354 struct mutex barrier_mutex; /* Guards barrier fields. */ member
H A Dtree.c89 .barrier_mutex = __MUTEX_INITIALIZER(rcu_state.barrier_mutex),
4081 mutex_lock(&rcu_state.barrier_mutex); in rcu_barrier()
4087 mutex_unlock(&rcu_state.barrier_mutex); in rcu_barrier()
4162 mutex_unlock(&rcu_state.barrier_mutex); in rcu_barrier()
H A Dtree_plugin.h28 !(lockdep_is_held(&rcu_state.barrier_mutex) || in rcu_rdp_is_offloaded()