Lines Matching +full:side +full:- +full:by +full:- +full:side
1 // SPDX-License-Identifier: GPL-2.0
9 /// Evidence that the RCU read side lock is held on the current thread/CPU.
11 /// The type is explicitly not `Send` because this property is per-thread/CPU.
15 /// The RCU read side lock is actually held while instances of this guard exist.
19 /// Acquires the RCU read side lock and returns a guard.
20 pub fn new() -> Self { in new()
23 // INVARIANT: The RCU read side lock was just acquired above. in new()
27 /// Explicitly releases the RCU read side lock.
32 fn default() -> Self { in default()
39 // SAFETY: By the type invariants, the RCU read side is locked, so it is ok to unlock it. in drop()
44 /// Acquires the RCU read side lock.
45 pub fn read_lock() -> Guard { in read_lock()