Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/test_kmods/
H A Dbpf_testmod_kfunc.h152 struct st_ops_args;
153 int bpf_kfunc_st_ops_test_prologue(struct st_ops_args *args) __ksym;
154 int bpf_kfunc_st_ops_test_epilogue(struct st_ops_args *args) __ksym;
155 int bpf_kfunc_st_ops_test_pro_epilogue(struct st_ops_args *args) __ksym;
156 int bpf_kfunc_st_ops_inc10(struct st_ops_args *args) __ksym;
166 extern int bpf_kfunc_multi_st_ops_test_1(struct st_ops_args *args, u32 id) __weak __ksym;
167 extern int bpf_kfunc_multi_st_ops_test_1_assoc(struct st_ops_args *args) __weak __ksym;
H A Dbpf_testmod.h108 struct st_ops_args { struct
113 int (*test_prologue)(struct st_ops_args *args); argument
114 int (*test_epilogue)(struct st_ops_args *args);
115 int (*test_pro_epilogue)(struct st_ops_args *args);
120 int (*test_1)(struct st_ops_args *args);
H A Dbpf_testmod.c1149 __bpf_kfunc int bpf_kfunc_st_ops_test_prologue(struct st_ops_args *args) in bpf_kfunc_st_ops_test_prologue()
1161 __bpf_kfunc int bpf_kfunc_st_ops_test_epilogue(struct st_ops_args *args) in bpf_kfunc_st_ops_test_epilogue()
1173 __bpf_kfunc int bpf_kfunc_st_ops_test_pro_epilogue(struct st_ops_args *args) in bpf_kfunc_st_ops_test_pro_epilogue()
1185 __bpf_kfunc int bpf_kfunc_st_ops_inc10(struct st_ops_args *args) in bpf_kfunc_st_ops_inc10()
1191 __bpf_kfunc int bpf_kfunc_multi_st_ops_test_1(struct st_ops_args *args, u32 id);
1192 __bpf_kfunc int bpf_kfunc_multi_st_ops_test_1_assoc(struct st_ops_args *args, struct bpf_prog_aux *…
1473 static int bpf_test_mod_st_ops__test_prologue(struct st_ops_args *args) in bpf_test_mod_st_ops__test_prologue()
1478 static int bpf_test_mod_st_ops__test_epilogue(struct st_ops_args *args) in bpf_test_mod_st_ops__test_epilogue()
1483 static int bpf_test_mod_st_ops__test_pro_epilogue(struct st_ops_args *args) in bpf_test_mod_st_ops__test_pro_epilogue()
1514 *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 Dstruct_ops_id_ops_mapping1.c20 int BPF_PROG(test_1, struct st_ops_args *args) in BPF_PROG()
28 struct st_ops_args args = {}; in BPF_PROG()
46 struct st_ops_args args = {}; in syscall_prog()
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 Dstruct_ops_id_ops_mapping2.c20 int BPF_PROG(test_1, struct st_ops_args *args) in BPF_PROG()
28 struct st_ops_args args = {}; in BPF_PROG()
46 struct st_ops_args args = {}; in syscall_prog()
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()
H A Dpro_epilogue_with_kfunc.c17 static __noinline __used int subprog(struct st_ops_args *args) in subprog()
80 struct st_ops_args args = {}; in syscall_pro_epilogue()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dpro_epilogue.c11 struct st_ops_args { struct
19 struct st_ops_args args; in test_tailcall() argument