Searched refs:bpf_list_head (Results 1 – 13 of 13) sorted by relevance
| /linux-6.15/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_ma… 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()
|
| 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()
|
| H A D | linked_list_fail.c | 582 struct bpf_list_head head __contains(foo, node2); in pop_ptr_off()
|
| /linux-6.15/tools/testing/selftests/bpf/ |
| H A D | bpf_experimental.h | 65 extern int bpf_list_push_front_impl(struct bpf_list_head *head, 81 extern int bpf_list_push_back_impl(struct bpf_list_head *head, 93 extern struct bpf_list_node *bpf_list_pop_front(struct bpf_list_head *head) __ksym; 100 extern struct bpf_list_node *bpf_list_pop_back(struct bpf_list_head *head) __ksym;
|
| /linux-6.15/tools/sched_ext/include/scx/ |
| H A D | common.bpf.h | 291 int bpf_list_push_front_impl(struct bpf_list_head *head, 296 int bpf_list_push_back_impl(struct bpf_list_head *head, 301 struct bpf_list_node *bpf_list_pop_front(struct bpf_list_head *head) __ksym; 302 struct bpf_list_node *bpf_list_pop_back(struct bpf_list_head *head) __ksym;
|
| /linux-6.15/kernel/bpf/ |
| H A D | helpers.c | 2071 BUILD_BUG_ON(sizeof(struct list_head) > sizeof(struct bpf_list_head)); in bpf_list_head_free() 2072 BUILD_BUG_ON(__alignof__(struct list_head) > __alignof__(struct bpf_list_head)); in bpf_list_head_free() 2217 struct bpf_list_head *head, in __bpf_list_add() 2243 __bpf_kfunc int bpf_list_push_front_impl(struct bpf_list_head *head, in bpf_list_push_front_impl() 2253 __bpf_kfunc int bpf_list_push_back_impl(struct bpf_list_head *head, in bpf_list_push_back_impl() 2263 static struct bpf_list_node *__bpf_list_del(struct bpf_list_head *head, bool tail) in __bpf_list_del() 2286 __bpf_kfunc struct bpf_list_node *bpf_list_pop_front(struct bpf_list_head *head) in bpf_list_pop_front() 2291 __bpf_kfunc struct bpf_list_node *bpf_list_pop_back(struct bpf_list_head *head) in bpf_list_pop_back()
|
| H A D | verifier.c | 11931 BTF_ID(struct, bpf_list_head) in BTF_ID()
|
| /linux-6.15/include/linux/ |
| H A D | bpf.h | 366 return sizeof(struct bpf_list_head); in btf_field_type_size() 398 return __alignof__(struct bpf_list_head); in btf_field_type_align()
|
| /linux-6.15/tools/include/uapi/linux/ |
| H A D | bpf.h | 7379 struct bpf_list_head { struct
|
| /linux-6.15/include/uapi/linux/ |
| H A D | bpf.h | 7379 struct bpf_list_head { struct
|