Lines Matching refs:rcu_dereference

3 PROPER CARE AND FEEDING OF RETURN VALUES FROM rcu_dereference()
6 Most of the time, you can use values from rcu_dereference() or one of
14 - You must use one of the rcu_dereference() family of primitives
18 Without one of the rcu_dereference() primitives, compilers
20 different values for a single pointer! Without rcu_dereference(),
26 In addition, the volatile cast in rcu_dereference() prevents the
34 instead of rcu_dereference(). In this case, use of READ_ONCE()
38 - You are only permitted to use rcu_dereference() on pointer values.
59 subsequent accesses no longer depend on the rcu_dereference(),
62 Of course, if "p" is a pointer from rcu_dereference(), and "a"
65 the rcu_dereference(), thus maintaining proper ordering.
69 (directly or indirectly) from rcu_dereference(), you may need to
83 p = rcu_dereference(gp)
95 rcu_dereference() against non-NULL values. As Linus Torvalds
98 obtained from rcu_dereference(). For example::
100 p = rcu_dereference(gp);
108 p = rcu_dereference(gp);
114 rcu_dereference(). This could result in bugs due to misordering.
122 it is safe to compare pointers from rcu_dereference()
135 used in place of rcu_dereference(). In most cases,
168 rcu_dereference(). In this case, both pointers depend
169 on one rcu_dereference() or another, so you get proper
186 pointer. Note that the volatile cast in rcu_dereference()
245 p = rcu_dereference(gp2);
249 q = rcu_dereference(gp1); /* Guaranteed non-NULL. */
306 p = rcu_dereference(gp2);
311 q = rcu_dereference(gp1); /* Guaranteed non-NULL. */
331 If a pointer obtained from rcu_dereference() compares not-equal to some
335 guarantees that RCU depends on. And the volatile cast in rcu_dereference()
338 But without rcu_dereference(), the compiler knows more than you might
380 In short, rcu_dereference() is *not* optional when you are going to
384 WHICH MEMBER OF THE rcu_dereference() FAMILY SHOULD YOU USE?
391 member of the rcu_dereference() to use in various situations:
394 section, use rcu_dereference(). With the new consolidated
470 p = rcu_dereference(q->rcu_protected_pointer);
479 if a pointer not marked with "__rcu" is accessed using rcu_dereference()