Lines Matching +full:non +full:- +full:empty

1 // SPDX-License-Identifier: GPL-2.0+
9 * "Frightening small children and disconcerting grown-ups: Concurrency
14 "Linux-kernel memory consistency model"
19 'noreturn (* R of non-return RMW *)
28 'rcu-lock (*rcu_read_lock*) ||
29 'rcu-unlock (*rcu_read_unlock*) ||
30 'sync-rcu (*synchronize_rcu*) ||
31 'before-atomic (*smp_mb__before_atomic*) ||
32 'after-atomic (*smp_mb__after_atomic*) ||
33 'after-spinlock (*smp_mb__after_spinlock*) ||
34 'after-unlock-lock (*smp_mb__after_unlock_lock*)
38 enum SRCU = 'srcu-lock || 'srcu-unlock || 'sync-srcu
41 let Srcu = Srcu-lock | Srcu-unlock | Sync-srcu
43 (* Compute matching pairs of nested Rcu-lock and Rcu-unlock *)
44 let rcu-rscs = let rec
45 unmatched-locks = Rcu-lock \ domain(matched)
46 and unmatched-unlocks = Rcu-unlock \ range(matched)
47 and unmatched = unmatched-locks | unmatched-unlocks
48 and unmatched-po = [unmatched] ; po ; [unmatched]
49 and unmatched-locks-to-unlocks =
50 [unmatched-locks] ; po ; [unmatched-unlocks]
51 and matched = matched | (unmatched-locks-to-unlocks \
52 (unmatched-po ; unmatched-po))
56 flag ~empty Rcu-lock \ domain(rcu-rscs) as unbalanced-rcu-locking
57 flag ~empty Rcu-unlock \ range(rcu-rscs) as unbalanced-rcu-locking
59 (* Compute matching pairs of nested Srcu-lock and Srcu-unlock *)
60 let srcu-rscs = let rec
61 unmatched-locks = Srcu-lock \ domain(matched)
62 and unmatched-unlocks = Srcu-unlock \ range(matched)
63 and unmatched = unmatched-locks | unmatched-unlocks
64 and unmatched-po = ([unmatched] ; po ; [unmatched]) & loc
65 and unmatched-locks-to-unlocks =
66 ([unmatched-locks] ; po ; [unmatched-unlocks]) & loc
67 and matched = matched | (unmatched-locks-to-unlocks \
68 (unmatched-po ; unmatched-po))
72 flag ~empty Srcu-lock \ domain(srcu-rscs) as unbalanced-srcu-locking
73 flag ~empty Srcu-unlock \ range(srcu-rscs) as unbalanced-srcu-locking
76 flag ~empty rcu-rscs & (po ; [Sync-srcu] ; po) as invalid-sleep
79 flag ~empty different-values(srcu-rscs) as srcu-bad-nesting