Lines Matching refs:head

13 	struct bpf_list_head head __contains(foo, node2);
28 int list_push_pop(struct bpf_spin_lock *lock, struct bpf_list_head *head, bool leave_in_map) in list_push_pop() argument
38 n = bpf_list_pop_front(head); in list_push_pop()
47 n = bpf_list_pop_back(head); in list_push_pop()
58 bpf_list_push_front(head, &f->node2); in list_push_pop()
63 n = bpf_list_pop_back(head); in list_push_pop()
75 bpf_list_push_front(head, &f->node2); in list_push_pop()
78 n = bpf_list_pop_front(head); in list_push_pop()
90 n = bpf_list_pop_front(head); in list_push_pop()
98 n = bpf_list_pop_back(head); in list_push_pop()
109 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
135 bpf_list_push_front(head, &f[i]->node2); in list_push_pop_multiple()
136 bpf_list_push_front(head, &f[i + 1]->node2); in list_push_pop_multiple()
142 n = bpf_list_pop_front(head); in list_push_pop_multiple()
152 bpf_list_push_back(head, &pf->node2); in list_push_pop_multiple()
161 n = bpf_list_pop_back(head); in list_push_pop_multiple()
173 n = bpf_list_pop_back(head); in list_push_pop_multiple()
181 n = bpf_list_pop_front(head); in list_push_pop_multiple()
191 int list_in_list(struct bpf_spin_lock *lock, struct bpf_list_head *head, bool leave_in_map) in list_in_list() argument
209 bpf_list_push_back(&f->head, &b->node); in list_in_list()
215 bpf_list_push_front(head, &f->node2); in list_in_list()
222 n = bpf_list_pop_front(head); in list_in_list()
234 n = bpf_list_pop_front(&f->head); in list_in_list()
249 n = bpf_list_pop_front(&f->head); in list_in_list()
261 int test_list_push_pop(struct bpf_spin_lock *lock, struct bpf_list_head *head) in test_list_push_pop() argument
265 ret = list_push_pop(lock, head, false); in test_list_push_pop()
268 return list_push_pop(lock, head, true); in test_list_push_pop()
272 int test_list_push_pop_multiple(struct bpf_spin_lock *lock, struct bpf_list_head *head) in test_list_push_pop_multiple() argument
276 ret = list_push_pop_multiple(lock, head, false); in test_list_push_pop_multiple()
279 return list_push_pop_multiple(lock, head, true); in test_list_push_pop_multiple()
283 int test_list_in_list(struct bpf_spin_lock *lock, struct bpf_list_head *head) in test_list_in_list() argument
287 ret = list_in_list(lock, head, false); in test_list_in_list()
290 return list_in_list(lock, head, true); in test_list_in_list()
301 return test_list_push_pop(&v->lock, &v->head); in map_list_push_pop()
316 return test_list_push_pop(&v->lock, &v->head); in inner_map_list_push_pop()
328 return test_list_push_pop(&ghead_nested.inner.lock, &ghead_nested.inner.head); in global_list_push_pop_nested()
359 return test_list_push_pop_multiple(&v->lock, &v->head); in map_list_push_pop_multiple()
374 return test_list_push_pop_multiple(&v->lock, &v->head); in inner_map_list_push_pop_multiple()
396 return test_list_in_list(&v->lock, &v->head); in map_list_in_list()
411 return test_list_in_list(&v->lock, &v->head); in inner_map_list_in_list()