Lines Matching refs:pt

48 	struct prog_test_ref_kfunc *pt;  in kfunc_call_test_get_mem_fail_rdonly()  local
53 pt = bpf_kfunc_call_test_acquire(&s); in kfunc_call_test_get_mem_fail_rdonly()
54 if (pt) { in kfunc_call_test_get_mem_fail_rdonly()
55 p = bpf_kfunc_call_test_get_rdonly_mem(pt, 2 * sizeof(int)); in kfunc_call_test_get_mem_fail_rdonly()
61 bpf_kfunc_call_test_release(pt); in kfunc_call_test_get_mem_fail_rdonly()
69 struct prog_test_ref_kfunc *pt; in kfunc_call_test_get_mem_fail_use_after_free() local
74 pt = bpf_kfunc_call_test_acquire(&s); in kfunc_call_test_get_mem_fail_use_after_free()
75 if (pt) { in kfunc_call_test_get_mem_fail_use_after_free()
76 p = bpf_kfunc_call_test_get_rdwr_mem(pt, 2 * sizeof(int)); in kfunc_call_test_get_mem_fail_use_after_free()
84 bpf_kfunc_call_test_release(pt); in kfunc_call_test_get_mem_fail_use_after_free()
95 struct prog_test_ref_kfunc *pt; in kfunc_call_test_get_mem_fail_oob() local
100 pt = bpf_kfunc_call_test_acquire(&s); in kfunc_call_test_get_mem_fail_oob()
101 if (pt) { in kfunc_call_test_get_mem_fail_oob()
102 p = bpf_kfunc_call_test_get_rdonly_mem(pt, 2 * sizeof(int)); in kfunc_call_test_get_mem_fail_oob()
108 bpf_kfunc_call_test_release(pt); in kfunc_call_test_get_mem_fail_oob()
118 struct prog_test_ref_kfunc *pt; in kfunc_call_test_get_mem_fail_not_const() local
123 pt = bpf_kfunc_call_test_acquire(&s); in kfunc_call_test_get_mem_fail_not_const()
124 if (pt) { in kfunc_call_test_get_mem_fail_not_const()
125 p = bpf_kfunc_call_test_get_rdonly_mem(pt, not_const_size); /* non const size, -EINVAL */ in kfunc_call_test_get_mem_fail_not_const()
131 bpf_kfunc_call_test_release(pt); in kfunc_call_test_get_mem_fail_not_const()
139 struct prog_test_ref_kfunc *pt; in kfunc_call_test_mem_acquire_fail() local
144 pt = bpf_kfunc_call_test_acquire(&s); in kfunc_call_test_mem_acquire_fail()
145 if (pt) { in kfunc_call_test_mem_acquire_fail()
147 p = bpf_kfunc_call_test_acq_rdonly_mem(pt, 2 * sizeof(int)); in kfunc_call_test_mem_acquire_fail()
155 bpf_kfunc_call_test_release(pt); in kfunc_call_test_mem_acquire_fail()