Home
last modified time | relevance | path

Searched refs:bpf_list_head (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.6/tools/testing/selftests/bpf/
Dbpf_experimental.h65 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-v6.6/tools/testing/selftests/bpf/progs/
Dlinked_list.h16 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);
Dlinked_list.c15 int list_push_pop(struct bpf_spin_lock *lock, struct bpf_list_head *head, bool leave_in_map) 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()
178 int list_in_list(struct bpf_spin_lock *lock, struct bpf_list_head *head, bool leave_in_map) 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()
259 int test_list_push_pop_multiple(struct bpf_spin_lock *lock, struct bpf_list_head *head) 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()
Drefcounted_kptr.c43 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()
Dlinked_list_fail.c582 struct bpf_list_head head __contains(foo, node2); in pop_ptr_off()
/Linux-v6.6/kernel/bpf/
Dhelpers.c1817 BUILD_BUG_ON(sizeof(struct list_head) > sizeof(struct bpf_list_head)); in bpf_list_head_free()
1818 BUILD_BUG_ON(__alignof__(struct list_head) > __alignof__(struct bpf_list_head)); in bpf_list_head_free()
1952 struct bpf_list_head *head, in __bpf_list_add()
1978 __bpf_kfunc int bpf_list_push_front_impl(struct bpf_list_head *head, in bpf_list_push_front_impl()
1988 __bpf_kfunc int bpf_list_push_back_impl(struct bpf_list_head *head, in bpf_list_push_back_impl()
1998 static struct bpf_list_node *__bpf_list_del(struct bpf_list_head *head, bool tail) in __bpf_list_del()
2021 __bpf_kfunc struct bpf_list_node *bpf_list_pop_front(struct bpf_list_head *head) in bpf_list_pop_front()
2026 __bpf_kfunc struct bpf_list_node *bpf_list_pop_back(struct bpf_list_head *head) in bpf_list_pop_back()
Dverifier.c10134 BTF_ID(struct, bpf_list_head) in BTF_ID()
/Linux-v6.6/include/linux/
Dbpf.h330 return sizeof(struct bpf_list_head); in btf_field_type_size()
356 return __alignof__(struct bpf_list_head); in btf_field_type_align()
/Linux-v6.6/tools/include/uapi/linux/
Dbpf.h7123 struct bpf_list_head { struct
/Linux-v6.6/include/uapi/linux/
Dbpf.h7123 struct bpf_list_head { struct