Lines Matching refs:mapval
51 struct map_value *mapval; in create_and_stash() local
54 mapval = bpf_map_lookup_elem(&some_nodes, &idx); in create_and_stash()
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
82 mapval = bpf_map_lookup_elem(&some_nodes, &idx); in stash_plain()
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
105 mapval = bpf_map_lookup_elem(&some_nodes, &key); in unstash_rb_node()
106 if (!mapval) in unstash_rb_node()
109 res = bpf_kptr_xchg(&mapval->node, NULL); in unstash_rb_node()
122 struct map_value *mapval; in stash_test_ref_kfunc() local
125 mapval = bpf_map_lookup_elem(&some_nodes, &key); in stash_test_ref_kfunc()
126 if (!mapval) in stash_test_ref_kfunc()
129 res = bpf_kptr_xchg(&mapval->val, NULL); in stash_test_ref_kfunc()