Lines Matching defs:pt
41 struct prog_test_ref_kfunc *pt;
46 pt = bpf_kfunc_call_test_acquire(&s);
47 if (pt) {
48 p = bpf_kfunc_call_test_get_rdonly_mem(pt, 2 * sizeof(int));
54 bpf_kfunc_call_test_release(pt);
62 struct prog_test_ref_kfunc *pt;
67 pt = bpf_kfunc_call_test_acquire(&s);
68 if (pt) {
69 p = bpf_kfunc_call_test_get_rdwr_mem(pt, 2 * sizeof(int));
77 bpf_kfunc_call_test_release(pt);
88 struct prog_test_ref_kfunc *pt;
93 pt = bpf_kfunc_call_test_acquire(&s);
94 if (pt) {
95 p = bpf_kfunc_call_test_get_rdonly_mem(pt, 2 * sizeof(int));
101 bpf_kfunc_call_test_release(pt);
111 struct prog_test_ref_kfunc *pt;
116 pt = bpf_kfunc_call_test_acquire(&s);
117 if (pt) {
118 p = bpf_kfunc_call_test_get_rdonly_mem(pt, not_const_size); /* non const size, -EINVAL */
124 bpf_kfunc_call_test_release(pt);
132 struct prog_test_ref_kfunc *pt;
137 pt = bpf_kfunc_call_test_acquire(&s);
138 if (pt) {
140 p = bpf_kfunc_call_test_acq_rdonly_mem(pt, 2 * sizeof(int));
148 bpf_kfunc_call_test_release(pt);