Home
last modified time | relevance | path

Searched refs:unref_ptr (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dmap_kptr_fail.c11 struct prog_test_ref_kfunc __kptr_untrusted *unref_ptr; member
34 *(u32 *)&v->unref_ptr = 0; in size_not_bpf_dw()
110 struct prog_test_ref_kfunc *unref_ptr; in reject_var_off_store() local
118 unref_ptr = v->unref_ptr; in reject_var_off_store()
119 if (!unref_ptr) in reject_var_off_store()
124 unref_ptr += id; in reject_var_off_store()
125 v->unref_ptr = unref_ptr; in reject_var_off_store()
134 struct prog_test_ref_kfunc *unref_ptr; in reject_bad_type_match() local
142 unref_ptr = v->unref_ptr; in reject_bad_type_match()
143 if (!unref_ptr) in reject_bad_type_match()
[all …]
Dmap_kptr.c8 struct prog_test_ref_kfunc __kptr_untrusted *unref_ptr; member
128 p = v->unref_ptr; in test_kptr_unref()
130 WRITE_ONCE(v->unref_ptr, p); in test_kptr_unref()
136 WRITE_ONCE(v->unref_ptr, p); in test_kptr_unref()
138 WRITE_ONCE(v->unref_ptr, NULL); in test_kptr_unref()
147 WRITE_ONCE(v->unref_ptr, p); in test_kptr_ref()
172 WRITE_ONCE(v->unref_ptr, p); in test_kptr_ref()