Lines Matching defs:ref_ptr
12 struct prog_test_ref_kfunc __kptr *ref_ptr;
230 bpf_this_cpu_ptr(v->ref_ptr);
246 p = v->ref_ptr;
250 *(struct prog_test_ref_kfunc * volatile *)&v->ref_ptr = p;
266 p = v->ref_ptr;
269 bpf_kptr_xchg(&v->ref_ptr, p);
278 struct prog_test_ref_kfunc *ref_ptr;
286 ref_ptr = bpf_kfunc_call_test_acquire(&(unsigned long){0});
287 if (!ref_ptr)
289 bpf_kptr_xchg(&v->ref_memb_ptr, ref_ptr);
297 struct prog_test_ref_kfunc *ref_ptr;
305 ref_ptr = bpf_kfunc_call_test_acquire(&(unsigned long){0});
306 if (!ref_ptr)
308 bpf_kptr_xchg(&v->ref_memb_ptr, &ref_ptr->memb);
362 bpf_kptr_xchg(&v->ref_ptr, p);
381 p = bpf_kptr_xchg(&v->ref_ptr, p);