Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/
H A 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;
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A 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);
H A 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()
H A 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()
H A Dlinked_list_fail.c582 struct bpf_list_head head __contains(foo, node2); in pop_ptr_off()
/openbmc/linux/kernel/bpf/
H A Dhelpers.c1906 BUILD_BUG_ON(sizeof(struct list_head) > sizeof(struct bpf_list_head)); in bpf_list_head_free()
1907 BUILD_BUG_ON(__alignof__(struct list_head) > __alignof__(struct bpf_list_head)); in bpf_list_head_free()
2041 struct bpf_list_head *head, in __bpf_list_add()
2067 __bpf_kfunc int bpf_list_push_front_impl(struct bpf_list_head *head, in bpf_list_push_front_impl()
2077 __bpf_kfunc int bpf_list_push_back_impl(struct bpf_list_head *head, in bpf_list_push_back_impl()
2087 static struct bpf_list_node *__bpf_list_del(struct bpf_list_head *head, bool tail) in __bpf_list_del()
2110 __bpf_kfunc struct bpf_list_node *bpf_list_pop_front(struct bpf_list_head *head) in bpf_list_pop_front()
2115 __bpf_kfunc struct bpf_list_node *bpf_list_pop_back(struct bpf_list_head *head) in bpf_list_pop_back()
H A Dverifier.c10561 BTF_ID(struct, bpf_list_head) in BTF_ID()
/openbmc/linux/include/linux/
H A Dbpf.h342 return sizeof(struct bpf_list_head); in btf_field_type_size()
368 return __alignof__(struct bpf_list_head); in btf_field_type_align()
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h7160 struct bpf_list_head { struct
/openbmc/linux/include/uapi/linux/
H A Dbpf.h7157 struct bpf_list_head { struct