Lines Matching +full:side +full:- +full:by +full:- +full:side
1 .. SPDX-License-Identifier: GPL-2.0
8 aware of when each task enters and leaves any flavor of RCU read-side
18 rcu_read_lock_bh_held() for RCU-bh.
19 rcu_read_lock_sched_held() for RCU-sched.
31 Check for RCU read-side critical section.
33 Check for RCU-bh read-side critical section.
35 Check for RCU-sched read-side critical section.
37 Check for SRCU read-side critical section.
41 invoked by both RCU readers and updaters.
45 is invoked by both RCU-bh readers and updaters.
49 is invoked by both RCU-sched readers and updaters.
53 is invoked by both SRCU readers and updaters.
60 invoked only by updaters.
72 file = rcu_dereference_check(fdt->fd[fd],
73 lockdep_is_held(&files->file_lock) ||
74 atomic_read(&files->count) == 1);
76 This expression picks up the pointer "fdt->fd[fd]" in an RCU-safe manner,
80 1. An RCU read-side critical section (implicit), or
81 2. with files->file_lock held, or
84 In case (1), the pointer is picked up in an RCU-safe manner for vanilla
85 RCU read-side critical sections, in case (2) the ->file_lock prevents
91 file = rcu_dereference_protected(fdt->fd[fd],
92 lockdep_is_held(&files->file_lock) ||
93 atomic_read(&files->count) == 1);
96 complain if this was used in an RCU read-side critical section unless one
100 to use rcu_dereference_protected() if either the RCU-protected pointer
101 or the RCU-protected data that it points to can change concurrently.
104 traversal primitives check for being called from within an RCU read-side
108 false and they are called from outside any RCU read-side critical section.
111 either within an RCU read-side critical section or with wq->mutex held.
115 list_for_each_entry_rcu((pwq), &(wq)->pwqs, pwqs_node,
116 lock_is_held(&(wq->mutex).dep_map))