Home
last modified time | relevance | path

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

/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/bpf_testmod/
H A Dbpf_testmod.h102 struct st_ops_args { struct
107 int (*test_prologue)(struct st_ops_args *args); argument
108 int (*test_epilogue)(struct st_ops_args *args);
109 int (*test_pro_epilogue)(struct st_ops_args *args);
H A Dbpf_testmod_kfunc.h151 struct st_ops_args;
152 int bpf_kfunc_st_ops_test_prologue(struct st_ops_args *args) __ksym;
153 int bpf_kfunc_st_ops_test_epilogue(struct st_ops_args *args) __ksym;
154 int bpf_kfunc_st_ops_test_pro_epilogue(struct st_ops_args *args) __ksym;
155 int bpf_kfunc_st_ops_inc10(struct st_ops_args *args) __ksym;
H A Dbpf_testmod.c1014 __bpf_kfunc int bpf_kfunc_st_ops_test_prologue(struct st_ops_args *args) in bpf_kfunc_st_ops_test_prologue()
1026 __bpf_kfunc int bpf_kfunc_st_ops_test_epilogue(struct st_ops_args *args) in bpf_kfunc_st_ops_test_epilogue()
1038 __bpf_kfunc int bpf_kfunc_st_ops_test_pro_epilogue(struct st_ops_args *args) in bpf_kfunc_st_ops_test_pro_epilogue()
1050 __bpf_kfunc int bpf_kfunc_st_ops_inc10(struct st_ops_args *args) in bpf_kfunc_st_ops_inc10()
1281 static int bpf_test_mod_st_ops__test_prologue(struct st_ops_args *args) in bpf_test_mod_st_ops__test_prologue()
1286 static int bpf_test_mod_st_ops__test_epilogue(struct st_ops_args *args) in bpf_test_mod_st_ops__test_epilogue()
1291 static int bpf_test_mod_st_ops__test_pro_epilogue(struct st_ops_args *args) in bpf_test_mod_st_ops__test_pro_epilogue()
1311 *insn++ = BPF_LDX_MEM(BPF_DW, BPF_REG_7, BPF_REG_6, offsetof(struct st_ops_args, a)); in st_ops_gen_prologue()
1313 *insn++ = BPF_STX_MEM(BPF_DW, BPF_REG_6, BPF_REG_7, offsetof(struct st_ops_args, a)); in st_ops_gen_prologue()
1339 *insn++ = BPF_LDX_MEM(BPF_DW, BPF_REG_6, BPF_REG_1, offsetof(struct st_ops_args, a)); in st_ops_gen_epilogue()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dpro_epilogue.c10 struct st_ops_args { struct
18 struct st_ops_args args; in test_tailcall() argument