Lines Matching refs:lock
15 int list_push_pop(struct bpf_spin_lock *lock, struct bpf_list_head *head, bool leave_in_map) in list_push_pop() argument
24 bpf_spin_lock(lock); in list_push_pop()
26 bpf_spin_unlock(lock); in list_push_pop()
33 bpf_spin_lock(lock); in list_push_pop()
35 bpf_spin_unlock(lock); in list_push_pop()
43 bpf_spin_lock(lock); in list_push_pop()
46 bpf_spin_unlock(lock); in list_push_pop()
49 bpf_spin_lock(lock); in list_push_pop()
51 bpf_spin_unlock(lock); in list_push_pop()
60 bpf_spin_lock(lock); in list_push_pop()
63 bpf_spin_unlock(lock); in list_push_pop()
64 bpf_spin_lock(lock); in list_push_pop()
66 bpf_spin_unlock(lock); in list_push_pop()
76 bpf_spin_lock(lock); in list_push_pop()
78 bpf_spin_unlock(lock); in list_push_pop()
84 bpf_spin_lock(lock); in list_push_pop()
86 bpf_spin_unlock(lock); in list_push_pop()
96 int list_push_pop_multiple(struct bpf_spin_lock *lock, struct bpf_list_head *head, bool leave_in_ma… in list_push_pop_multiple() argument
121 bpf_spin_lock(lock); in list_push_pop_multiple()
124 bpf_spin_unlock(lock); in list_push_pop_multiple()
128 bpf_spin_lock(lock); in list_push_pop_multiple()
130 bpf_spin_unlock(lock); in list_push_pop_multiple()
138 bpf_spin_lock(lock); in list_push_pop_multiple()
140 bpf_spin_unlock(lock); in list_push_pop_multiple()
147 bpf_spin_lock(lock); in list_push_pop_multiple()
149 bpf_spin_unlock(lock); in list_push_pop_multiple()
159 bpf_spin_lock(lock); in list_push_pop_multiple()
161 bpf_spin_unlock(lock); in list_push_pop_multiple()
167 bpf_spin_lock(lock); in list_push_pop_multiple()
169 bpf_spin_unlock(lock); in list_push_pop_multiple()
178 int list_in_list(struct bpf_spin_lock *lock, struct bpf_list_head *head, bool leave_in_map) in list_in_list() argument
195 bpf_spin_lock(&f->lock); in list_in_list()
197 bpf_spin_unlock(&f->lock); in list_in_list()
200 bpf_spin_lock(lock); in list_in_list()
203 bpf_spin_unlock(lock); in list_in_list()
208 bpf_spin_lock(lock); in list_in_list()
210 bpf_spin_unlock(lock); in list_in_list()
220 bpf_spin_lock(&f->lock); in list_in_list()
222 bpf_spin_unlock(&f->lock); in list_in_list()
235 bpf_spin_lock(&f->lock); in list_in_list()
237 bpf_spin_unlock(&f->lock); in list_in_list()
248 int test_list_push_pop(struct bpf_spin_lock *lock, struct bpf_list_head *head) in test_list_push_pop() argument
252 ret = list_push_pop(lock, head, false); in test_list_push_pop()
255 return list_push_pop(lock, head, true); in test_list_push_pop()
259 int test_list_push_pop_multiple(struct bpf_spin_lock *lock, struct bpf_list_head *head) in test_list_push_pop_multiple() argument
263 ret = list_push_pop_multiple(lock, head, false); in test_list_push_pop_multiple()
266 return list_push_pop_multiple(lock, head, true); in test_list_push_pop_multiple()
270 int test_list_in_list(struct bpf_spin_lock *lock, struct bpf_list_head *head) in test_list_in_list() argument
274 ret = list_in_list(lock, head, false); in test_list_in_list()
277 return list_in_list(lock, head, true); in test_list_in_list()
288 return test_list_push_pop(&v->lock, &v->head); in map_list_push_pop()
303 return test_list_push_pop(&v->lock, &v->head); in inner_map_list_push_pop()
320 return test_list_push_pop_multiple(&v->lock, &v->head); in map_list_push_pop_multiple()
335 return test_list_push_pop_multiple(&v->lock, &v->head); in inner_map_list_push_pop_multiple()
357 return test_list_in_list(&v->lock, &v->head); in map_list_in_list()
372 return test_list_in_list(&v->lock, &v->head); in inner_map_list_in_list()