Home
last modified time | relevance | path

Searched refs:mapval (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dlocal_kptr_stash.c51 struct map_value *mapval; in create_and_stash() local
55 if (!mapval) in create_and_stash()
63 res = bpf_kptr_xchg(&mapval->node, res); in create_and_stash()
78 struct map_value *mapval; in stash_plain() local
83 if (!mapval) in stash_plain()
91 res = bpf_kptr_xchg(&mapval->plain, res); in stash_plain()
100 struct map_value *mapval; in unstash_rb_node() local
106 if (!mapval) in unstash_rb_node()
122 struct map_value *mapval; in stash_test_ref_kfunc() local
126 if (!mapval) in stash_test_ref_kfunc()
[all …]
H A Dlocal_kptr_stash_fail.c46 struct map_value *mapval; in stash_rb_nodes() local
50 mapval = bpf_map_lookup_elem(&some_nodes, &idx); in stash_rb_nodes()
51 if (!mapval) in stash_rb_nodes()
59 res = bpf_kptr_xchg(&mapval->node, res); in stash_rb_nodes()
69 struct map_value *mapval; in drop_rb_node_off() local
73 mapval = bpf_map_lookup_elem(&some_nodes, &idx); in drop_rb_node_off()
74 if (!mapval) in drop_rb_node_off()
H A Drefcounted_kptr.c109 struct map_value *mapval; in __stash_map_insert_tree() local
113 if (!mapval) in __stash_map_insert_tree()
123 n = bpf_kptr_xchg(&mapval->node, n); in __stash_map_insert_tree()
209 struct map_value *mapval; in __read_from_unstash() local
213 if (!mapval) in __read_from_unstash()
216 n = bpf_kptr_xchg(&mapval->node, n); in __read_from_unstash()
418 if (!mapval) { in __stash_map_empty_xchg()
454 struct map_value *mapval; in rbtree_wrong_owner_remove_fail_b() local
459 if (!mapval) in rbtree_wrong_owner_remove_fail_b()
477 struct map_value *mapval; in rbtree_wrong_owner_remove_fail_a2() local
[all …]