Lines Matching refs:pt
41 struct prog_test_ref_kfunc *pt; in kfunc_call_test_get_mem_fail_rdonly() local
46 pt = bpf_kfunc_call_test_acquire(&s); in kfunc_call_test_get_mem_fail_rdonly()
47 if (pt) { in kfunc_call_test_get_mem_fail_rdonly()
48 p = bpf_kfunc_call_test_get_rdonly_mem(pt, 2 * sizeof(int)); in kfunc_call_test_get_mem_fail_rdonly()
54 bpf_kfunc_call_test_release(pt); in kfunc_call_test_get_mem_fail_rdonly()
62 struct prog_test_ref_kfunc *pt; in kfunc_call_test_get_mem_fail_use_after_free() local
67 pt = bpf_kfunc_call_test_acquire(&s); in kfunc_call_test_get_mem_fail_use_after_free()
68 if (pt) { in kfunc_call_test_get_mem_fail_use_after_free()
69 p = bpf_kfunc_call_test_get_rdwr_mem(pt, 2 * sizeof(int)); in kfunc_call_test_get_mem_fail_use_after_free()
77 bpf_kfunc_call_test_release(pt); in kfunc_call_test_get_mem_fail_use_after_free()
88 struct prog_test_ref_kfunc *pt; in kfunc_call_test_get_mem_fail_oob() local
93 pt = bpf_kfunc_call_test_acquire(&s); in kfunc_call_test_get_mem_fail_oob()
94 if (pt) { in kfunc_call_test_get_mem_fail_oob()
95 p = bpf_kfunc_call_test_get_rdonly_mem(pt, 2 * sizeof(int)); in kfunc_call_test_get_mem_fail_oob()
101 bpf_kfunc_call_test_release(pt); in kfunc_call_test_get_mem_fail_oob()
111 struct prog_test_ref_kfunc *pt; in kfunc_call_test_get_mem_fail_not_const() local
116 pt = bpf_kfunc_call_test_acquire(&s); in kfunc_call_test_get_mem_fail_not_const()
117 if (pt) { in kfunc_call_test_get_mem_fail_not_const()
118 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()
124 bpf_kfunc_call_test_release(pt); in kfunc_call_test_get_mem_fail_not_const()
132 struct prog_test_ref_kfunc *pt; in kfunc_call_test_mem_acquire_fail() local
137 pt = bpf_kfunc_call_test_acquire(&s); in kfunc_call_test_mem_acquire_fail()
138 if (pt) { in kfunc_call_test_mem_acquire_fail()
140 p = bpf_kfunc_call_test_acq_rdonly_mem(pt, 2 * sizeof(int)); in kfunc_call_test_mem_acquire_fail()
148 bpf_kfunc_call_test_release(pt); in kfunc_call_test_mem_acquire_fail()