Home
last modified time | relevance | path

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

/linux-5.19.10/tools/testing/selftests/bpf/progs/
Dmap_kptr_fail.c9 struct prog_test_ref_kfunc __kptr *unref_ptr;
10 struct prog_test_ref_kfunc __kptr_ref *ref_ptr;
21 extern struct prog_test_ref_kfunc *bpf_kfunc_call_test_acquire(unsigned long *sp) __ksym;
22 extern struct prog_test_ref_kfunc *
23 bpf_kfunc_call_test_kptr_get(struct prog_test_ref_kfunc **p, int a, int b) __ksym;
106 struct prog_test_ref_kfunc *unref_ptr; in reject_var_off_store()
129 struct prog_test_ref_kfunc *unref_ptr; in reject_bad_type_match()
163 struct prog_test_ref_kfunc *p; in correct_btf_id_check_size()
174 return *(int *)((void *)p + bpf_core_type_size(struct prog_test_ref_kfunc)); in correct_btf_id_check_size()
180 struct prog_test_ref_kfunc *unref_ptr; in inherit_untrusted_on_walk()
[all …]
Dmap_kptr.c7 struct prog_test_ref_kfunc __kptr *unref_ptr;
8 struct prog_test_ref_kfunc __kptr_ref *ref_ptr;
60 extern struct prog_test_ref_kfunc *bpf_kfunc_call_test_acquire(unsigned long *sp) __ksym;
61 extern struct prog_test_ref_kfunc *
62 bpf_kfunc_call_test_kptr_get(struct prog_test_ref_kfunc **p, int a, int b) __ksym;
63 extern void bpf_kfunc_call_test_release(struct prog_test_ref_kfunc *p) __ksym;
67 struct prog_test_ref_kfunc *p; in test_kptr_unref()
84 struct prog_test_ref_kfunc *p; in test_kptr_ref()
121 struct prog_test_ref_kfunc *p; in test_kptr_get()
193 struct prog_test_ref_kfunc *p, *p_st; in test_map_kptr_ref()
[all …]
Dkfunc_call_test.c10 extern struct prog_test_ref_kfunc *bpf_kfunc_call_test_acquire(unsigned long *sp) __ksym;
11 extern void bpf_kfunc_call_test_release(struct prog_test_ref_kfunc *p) __ksym;
57 struct prog_test_ref_kfunc *pt; in kfunc_call_test_ref_btf_id()
/linux-5.19.10/net/bpf/
Dtest_run.c563 struct prog_test_ref_kfunc { struct
567 struct prog_test_ref_kfunc *next; argument
571 static struct prog_test_ref_kfunc prog_test_struct = { argument
578 noinline struct prog_test_ref_kfunc *
592 noinline void bpf_kfunc_call_test_release(struct prog_test_ref_kfunc *p) in bpf_kfunc_call_test_release()
609 noinline struct prog_test_ref_kfunc *
610 bpf_kfunc_call_test_kptr_get(struct prog_test_ref_kfunc **pp, int a, int b) in bpf_kfunc_call_test_kptr_get()
612 struct prog_test_ref_kfunc *p = READ_ONCE(*pp); in bpf_kfunc_call_test_kptr_get()
1638 BTF_ID(struct, prog_test_ref_kfunc) in BTF_ID() argument