Lines Matching refs:ref_ptr
9 struct prog_test_ref_kfunc __kptr *ref_ptr; member
141 p = v->ref_ptr; in test_kptr_ref()
155 p = bpf_kptr_xchg(&v->ref_ptr, NULL); in test_kptr_ref()
175 p = bpf_kptr_xchg(&v->ref_ptr, p); in test_kptr_ref()
313 p = bpf_kptr_xchg(&v->ref_ptr, p); in test_map_kptr_ref_pre()
321 p = bpf_kptr_xchg(&v->ref_ptr, NULL); in test_map_kptr_ref_pre()
333 p = bpf_kptr_xchg(&v->ref_ptr, p); in test_map_kptr_ref_pre()
354 p_st = v->ref_ptr; in test_map_kptr_ref_post()
358 p = bpf_kptr_xchg(&v->ref_ptr, NULL); in test_map_kptr_ref_post()
366 p = bpf_kptr_xchg(&v->ref_ptr, p); in test_map_kptr_ref_post()
525 if (!v->ref_ptr) in test_ls_map_kptr_ref_del()