Lines Matching +full:a +full:- +full:side
1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Sleepable Read-Copy Update mechanism for mutual exclusion
11 * For detailed explanation of Read-Copy Update mechanism see -
76 * srcu_read_lock_held - might we be in SRCU read-side critical section?
80 * read-side critical section. In absence of CONFIG_DEBUG_LOCK_ALLOC,
81 * this assumes we are in an SRCU read-side critical section unless it can
95 return lock_is_held(&ssp->dep_map); in srcu_read_lock_held()
108 * srcu_dereference_check - fetch SRCU-protected pointer for later dereferencing
111 * really are in an SRCU read-side critical section.
112 * @c: condition to check for update-side use
114 * If PROVE_RCU is enabled, invoking this outside of an RCU read-side
115 * critical section will result in an RCU-lockdep splat, unless @c evaluates
116 * to 1. The @c argument will normally be a logical expression containing
124 * srcu_dereference - fetch SRCU-protected pointer for later dereferencing
127 * really are in an SRCU read-side critical section.
130 * is enabled, invoking this outside of an RCU read-side critical
131 * section will result in an RCU-lockdep splat.
136 * srcu_dereference_notrace - no tracing and no lockdep calls from here
139 * really are in an SRCU read-side critical section.
144 * srcu_read_lock - register a new reader for an SRCU-protected structure.
147 * Enter an SRCU read-side critical section. Note that SRCU read-side
152 * a mutex that is held elsewhere while calling synchronize_srcu() or
165 rcu_lock_acquire(&(ssp)->dep_map); in srcu_read_lock()
180 * srcu_read_unlock - unregister a old reader from an SRCU-protected structure.
184 * Exit an SRCU read-side critical section.
190 rcu_lock_release(&(ssp)->dep_map); in srcu_read_unlock()
202 * smp_mb__after_srcu_read_unlock - ensure full ordering after srcu_read_unlock
204 * Converts the preceding srcu_read_unlock into a two-way memory barrier.