Searched refs:bpf_list_head (Results 1 – 13 of 13) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | linked_list.c | 13 struct bpf_list_head head __contains(foo, node2); 22 private(C) struct bpf_list_head ghead_array[2] __contains(foo, node2); 23 private(C) struct bpf_list_head ghead_array_one[1] __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() 109 int list_push_pop_multiple(struct bpf_spin_lock *lock, struct bpf_list_head *head, bool leave_in_map) 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() 261 int test_list_push_pop(struct bpf_spin_lock *lock, struct bpf_list_head *head) 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() 283 int test_list_in_list(struct bpf_spin_lock *lock, struct bpf_list_head *head) in test_list_in_list() 296 int clear_list(struct bpf_spin_lock *lock, struct bpf_list_head *hea in map_list_push_pop() [all...] |
| H A D | linked_list.h | 16 struct bpf_list_head head __contains(bar, node); 25 struct bpf_list_head head __contains(foo, node2); 53 private(A) struct bpf_list_head ghead __contains(foo, node2);
|
| H A D | normal_map_btf.c | 16 struct bpf_list_head head __contains(node_data, node);
|
| H A D | map_in_map_btf.c | 16 struct bpf_list_head head __contains(node_data, node);
|
| H A D | refcounted_kptr.c | 43 private(A) struct bpf_list_head head __contains(node_data, l); 73 static long __insert_in_tree_and_list(struct bpf_list_head *head, in __insert_in_tree_and_list() 173 static long __read_from_list(struct bpf_list_head *head, in __read_from_list() 399 static struct node_data *__add_in_list(struct bpf_list_head *head, in rbtree_refcounted_node_ref_escapes_owning_input() 710 struct bpf_list_head head __contains(node_data, l); 745 __failure __msg("bpf_spin_lock at off=32 must be held for bpf_list_head") 766 __failure __msg("bpf_spin_lock at off=32 must be held for bpf_list_head") 1002 static int __insert_in_list(struct bpf_list_head *head, struct bpf_spin_lock *lock,
|
| H A D | refcounted_kptr_fail.c | 29 private(B) struct bpf_list_head head __contains(node_refcounted, list);
|
| H A D | linked_list_fail.c | 604 struct bpf_list_head head __contains(foo, node2); in pop_ptr_off()
|
| /linux/kernel/bpf/ |
| H A D | helpers.c | 2252 BUILD_BUG_ON(sizeof(struct list_head) > sizeof(struct bpf_list_head)); in bpf_list_head_free() 2253 BUILD_BUG_ON(__alignof__(struct list_head) > __alignof__(struct bpf_list_head)); in bpf_list_head_free() 2487 struct bpf_list_head *head, in __bpf_list_add() 2539 __bpf_kfunc int bpf_list_push_front(struct bpf_list_head *head, in bpf_list_push_front() 2550 __bpf_kfunc int bpf_list_push_front_impl(struct bpf_list_head *head, in bpf_list_push_front_impl() 2569 __bpf_kfunc int bpf_list_push_back(struct bpf_list_head *head, in bpf_list_push_back() 2580 __bpf_kfunc int bpf_list_push_back_impl(struct bpf_list_head *head, in bpf_list_push_back_impl() 2587 __bpf_kfunc int bpf_list_add(struct bpf_list_head *head, struct bpf_list_node *new, in bpf_list_add() 2597 static struct bpf_list_node *__bpf_list_del(struct bpf_list_head *head, in __bpf_list_del() 2623 __bpf_kfunc struct bpf_list_node *bpf_list_pop_front(struct bpf_list_head *head) in bpf_list_pop_front() [all …]
|
| H A D | verifier.c | 11394 BTF_ID(struct, bpf_list_head) in BTF_ID()
|
| /linux/tools/sched_ext/include/scx/ |
| H A D | common.bpf.h | 389 int bpf_list_push_front_impl(struct bpf_list_head *head, 394 int bpf_list_push_back_impl(struct bpf_list_head *head, 399 struct bpf_list_node *bpf_list_pop_front(struct bpf_list_head *head) __ksym; 400 struct bpf_list_node *bpf_list_pop_back(struct bpf_list_head *head) __ksym;
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 7611 struct bpf_list_head { struct
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 7611 struct bpf_list_head { struct
|
| /linux/include/linux/ |
| H A D | bpf.h | 405 return sizeof(struct bpf_list_head); in btf_field_type_size() 439 return __alignof__(struct bpf_list_head); in btf_field_type_align()
|