Lines Matching refs:lock
41 private(A) struct bpf_spin_lock lock; variable
75 struct bpf_spin_lock *lock) in __insert_in_tree_and_list() argument
87 bpf_spin_lock(lock); in __insert_in_tree_and_list()
90 bpf_spin_unlock(lock); in __insert_in_tree_and_list()
94 bpf_spin_unlock(lock); in __insert_in_tree_and_list()
96 bpf_spin_lock(lock); in __insert_in_tree_and_list()
99 bpf_spin_unlock(lock); in __insert_in_tree_and_list()
102 bpf_spin_unlock(lock); in __insert_in_tree_and_list()
107 struct bpf_spin_lock *lock) in __stash_map_insert_tree() argument
130 bpf_spin_lock(lock); in __stash_map_insert_tree()
133 bpf_spin_unlock(lock); in __stash_map_insert_tree()
136 bpf_spin_unlock(lock); in __stash_map_insert_tree()
141 struct bpf_spin_lock *lock, in __read_from_tree() argument
148 bpf_spin_lock(lock); in __read_from_tree()
152 bpf_spin_unlock(lock); in __read_from_tree()
160 bpf_spin_unlock(lock); in __read_from_tree()
165 bpf_spin_unlock(lock); in __read_from_tree()
174 struct bpf_spin_lock *lock, in __read_from_list() argument
181 bpf_spin_lock(lock); in __read_from_list()
185 bpf_spin_unlock(lock); in __read_from_list()
194 bpf_spin_unlock(lock); in __read_from_list()
199 bpf_spin_unlock(lock); in __read_from_list()
233 err = __insert_in_tree_and_list(&head, &root, &lock); \
237 err = __read_from_tree(&root, &lock, rem_tree); \
243 err = __read_from_list(&head, &lock, rem_list); \
272 err = __insert_in_tree_and_list(&head, &root, &lock); \
276 err = __read_from_list(&head, &lock, rem_list); \
282 err = __read_from_tree(&root, &lock, rem_tree); \
310 err = __insert_in_tree_and_list(&head, &root, &lock); \
314 err = read_fn(&read_root, &lock, true); \
320 err = read_fn(&read_root, &lock, true); \
343 err = __stash_map_insert_tree(0, 42, &root, &lock); \
347 err = __read_from_tree(&root, &lock, rem_tree); \
489 bpf_spin_lock(&lock); in rbtree_wrong_owner_remove_fail_a2()
495 bpf_spin_unlock(&lock); in rbtree_wrong_owner_remove_fail_a2()
517 bpf_spin_lock(&lock); in BPF_PROG()
530 bpf_spin_unlock(&lock); in BPF_PROG()
551 bpf_spin_lock(&lock); in BPF_PROG()
564 bpf_spin_unlock(&lock); in BPF_PROG()