Home
last modified time | relevance | path

Searched refs:st_ops_args (Results 1 – 8 of 8) sorted by relevance

/linux/tools/testing/selftests/bpf/test_kmods/
H A Dbpf_testmod.h125 struct st_ops_args { struct
130 int (*test_prologue)(struct st_ops_args *args); argument
131 int (*test_epilogue)(struct st_ops_args *args);
132 int (*test_pro_epilogue)(struct st_ops_args *args);
137 int (*test_1)(struct st_ops_args *args);
H A Dbpf_testmod_kfunc.h199 struct st_ops_args;
200 int bpf_kfunc_st_ops_test_prologue(struct st_ops_args *args) __ksym;
201 int bpf_kfunc_st_ops_test_epilogue(struct st_ops_args *args) __ksym;
202 int bpf_kfunc_st_ops_test_pro_epilogue(struct st_ops_args *args) __ksym;
203 int bpf_kfunc_st_ops_inc10(struct st_ops_args *args) __ksym;
213 extern int bpf_kfunc_multi_st_ops_test_1(struct st_ops_args *args, u32 id) __weak __ksym;
214 extern int bpf_kfunc_multi_st_ops_test_1_assoc(struct st_ops_args *args) __weak __ksym;
H A Dbpf_testmod.c1407 __bpf_kfunc int bpf_kfunc_st_ops_test_prologue(struct st_ops_args *args) in bpf_kfunc_st_ops_test_prologue()
1419 __bpf_kfunc int bpf_kfunc_st_ops_test_epilogue(struct st_ops_args *args) in bpf_kfunc_st_ops_test_epilogue()
1431 __bpf_kfunc int bpf_kfunc_st_ops_test_pro_epilogue(struct st_ops_args *args) in bpf_kfunc_st_ops_test_pro_epilogue()
1443 __bpf_kfunc int bpf_kfunc_st_ops_inc10(struct st_ops_args *args) in bpf_kfunc_st_ops_inc10()
1449 __bpf_kfunc int bpf_kfunc_multi_st_ops_test_1(struct st_ops_args *args, u32 id);
1450 __bpf_kfunc int bpf_kfunc_multi_st_ops_test_1_assoc(struct st_ops_args *args, struct bpf_prog_aux *…
1747 static int bpf_test_mod_st_ops__test_prologue(struct st_ops_args *args) in bpf_test_mod_st_ops__test_prologue()
1752 static int bpf_test_mod_st_ops__test_epilogue(struct st_ops_args *args) in bpf_test_mod_st_ops__test_epilogue()
1757 static int bpf_test_mod_st_ops__test_pro_epilogue(struct st_ops_args *args) in bpf_test_mod_st_ops__test_pro_epilogue()
1788 *insn++ = BPF_LDX_MEM(BPF_DW, BPF_REG_7, BPF_REG_6, offsetof(struct st_ops_args, a)); in st_ops_gen_prologue_with_kfunc()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dpro_epilogue.c17 static __noinline __used int subprog(struct st_ops_args *args) in subprog()
126 struct st_ops_args args = {}; in syscall_prologue()
135 struct st_ops_args args = {}; in syscall_epilogue()
144 struct st_ops_args args = {}; in syscall_pro_epilogue()
H A Depilogue_tailcall.c12 static __noinline __used int subprog(struct st_ops_args *args) in subprog()
19 int BPF_PROG(test_epilogue_subprog, struct st_ops_args *args) in BPF_PROG()
55 int syscall_epilogue_tailcall(struct st_ops_args *args) in syscall_epilogue_tailcall()
H A Dpro_epilogue_goto_start.c128 struct st_ops_args args = {}; in syscall_prologue_goto_start()
137 struct st_ops_args args = {}; in syscall_epilogue_goto_start()
146 struct st_ops_args args = {}; in syscall_pro_epilogue_goto_start()
H A Depilogue_exit.c70 struct st_ops_args args = { .a = 1 }; in syscall_epilogue_exit0()
79 struct st_ops_args args = {}; in syscall_epilogue_exit1()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dpro_epilogue.c11 struct st_ops_args {
19 struct st_ops_args args; in test_tailcall()
10 struct st_ops_args { global() struct
18 ast_ops_args test_tailcall() argument