Searched refs:bpf_rb_node (Results 1 - 15 of 15) sorted by relevance

/linux-master/tools/testing/selftests/bpf/progs/
H A Drbtree_btf_fail__add_wrong_type.c13 struct bpf_rb_node node;
18 struct bpf_rb_node node;
22 static bool less2(struct bpf_rb_node *a, const struct bpf_rb_node *b)
H A Drbtree_fail.c12 struct bpf_rb_node node;
20 static bool less(struct bpf_rb_node *a, const struct bpf_rb_node *b)
76 struct bpf_rb_node *res;
111 struct bpf_rb_node *res;
158 struct bpf_rb_node *res;
208 struct bpf_rb_node *res;
230 static bool less__bad_fn_call_add(struct bpf_rb_node *a, const struct bpf_rb_node *b)
242 static bool less__bad_fn_call_remove(struct bpf_rb_node *
[all...]
H A Drefcounted_kptr_fail.c12 struct bpf_rb_node node;
23 static bool less(struct bpf_rb_node *a, const struct bpf_rb_node *b)
H A Dlocal_kptr_stash.c14 struct bpf_rb_node node;
19 struct bpf_rb_node rb_node;
75 static bool less(struct bpf_rb_node *a, const struct bpf_rb_node *b)
H A Drbtree.c13 struct bpf_rb_node node;
24 static bool less(struct bpf_rb_node *a, const struct bpf_rb_node *b)
77 struct bpf_rb_node *res = NULL;
115 struct bpf_rb_node *res = NULL;
184 struct bpf_rb_node *res, *res2;
H A Drefcounted_kptr.c17 struct bpf_rb_node r;
36 struct bpf_rb_node node;
51 static bool less(struct bpf_rb_node *node_a, const struct bpf_rb_node *node_b)
62 static bool less_a(struct bpf_rb_node *a, const struct bpf_rb_node *b)
144 struct bpf_rb_node *rb;
478 struct bpf_rb_node *res;
509 struct bpf_rb_node *rb;
543 struct bpf_rb_node *r
[all...]
H A Dlocal_kptr_stash_fail.c14 struct bpf_rb_node node;
H A Dexceptions_fail.c15 struct bpf_rb_node node;
157 static bool rbless(struct bpf_rb_node *n1, const struct bpf_rb_node *n2)
/linux-master/tools/testing/selftests/bpf/
H A Dbpf_experimental.h107 extern struct bpf_rb_node *bpf_rbtree_remove(struct bpf_rb_root *root,
108 struct bpf_rb_node *node) __ksym;
119 extern int bpf_rbtree_add_impl(struct bpf_rb_root *root, struct bpf_rb_node *node,
120 bool (less)(struct bpf_rb_node *a, const struct bpf_rb_node *b),
132 extern struct bpf_rb_node *bpf_rbtree_first(struct bpf_rb_root *root) __ksym;
/linux-master/kernel/bpf/
H A Dhelpers.c2062 __bpf_kfunc struct bpf_rb_node *bpf_rbtree_remove(struct bpf_rb_root *root,
2063 struct bpf_rb_node *node)
2078 return (struct bpf_rb_node *)n;
2118 __bpf_kfunc int bpf_rbtree_add_impl(struct bpf_rb_root *root, struct bpf_rb_node *node,
2119 bool (less)(struct bpf_rb_node *a, const struct bpf_rb_node *b),
2128 __bpf_kfunc struct bpf_rb_node *bpf_rbtree_first(struct bpf_rb_root *root)
2132 return (struct bpf_rb_node *)rb_first_cached(r);
H A Dbtf.c3470 field_mask_test_name(BPF_RB_NODE, "bpf_rb_node");
3779 return btf_parse_graph_root(btf, field, info, "bpf_rb_node",
3780 __alignof__(struct bpf_rb_node));
3958 * - B is both a root and node, e.g. has bpf_rb_node and
5379 "bpf_rb_node",
H A Dverifier.c9785 /* void bpf_rbtree_add_impl(struct bpf_rb_root *root, struct bpf_rb_node *node,
9786 * bool (less)(struct bpf_rb_node *a, const struct bpf_rb_node *b));
9788 * 'struct bpf_rb_node *node' arg to bpf_rbtree_add_impl is the same PTR_TO_BTF_ID w/ offset
10849 BTF_ID(struct, bpf_rb_node)
/linux-master/include/linux/
H A Dbpf.h245 /* Non-opaque version of bpf_rb_node in uapi/linux/bpf.h */
327 return "bpf_rb_node";
354 return sizeof(struct bpf_rb_node);
381 return __alignof__(struct bpf_rb_node);
/linux-master/include/uapi/linux/
H A Dbpf.h7302 struct bpf_rb_node { struct
/linux-master/tools/include/uapi/linux/
H A Dbpf.h7302 struct bpf_rb_node { struct

Completed in 350 milliseconds