Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/rcu/
Dsrcutree.c129 WARN_ON_ONCE(ARRAY_SIZE(sdp->srcu_lock_count) != in init_srcu_struct_nodes()
155 for (i = 0; i < ARRAY_SIZE(sdp->srcu_lock_count); i++) { in init_srcu_struct_nodes()
156 sdp->srcu_lock_count[i] = 0; in init_srcu_struct_nodes()
255 sum += READ_ONCE(cpuc->srcu_lock_count[idx]); in srcu_readers_lock_idx()
341 sum += READ_ONCE(cpuc->srcu_lock_count[0]); in srcu_readers_active()
342 sum += READ_ONCE(cpuc->srcu_lock_count[1]); in srcu_readers_active()
408 this_cpu_inc(ssp->sda->srcu_lock_count[idx]); in __srcu_read_lock()
1280 l0 = data_race(sdp->srcu_lock_count[!idx]); in srcu_torture_stats_print()
1281 l1 = data_race(sdp->srcu_lock_count[idx]); in srcu_torture_stats_print()
/Linux-v5.10/include/linux/
Dsrcutree.h26 unsigned long srcu_lock_count[2]; /* Locks per CPU. */ member