Lines Matching refs:p
20 void *p = *(void **)ctx; in cb1() local
21 bpf_kfunc_call_test_release(p); in cb1()
29 struct prog_test_ref_kfunc *p; in underflow_prog() local
32 p = bpf_kfunc_call_test_acquire(&sl); in underflow_prog()
33 if (!p) in underflow_prog()
35 bpf_for_each_map_elem(&array_map, cb1, &p, 0); in underflow_prog()
36 bpf_kfunc_call_test_release(p); in underflow_prog()
52 struct prog_test_ref_kfunc *p; in leak_prog() local
59 p = NULL; in leak_prog()
60 bpf_for_each_map_elem(&array_map, cb2, &p, 0); in leak_prog()
61 p = bpf_kptr_xchg(&v->ptr, p); in leak_prog()
62 if (p) in leak_prog()
63 bpf_kfunc_call_test_release(p); in leak_prog()
75 void *p; in cb3() local
78 bpf_for_each_map_elem(&array_map, cb, &p, 0); in cb3()
88 struct prog_test_ref_kfunc *p; in nested_cb() local
92 p = bpf_kfunc_call_test_acquire(&sl); in nested_cb()
93 if (!p) in nested_cb()
96 bpf_kfunc_call_test_release(p); in nested_cb()
103 struct prog_test_ref_kfunc *p; in non_cb_transfer_ref() local
106 p = bpf_kfunc_call_test_acquire(&sl); in non_cb_transfer_ref()
107 if (!p) in non_cb_transfer_ref()
109 cb1(NULL, NULL, NULL, &p); in non_cb_transfer_ref()