Home
last modified time | relevance | path

Searched refs:prog_test_ref_kfunc (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dmap_kptr_fail.c11 struct prog_test_ref_kfunc __kptr_untrusted *unref_ptr;
12 struct prog_test_ref_kfunc __kptr *ref_ptr;
110 struct prog_test_ref_kfunc *unref_ptr; in reject_var_off_store()
134 struct prog_test_ref_kfunc *unref_ptr; in reject_bad_type_match()
170 struct prog_test_ref_kfunc *p; in correct_btf_id_check_size()
181 return *(int *)((void *)p + bpf_core_type_size(struct prog_test_ref_kfunc)); in correct_btf_id_check_size()
188 struct prog_test_ref_kfunc *unref_ptr; in inherit_untrusted_on_walk()
238 struct prog_test_ref_kfunc *p; in reject_untrusted_store_to_ref()
250 *(struct prog_test_ref_kfunc * volatile *)&v->ref_ptr = p; in reject_untrusted_store_to_ref()
258 struct prog_test_ref_kfunc *p; in reject_untrusted_xchg()
[all …]
Dcb_refs.c8 struct prog_test_ref_kfunc __kptr *ptr;
29 struct prog_test_ref_kfunc *p; in underflow_prog()
52 struct prog_test_ref_kfunc *p; in leak_prog()
88 struct prog_test_ref_kfunc *p; in nested_cb()
103 struct prog_test_ref_kfunc *p; in non_cb_transfer_ref()
Dkfunc_call_fail.c41 struct prog_test_ref_kfunc *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()
88 struct prog_test_ref_kfunc *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()
132 struct prog_test_ref_kfunc *pt; in kfunc_call_test_mem_acquire_fail()
Djit_probe_mem.c8 static struct prog_test_ref_kfunc __kptr *v;
14 struct prog_test_ref_kfunc *p; in test_jit_probe_mem()
Dmap_kptr.c8 struct prog_test_ref_kfunc __kptr_untrusted *unref_ptr;
9 struct prog_test_ref_kfunc __kptr *ref_ptr;
126 struct prog_test_ref_kfunc *p; in test_kptr_unref()
143 struct prog_test_ref_kfunc *p; in test_kptr_ref()
308 struct prog_test_ref_kfunc *p, *p_st; in test_map_kptr_ref_pre()
362 struct prog_test_ref_kfunc *p, *p_st; in test_map_kptr_ref_post()
474 struct prog_test_ref_kfunc *p; in test_map_kptr_ref3()
Dlocal_kptr_stash.c50 struct prog_test_ref_kfunc *not_kptr;
51 struct prog_test_ref_kfunc __kptr *val;
219 struct prog_test_ref_kfunc *res; in stash_test_ref_kfunc()
Dkfunc_call_test.c63 struct prog_test_ref_kfunc *pt; in kfunc_call_test_ref_btf_id()
142 struct prog_test_ref_kfunc *pt; in kfunc_call_test_get_mem()
/linux-6.12.1/tools/testing/selftests/bpf/bpf_testmod/
Dbpf_testmod_kfunc.h20 struct prog_test_ref_kfunc { struct
24 struct prog_test_ref_kfunc *next; argument
88 struct prog_test_ref_kfunc *
90 void bpf_kfunc_call_test_release(struct prog_test_ref_kfunc *p) __ksym;
91 void bpf_kfunc_call_test_ref(struct prog_test_ref_kfunc *p) __ksym;
94 int *bpf_kfunc_call_test_get_rdwr_mem(struct prog_test_ref_kfunc *p, const int rdwr_buf_size) __ksy…
95 int *bpf_kfunc_call_test_get_rdonly_mem(struct prog_test_ref_kfunc *p, const int rdonly_buf_size) _…
96 int *bpf_kfunc_call_test_acq_rdonly_mem(struct prog_test_ref_kfunc *p, const int rdonly_buf_size) _…
122 void bpf_kfunc_call_test_offset(struct prog_test_ref_kfunc *p);
Dbpf_testmod.c621 static struct prog_test_ref_kfunc prog_test_struct = {
628 __bpf_kfunc struct prog_test_ref_kfunc *
635 __bpf_kfunc void bpf_kfunc_call_test_offset(struct prog_test_ref_kfunc *p) in bpf_kfunc_call_test_offset()
652 static int *__bpf_kfunc_call_test_get_mem(struct prog_test_ref_kfunc *p, const int size) in __bpf_kfunc_call_test_get_mem()
660 __bpf_kfunc int *bpf_kfunc_call_test_get_rdwr_mem(struct prog_test_ref_kfunc *p, in bpf_kfunc_call_test_get_rdwr_mem()
666 __bpf_kfunc int *bpf_kfunc_call_test_get_rdonly_mem(struct prog_test_ref_kfunc *p, in bpf_kfunc_call_test_get_rdonly_mem()
677 __bpf_kfunc int *bpf_kfunc_call_test_acq_rdonly_mem(struct prog_test_ref_kfunc *p, in bpf_kfunc_call_test_acq_rdonly_mem()
723 __bpf_kfunc void bpf_kfunc_call_test_ref(struct prog_test_ref_kfunc *p) in bpf_kfunc_call_test_ref()
/linux-6.12.1/net/bpf/
Dtest_run.c610 struct prog_test_ref_kfunc { struct
614 struct prog_test_ref_kfunc *next; argument
618 __bpf_kfunc void bpf_kfunc_call_test_release(struct prog_test_ref_kfunc *p) in bpf_kfunc_call_test_release() argument
1737 BTF_ID(struct, prog_test_ref_kfunc) in BTF_ID() argument
/linux-6.12.1/kernel/bpf/
Dverifier.c5432 BTF_ID(struct, prog_test_ref_kfunc) in BTF_ID() argument