Searched refs:bpf_list_head (Results 1 - 12 of 12) sorted by relevance

/linux-master/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 Dnormal_map_btf.c16 struct bpf_list_head head __contains(node_data, node);
H A Dlinked_list.c15 int list_push_pop(struct bpf_spin_lock *lock, struct bpf_list_head *head, bool leave_in_map)
96 int list_push_pop_multiple(struct bpf_spin_lock *lock, struct bpf_list_head *head, bool leave_in_map)
178 int list_in_list(struct bpf_spin_lock *lock, struct bpf_list_head *head, bool leave_in_map)
248 int test_list_push_pop(struct bpf_spin_lock *lock, struct bpf_list_head *head)
259 int test_list_push_pop_multiple(struct bpf_spin_lock *lock, struct bpf_list_head *head)
270 int test_list_in_list(struct bpf_spin_lock *lock, struct bpf_list_head *head)
H A Dmap_in_map_btf.c16 struct bpf_list_head head __contains(node_data, node);
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,
173 static long __read_from_list(struct bpf_list_head *head,
H A Dlinked_list_fail.c582 struct bpf_list_head head __contains(foo, node2);
/linux-master/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;
/linux-master/kernel/bpf/
H A Dhelpers.c1833 BUILD_BUG_ON(sizeof(struct list_head) > sizeof(struct bpf_list_head));
1834 BUILD_BUG_ON(__alignof__(struct list_head) > __alignof__(struct bpf_list_head));
1856 * bpf_list_head which needs to be freed.
1983 struct bpf_list_head *head,
2009 __bpf_kfunc int bpf_list_push_front_impl(struct bpf_list_head *head,
2019 __bpf_kfunc int bpf_list_push_back_impl(struct bpf_list_head *head,
2029 static struct bpf_list_node *__bpf_list_del(struct bpf_list_head *head, bool tail)
2052 __bpf_kfunc struct bpf_list_node *bpf_list_pop_front(struct bpf_list_head *head)
2057 __bpf_kfunc struct bpf_list_node *bpf_list_pop_back(struct bpf_list_head *head)
H A Dverifier.c10846 BTF_ID(struct, bpf_list_head)
11275 * special BPF objects (bpf_list_head, bpf_rb_root, etc.) part of the same
11468 /* All functions require bpf_list_head to be protected using a bpf_spin_lock */
/linux-master/include/linux/
H A Dbpf.h321 return "bpf_list_head";
348 return sizeof(struct bpf_list_head);
375 return __alignof__(struct bpf_list_head);
/linux-master/include/uapi/linux/
H A Dbpf.h7290 struct bpf_list_head { struct
/linux-master/tools/include/uapi/linux/
H A Dbpf.h7290 struct bpf_list_head { struct

Completed in 422 milliseconds