Searched refs:bpf_tramp_links (Results 1 – 10 of 10) sorted by relevance
| /linux/arch/powerpc/net/ |
| H A D | bpf_jit_comp.c | 597 struct bpf_tramp_links *tl, int regs_off, int retval_off, in invoke_bpf_mod_ret() 725 struct bpf_tramp_links *tlinks, in __arch_prepare_bpf_trampoline() 729 struct bpf_tramp_links *fmod_ret = &tlinks[BPF_TRAMP_MODIFY_RETURN]; in __arch_prepare_bpf_trampoline() 730 struct bpf_tramp_links *fentry = &tlinks[BPF_TRAMP_FENTRY]; in __arch_prepare_bpf_trampoline() 731 struct bpf_tramp_links *fexit = &tlinks[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline() 1059 struct bpf_tramp_links *tlinks, void *func_addr) in arch_bpf_trampoline_size() 1070 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()
|
| H A D | bpf_struct_ops.c | 597 int bpf_struct_ops_prepare_trampoline(struct bpf_tramp_links *tlinks, in bpf_struct_ops_prepare_trampoline() 696 struct bpf_tramp_links *tlinks; in bpf_struct_ops_map_update_elem()
|
| /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 | 1553 static void invoke_bpf_mod_ret(struct jit_ctx *ctx, struct bpf_tramp_links *tl, in invoke_bpf_mod_ret() 1614 const struct btf_func_model *m, struct bpf_tramp_links *tlinks, in __arch_prepare_bpf_trampoline() 1622 struct bpf_tramp_links *fentry = &tlinks[BPF_TRAMP_FENTRY]; in __arch_prepare_bpf_trampoline() 1623 struct bpf_tramp_links *fexit = &tlinks[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline() 1624 struct bpf_tramp_links *fmod_ret = &tlinks[BPF_TRAMP_MODIFY_RETURN]; in __arch_prepare_bpf_trampoline() 1872 u32 flags, struct bpf_tramp_links *tlinks, void *func_addr) in arch_prepare_bpf_trampoline() 1909 struct bpf_tramp_links *tlinks, void *func_addr) in arch_bpf_trampoline_size()
|
| /linux/arch/arm64/net/ |
| H A D | bpf_jit_comp.c | 2358 static void invoke_bpf_mod_ret(struct jit_ctx *ctx, struct bpf_tramp_links *tl, in invoke_bpf_mod_ret() 2500 static bool is_struct_ops_tramp(const struct bpf_tramp_links *fentry_links) in is_struct_ops_tramp() 2524 struct bpf_tramp_links *tlinks, void *func_addr, in prepare_trampoline() 2540 struct bpf_tramp_links *fentry = &tlinks[BPF_TRAMP_FENTRY]; in prepare_trampoline() 2541 struct bpf_tramp_links *fexit = &tlinks[BPF_TRAMP_FEXIT]; in prepare_trampoline() 2542 struct bpf_tramp_links *fmod_ret = &tlinks[BPF_TRAMP_MODIFY_RETURN]; in prepare_trampoline() 2803 struct bpf_tramp_links *tlinks, void *func_addr) in arch_bpf_trampoline_size() 2841 u32 flags, struct bpf_tramp_links *tlinks, in arch_prepare_bpf_trampoline()
|
| /linux/arch/s390/net/ |
| H A D | bpf_jit_comp.c | 2606 struct bpf_tramp_links *tlinks, in __arch_prepare_bpf_trampoline() 2609 struct bpf_tramp_links *fmod_ret = &tlinks[BPF_TRAMP_MODIFY_RETURN]; in __arch_prepare_bpf_trampoline() 2610 struct bpf_tramp_links *fentry = &tlinks[BPF_TRAMP_FENTRY]; in __arch_prepare_bpf_trampoline() 2611 struct bpf_tramp_links *fexit = &tlinks[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline() 2905 struct bpf_tramp_links *tlinks, void *orig_call) in arch_bpf_trampoline_size() 2921 u32 flags, struct bpf_tramp_links *tlinks, in arch_prepare_bpf_trampoline()
|
| /linux/arch/x86/net/ |
| H A D | bpf_jit_comp.c | 3087 struct bpf_tramp_links *tl, int stack_size, in invoke_bpf() 3110 struct bpf_tramp_links *tl, int stack_size, in invoke_bpf_mod_ret() 3214 struct bpf_tramp_links *tlinks, in __arch_prepare_bpf_trampoline() 3219 struct bpf_tramp_links *fentry = &tlinks[BPF_TRAMP_FENTRY]; in __arch_prepare_bpf_trampoline() 3220 struct bpf_tramp_links *fexit = &tlinks[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline() 3221 struct bpf_tramp_links *fmod_ret = &tlinks[BPF_TRAMP_MODIFY_RETURN]; in __arch_prepare_bpf_trampoline() 3536 struct bpf_tramp_links *tlinks, in arch_prepare_bpf_trampoline() 3564 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); 2097 int bpf_struct_ops_prepare_trampoline(struct bpf_tramp_links *tlinks, 2190 static inline int bpf_fsession_cnt(struct bpf_tramp_links *links) in bpf_fsession_cnt() 2192 struct bpf_tramp_links fentries = links[BPF_TRAMP_FENTRY]; in bpf_fsession_cnt() 2208 static inline int bpf_fsession_cookie_cnt(struct bpf_tramp_links *links) in bpf_fsession_cookie_cnt() 2210 struct bpf_tramp_links fentries = links[BPF_TRAMP_FENTRY]; in bpf_fsession_cookie_cnt()
|
| /linux/net/bpf/ |
| H A D | bpf_dummy_struct_ops.c | 135 struct bpf_tramp_links *tlinks = NULL; in bpf_struct_ops_test_run()
|