Home
last modified time | relevance | path

Searched refs:bpf_tramp_nodes (Results 1 – 9 of 9) sorted by relevance

/linux/arch/powerpc/net/
H A Dbpf_jit_comp.c687 struct bpf_tramp_nodes *tn, int regs_off, int retval_off, in invoke_bpf_mod_ret()
815 struct bpf_tramp_nodes *tnodes, in __arch_prepare_bpf_trampoline()
820 struct bpf_tramp_nodes *fmod_ret = &tnodes[BPF_TRAMP_MODIFY_RETURN]; in __arch_prepare_bpf_trampoline()
821 struct bpf_tramp_nodes *fentry = &tnodes[BPF_TRAMP_FENTRY]; in __arch_prepare_bpf_trampoline()
822 struct bpf_tramp_nodes *fexit = &tnodes[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline()
1193 struct bpf_tramp_nodes *tnodes, void *func_addr) in arch_bpf_trampoline_size()
1204 struct bpf_tramp_nodes *tnodes, in arch_prepare_bpf_trampoline()
/linux/kernel/bpf/
H A Dtrampoline.c507 static struct bpf_tramp_nodes *
511 struct bpf_tramp_nodes *tnodes; in bpf_trampoline_get_progs()
539 struct bpf_tramp_nodes *tnodes, u32 flags) in bpf_tramp_arena_base()
714 struct bpf_tramp_nodes *tnodes; in bpf_trampoline_update()
1481 struct bpf_tramp_nodes *tnodes, in arch_prepare_bpf_trampoline()
1515 struct bpf_tramp_nodes *tnodes, void *func_addr) in arch_bpf_trampoline_size()
H A Dbpf_struct_ops.c637 int bpf_struct_ops_prepare_trampoline(struct bpf_tramp_nodes *tnodes, in bpf_struct_ops_prepare_trampoline()
736 struct bpf_tramp_nodes *tnodes; in bpf_struct_ops_map_update_elem()
/linux/include/linux/
H A Dbpf.h1273 struct bpf_tramp_nodes { struct
1285 struct bpf_tramp_nodes *tnodes, u32 flags); argument
1312 struct bpf_tramp_nodes *tnodes,
1318 struct bpf_tramp_nodes *tnodes, void *func_addr);
2198 static inline bool is_struct_ops_tramp(const struct bpf_tramp_nodes *fentry_nodes) in is_struct_ops_tramp()
2224 int bpf_struct_ops_prepare_trampoline(struct bpf_tramp_nodes *tnodes,
2320 static inline int bpf_fsession_cnt(struct bpf_tramp_nodes *nodes) in bpf_fsession_cnt()
2322 struct bpf_tramp_nodes fentries = nodes[BPF_TRAMP_FENTRY]; in bpf_fsession_cnt()
2340 static inline int bpf_fsession_cookie_cnt(struct bpf_tramp_nodes *nodes) in bpf_fsession_cookie_cnt()
2342 struct bpf_tramp_nodes fentries = nodes[BPF_TRAMP_FENTRY]; in bpf_fsession_cookie_cnt()
/linux/arch/riscv/net/
H A Dbpf_jit_comp64.c969 static int invoke_bpf(struct bpf_tramp_nodes *tn, int args_off, int retval_off, in invoke_bpf()
994 struct bpf_tramp_nodes *tnodes, in __arch_prepare_bpf_trampoline()
1004 struct bpf_tramp_nodes *fentry = &tnodes[BPF_TRAMP_FENTRY]; in __arch_prepare_bpf_trampoline()
1005 struct bpf_tramp_nodes *fexit = &tnodes[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline()
1006 struct bpf_tramp_nodes *fmod_ret = &tnodes[BPF_TRAMP_MODIFY_RETURN]; in __arch_prepare_bpf_trampoline()
1300 struct bpf_tramp_nodes *tnodes, void *func_addr) in arch_bpf_trampoline_size()
1326 u32 flags, struct bpf_tramp_nodes *tnodes, in arch_prepare_bpf_trampoline()
/linux/arch/s390/net/
H A Dbpf_jit_comp.c2642 struct bpf_tramp_nodes *tn, bool save_ret, in invoke_bpf()
2684 struct bpf_tramp_nodes *tnodes, in __arch_prepare_bpf_trampoline()
2687 struct bpf_tramp_nodes *fmod_ret = &tnodes[BPF_TRAMP_MODIFY_RETURN]; in __arch_prepare_bpf_trampoline()
2688 struct bpf_tramp_nodes *fentry = &tnodes[BPF_TRAMP_FENTRY]; in __arch_prepare_bpf_trampoline()
2689 struct bpf_tramp_nodes *fexit = &tnodes[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline()
2997 struct bpf_tramp_nodes *tnodes, void *orig_call) in arch_bpf_trampoline_size()
3013 u32 flags, struct bpf_tramp_nodes *tnodes, in arch_prepare_bpf_trampoline()
/linux/arch/loongarch/net/
H A Dbpf_jit.c1762 static int invoke_bpf(struct jit_ctx *ctx, struct bpf_tramp_nodes *tn, in invoke_bpf()
1832 const struct btf_func_model *m, struct bpf_tramp_nodes *tnodes, in __arch_prepare_bpf_trampoline()
1842 struct bpf_tramp_nodes *fentry = &tnodes[BPF_TRAMP_FENTRY]; in __arch_prepare_bpf_trampoline()
1843 struct bpf_tramp_nodes *fexit = &tnodes[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline()
1844 struct bpf_tramp_nodes *fmod_ret = &tnodes[BPF_TRAMP_MODIFY_RETURN]; in __arch_prepare_bpf_trampoline()
2140 u32 flags, struct bpf_tramp_nodes *tnodes, void *func_addr) in arch_prepare_bpf_trampoline()
2177 struct bpf_tramp_nodes *tnodes, void *func_addr) in arch_bpf_trampoline_size()
/linux/arch/x86/net/
H A Dbpf_jit_comp.c3334 struct bpf_tramp_nodes *tl, int stack_size, in invoke_bpf()
3357 struct bpf_tramp_nodes *tl, int stack_size, in invoke_bpf_mod_ret()
3461 struct bpf_tramp_nodes *tnodes, in __arch_prepare_bpf_trampoline()
3466 struct bpf_tramp_nodes *fentry = &tnodes[BPF_TRAMP_FENTRY]; in __arch_prepare_bpf_trampoline()
3467 struct bpf_tramp_nodes *fexit = &tnodes[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline()
3468 struct bpf_tramp_nodes *fmod_ret = &tnodes[BPF_TRAMP_MODIFY_RETURN]; in __arch_prepare_bpf_trampoline()
3783 struct bpf_tramp_nodes *tnodes, in arch_prepare_bpf_trampoline()
3811 struct bpf_tramp_nodes *tnodes, void *func_addr) in arch_bpf_trampoline_size()
/linux/arch/arm64/net/
H A Dbpf_jit_comp.c2486 static void invoke_bpf_mod_ret(struct jit_ctx *ctx, struct bpf_tramp_nodes *tn, in invoke_bpf_mod_ret()
2697 struct bpf_tramp_nodes *tnodes, void *func_addr, in prepare_trampoline()
2713 struct bpf_tramp_nodes *fentry = &tnodes[BPF_TRAMP_FENTRY]; in prepare_trampoline()
2714 struct bpf_tramp_nodes *fexit = &tnodes[BPF_TRAMP_FEXIT]; in prepare_trampoline()
2715 struct bpf_tramp_nodes *fmod_ret = &tnodes[BPF_TRAMP_MODIFY_RETURN]; in prepare_trampoline()
2989 struct bpf_tramp_nodes *tnodes, void *func_addr) in arch_bpf_trampoline_size()
3027 u32 flags, struct bpf_tramp_nodes *tnodes, in arch_prepare_bpf_trampoline()