Searched refs:bpf_tramp_links (Results 1 – 8 of 8) sorted by relevance
| /linux/arch/powerpc/net/ |
| H A D | bpf_jit_comp.c | 682 struct bpf_tramp_links *tl, int regs_off, int retval_off, in invoke_bpf_mod_ret() 810 struct bpf_tramp_links *tlinks, in __arch_prepare_bpf_trampoline() 815 struct bpf_tramp_links *fmod_ret = &tlinks[BPF_TRAMP_MODIFY_RETURN]; in __arch_prepare_bpf_trampoline() 816 struct bpf_tramp_links *fentry = &tlinks[BPF_TRAMP_FENTRY]; in __arch_prepare_bpf_trampoline() 817 struct bpf_tramp_links *fexit = &tlinks[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline() 1188 struct bpf_tramp_links *tlinks, void *func_addr) in arch_bpf_trampoline_size() 1199 struct bpf_tramp_links *tlinks, in arch_prepare_bpf_trampoline()
|
| /linux/kernel/bpf/ |
| H A D | trampoline.c | 440 static struct bpf_tramp_links * 444 struct bpf_tramp_links *tlinks; in bpf_trampoline_get_progs() 610 struct bpf_tramp_links *tlinks; in bpf_trampoline_update() 1336 struct bpf_tramp_links *tlinks, in arch_prepare_bpf_trampoline() 1370 struct bpf_tramp_links *tlinks, void *func_addr) in arch_bpf_trampoline_size()
|
| /linux/arch/riscv/net/ |
| H A D | bpf_jit_comp64.c | 999 static int invoke_bpf(struct bpf_tramp_links *tl, int args_off, int retval_off, in invoke_bpf() 1024 struct bpf_tramp_links *tlinks, in __arch_prepare_bpf_trampoline() 1033 struct bpf_tramp_links *fentry = &tlinks[BPF_TRAMP_FENTRY]; in __arch_prepare_bpf_trampoline() 1034 struct bpf_tramp_links *fexit = &tlinks[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline() 1035 struct bpf_tramp_links *fmod_ret = &tlinks[BPF_TRAMP_MODIFY_RETURN]; in __arch_prepare_bpf_trampoline() 1308 struct bpf_tramp_links *tlinks, void *func_addr) in arch_bpf_trampoline_size() 1334 u32 flags, struct bpf_tramp_links *tlinks, in arch_prepare_bpf_trampoline()
|
| /linux/arch/loongarch/net/ |
| H A D | bpf_jit.c | 1740 static int invoke_bpf(struct jit_ctx *ctx, struct bpf_tramp_links *tl, in invoke_bpf() 1810 const struct btf_func_model *m, struct bpf_tramp_links *tlinks, in __arch_prepare_bpf_trampoline() 1820 struct bpf_tramp_links *fentry = &tlinks[BPF_TRAMP_FENTRY]; in __arch_prepare_bpf_trampoline() 1821 struct bpf_tramp_links *fexit = &tlinks[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline() 1822 struct bpf_tramp_links *fmod_ret = &tlinks[BPF_TRAMP_MODIFY_RETURN]; in __arch_prepare_bpf_trampoline() 2118 u32 flags, struct bpf_tramp_links *tlinks, void *func_addr) in arch_prepare_bpf_trampoline() 2155 struct bpf_tramp_links *tlinks, void *func_addr) in arch_bpf_trampoline_size()
|
| /linux/arch/arm64/net/ |
| H A D | bpf_jit_comp.c | 2317 static void invoke_bpf_mod_ret(struct jit_ctx *ctx, struct bpf_tramp_links *tl, in invoke_bpf_mod_ret() 2459 static bool is_struct_ops_tramp(const struct bpf_tramp_links *fentry_links) in is_struct_ops_tramp() 2483 struct bpf_tramp_links *tlinks, void *func_addr, in prepare_trampoline() 2499 struct bpf_tramp_links *fentry = &tlinks[BPF_TRAMP_FENTRY]; in prepare_trampoline() 2500 struct bpf_tramp_links *fexit = &tlinks[BPF_TRAMP_FEXIT]; in prepare_trampoline() 2501 struct bpf_tramp_links *fmod_ret = &tlinks[BPF_TRAMP_MODIFY_RETURN]; in prepare_trampoline() 2762 struct bpf_tramp_links *tlinks, void *func_addr) in arch_bpf_trampoline_size() 2800 u32 flags, struct bpf_tramp_links *tlinks, in arch_prepare_bpf_trampoline()
|
| /linux/net/bpf/ |
| H A D | bpf_dummy_struct_ops.c | 135 struct bpf_tramp_links *tlinks = NULL; in bpf_struct_ops_test_run()
|
| /linux/arch/x86/net/ |
| H A D | bpf_jit_comp.c | 3089 struct bpf_tramp_links *tl, int stack_size, in invoke_bpf() 3112 struct bpf_tramp_links *tl, int stack_size, in invoke_bpf_mod_ret() 3216 struct bpf_tramp_links *tlinks, in __arch_prepare_bpf_trampoline() 3221 struct bpf_tramp_links *fentry = &tlinks[BPF_TRAMP_FENTRY]; in __arch_prepare_bpf_trampoline() 3222 struct bpf_tramp_links *fexit = &tlinks[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline() 3223 struct bpf_tramp_links *fmod_ret = &tlinks[BPF_TRAMP_MODIFY_RETURN]; in __arch_prepare_bpf_trampoline() 3538 struct bpf_tramp_links *tlinks, in arch_prepare_bpf_trampoline() 3566 struct bpf_tramp_links *tlinks, void *func_addr) in arch_bpf_trampoline_size()
|
| /linux/include/linux/ |
| H A D | bpf.h | 1236 struct bpf_tramp_links { struct 1266 struct bpf_tramp_links *tlinks, 1272 struct bpf_tramp_links *tlinks, void *func_addr); 2099 int bpf_struct_ops_prepare_trampoline(struct bpf_tramp_links *tlinks, 2192 static inline int bpf_fsession_cnt(struct bpf_tramp_links *links) in bpf_fsession_cnt() 2194 struct bpf_tramp_links fentries = links[BPF_TRAMP_FENTRY]; in bpf_fsession_cnt() 2210 static inline int bpf_fsession_cookie_cnt(struct bpf_tramp_links *links) in bpf_fsession_cookie_cnt() 2212 struct bpf_tramp_links fentries = links[BPF_TRAMP_FENTRY]; in bpf_fsession_cookie_cnt()
|