Searched refs:prog_test_ref_kfunc (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.1/tools/testing/selftests/bpf/progs/ |
D | kfunc_call_fail.c | 6 extern struct prog_test_ref_kfunc *bpf_kfunc_call_test_acquire(unsigned long *sp) __ksym; 7 extern void bpf_kfunc_call_test_release(struct prog_test_ref_kfunc *p) __ksym; 9 extern int *bpf_kfunc_call_test_get_rdwr_mem(struct prog_test_ref_kfunc *p, const int rdwr_buf_size… 10 extern int *bpf_kfunc_call_test_get_rdonly_mem(struct prog_test_ref_kfunc *p, const int rdonly_buf_… 11 extern int *bpf_kfunc_call_test_acq_rdonly_mem(struct prog_test_ref_kfunc *p, const int rdonly_buf_… 48 struct prog_test_ref_kfunc *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() 95 struct prog_test_ref_kfunc *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() 139 struct prog_test_ref_kfunc *pt; in kfunc_call_test_mem_acquire_fail()
|
D | map_kptr_fail.c | 9 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 …]
|
D | cb_refs.c | 7 struct prog_test_ref_kfunc __kptr_ref *ptr; 17 extern struct prog_test_ref_kfunc *bpf_kfunc_call_test_acquire(unsigned long *sp) __ksym; 18 extern void bpf_kfunc_call_test_release(struct prog_test_ref_kfunc *p) __ksym; 31 struct prog_test_ref_kfunc *p; in underflow_prog() 53 struct prog_test_ref_kfunc *p; in leak_prog() 90 struct prog_test_ref_kfunc *p; in nested_cb() 105 struct prog_test_ref_kfunc *p; in non_cb_transfer_ref()
|
D | map_kptr.c | 7 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 …]
|
D | kfunc_call_test.c | 10 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; 17 extern int *bpf_kfunc_call_test_get_rdwr_mem(struct prog_test_ref_kfunc *p, const int rdwr_buf_size… 18 extern int *bpf_kfunc_call_test_get_rdonly_mem(struct prog_test_ref_kfunc *p, const int rdonly_buf_… 59 struct prog_test_ref_kfunc *pt; in kfunc_call_test_ref_btf_id() 138 struct prog_test_ref_kfunc *pt; in kfunc_call_test_get_mem()
|
/Linux-v6.1/net/bpf/ |
D | test_run.c | 563 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 static int *__bpf_kfunc_call_test_get_mem(struct prog_test_ref_kfunc *p, const int size) in __bpf_kfunc_call_test_get_mem() 617 noinline int *bpf_kfunc_call_test_get_rdwr_mem(struct prog_test_ref_kfunc *p, const int rdwr_buf_si… in bpf_kfunc_call_test_get_rdwr_mem() 622 noinline int *bpf_kfunc_call_test_get_rdonly_mem(struct prog_test_ref_kfunc *p, const int rdonly_bu… in bpf_kfunc_call_test_get_rdonly_mem() 632 noinline int *bpf_kfunc_call_test_acq_rdonly_mem(struct prog_test_ref_kfunc *p, const int rdonly_bu… in bpf_kfunc_call_test_acq_rdonly_mem() 641 noinline struct prog_test_ref_kfunc * [all …]
|