Lines Matching refs:unref_ptr
11 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()
145 unref_ptr = (void *)unref_ptr + 4; in reject_bad_type_match()
146 v->unref_ptr = unref_ptr; in reject_bad_type_match()
162 bpf_this_cpu_ptr(v->unref_ptr); in marked_as_untrusted_or_null()
178 p = v->unref_ptr; in correct_btf_id_check_size()
188 struct prog_test_ref_kfunc *unref_ptr; in inherit_untrusted_on_walk() local
196 unref_ptr = v->unref_ptr; in inherit_untrusted_on_walk()
197 if (!unref_ptr) in inherit_untrusted_on_walk()
199 unref_ptr = unref_ptr->next; in inherit_untrusted_on_walk()
200 bpf_this_cpu_ptr(unref_ptr); in inherit_untrusted_on_walk()
215 bpf_kptr_xchg(&v->unref_ptr, NULL); in reject_kptr_xchg_on_unref()