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

/linux-master/include/linux/
H A Dsrcutree.h26 atomic_long_t srcu_lock_count[2]; /* Locks per CPU. */ member in struct:srcu_data
/linux-master/kernel/rcu/
H A Dsrcutree.c120 * is set, don't initialize ->srcu_lock_count[] and ->srcu_unlock_count[].
131 WARN_ON_ONCE(ARRAY_SIZE(sdp->srcu_lock_count) !=
420 * Returns approximate total of the readers' ->srcu_lock_count[] values
431 sum += atomic_long_read(&cpuc->srcu_lock_count[idx]);
486 * ->srcu_lock_count[idx] counter. In fact, it is possible
488 * ->srcu_idx and incrementing ->srcu_lock_count[idx]. And there
499 * increment the old ->srcu_idx value's ->srcu_lock_count[idx]
504 * to index its increment of ->srcu_lock_count[idx]. But as soon as
515 * ->srcu_lock_count[idx] for the old value of ->srcu_idx twice,
523 * ->srcu_lock_count[id
[all...]

Completed in 144 milliseconds