Searched refs:bpf_tramp_nodes (Results 1 – 9 of 9) sorted by relevance
| /linux/arch/powerpc/net/ |
| H A D | bpf_jit_comp.c | 695 struct bpf_tramp_image *im, struct bpf_tramp_nodes *tn, in invoke_bpf_mod_ret() 823 struct bpf_tramp_nodes *tnodes, in __arch_prepare_bpf_trampoline() 828 struct bpf_tramp_nodes *fmod_ret = &tnodes[BPF_TRAMP_MODIFY_RETURN]; in __arch_prepare_bpf_trampoline() 829 struct bpf_tramp_nodes *fentry = &tnodes[BPF_TRAMP_FENTRY]; in __arch_prepare_bpf_trampoline() 830 struct bpf_tramp_nodes *fexit = &tnodes[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline() 1194 struct bpf_tramp_nodes *tnodes, void *func_addr) in arch_bpf_trampoline_size() 1205 struct bpf_tramp_nodes *tnodes, in arch_prepare_bpf_trampoline()
|
| /linux/kernel/bpf/ |
| H A D | trampoline.c | 508 static struct bpf_tramp_nodes * 512 struct bpf_tramp_nodes *tnodes; in bpf_trampoline_get_progs() 540 struct bpf_tramp_nodes *tnodes, u32 flags) in bpf_tramp_arena_base() 723 struct bpf_tramp_nodes *tnodes; in bpf_trampoline_update() 1532 struct bpf_tramp_nodes *tnodes, in arch_prepare_bpf_trampoline() 1566 struct bpf_tramp_nodes *tnodes, void *func_addr) in arch_bpf_trampoline_size()
|
| H A D | bpf_struct_ops.c | 637 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 D | bpf.h | 1278 struct bpf_tramp_nodes { struct 1290 struct bpf_tramp_nodes *tnodes, u32 flags); argument 1317 struct bpf_tramp_nodes *tnodes, 1324 struct bpf_tramp_nodes *tnodes, void *func_addr); 2237 static inline bool is_struct_ops_tramp(const struct bpf_tramp_nodes *fentry_nodes) in is_struct_ops_tramp() 2263 int bpf_struct_ops_prepare_trampoline(struct bpf_tramp_nodes *tnodes, 2359 static inline int bpf_fsession_cnt(struct bpf_tramp_nodes *nodes) in bpf_fsession_cnt() 2361 struct bpf_tramp_nodes fentries = nodes[BPF_TRAMP_FENTRY]; in bpf_fsession_cnt() 2379 static inline int bpf_fsession_cookie_cnt(struct bpf_tramp_nodes *nodes) in bpf_fsession_cookie_cnt() 2381 struct bpf_tramp_nodes fentries = nodes[BPF_TRAMP_FENTRY]; in bpf_fsession_cookie_cnt()
|
| /linux/arch/s390/net/ |
| H A D | bpf_jit_comp.c | 2644 struct bpf_tramp_nodes *tn, bool save_ret, in invoke_bpf() 2686 struct bpf_tramp_nodes *tnodes, in __arch_prepare_bpf_trampoline() 2689 struct bpf_tramp_nodes *fmod_ret = &tnodes[BPF_TRAMP_MODIFY_RETURN]; in __arch_prepare_bpf_trampoline() 2690 struct bpf_tramp_nodes *fentry = &tnodes[BPF_TRAMP_FENTRY]; in __arch_prepare_bpf_trampoline() 2691 struct bpf_tramp_nodes *fexit = &tnodes[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline() 2995 struct bpf_tramp_nodes *tnodes, void *orig_call) in arch_bpf_trampoline_size() 3011 u32 flags, struct bpf_tramp_nodes *tnodes, in arch_prepare_bpf_trampoline()
|
| /linux/arch/riscv/net/ |
| H A D | bpf_jit_comp64.c | 995 static int invoke_bpf(struct bpf_tramp_image *im, struct bpf_tramp_nodes *tn, in invoke_bpf() 1021 struct bpf_tramp_nodes *tnodes, in __arch_prepare_bpf_trampoline() 1031 struct bpf_tramp_nodes *fentry = &tnodes[BPF_TRAMP_FENTRY]; in __arch_prepare_bpf_trampoline() 1032 struct bpf_tramp_nodes *fexit = &tnodes[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline() 1033 struct bpf_tramp_nodes *fmod_ret = &tnodes[BPF_TRAMP_MODIFY_RETURN]; in __arch_prepare_bpf_trampoline() 1322 struct bpf_tramp_nodes *tnodes, void *func_addr) in arch_bpf_trampoline_size() 1348 u32 flags, struct bpf_tramp_nodes *tnodes, in arch_prepare_bpf_trampoline()
|
| /linux/arch/loongarch/net/ |
| H A D | bpf_jit.c | 1789 struct bpf_tramp_nodes *tn, int args_off, int retval_off, in invoke_bpf() 1860 const struct btf_func_model *m, struct bpf_tramp_nodes *tnodes, in __arch_prepare_bpf_trampoline() 1870 struct bpf_tramp_nodes *fentry = &tnodes[BPF_TRAMP_FENTRY]; in __arch_prepare_bpf_trampoline() 1871 struct bpf_tramp_nodes *fexit = &tnodes[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline() 1872 struct bpf_tramp_nodes *fmod_ret = &tnodes[BPF_TRAMP_MODIFY_RETURN]; in __arch_prepare_bpf_trampoline() 2163 u32 flags, struct bpf_tramp_nodes *tnodes, void *func_addr) in arch_prepare_bpf_trampoline() 2200 struct bpf_tramp_nodes *tnodes, void *func_addr) in arch_bpf_trampoline_size()
|
| /linux/arch/x86/net/ |
| H A D | bpf_jit_comp.c | 3343 struct bpf_tramp_nodes *tl, int stack_size, in invoke_bpf() 3367 struct bpf_tramp_nodes *tl, int stack_size, in invoke_bpf_mod_ret() 3471 struct bpf_tramp_nodes *tnodes, in __arch_prepare_bpf_trampoline() 3476 struct bpf_tramp_nodes *fentry = &tnodes[BPF_TRAMP_FENTRY]; in __arch_prepare_bpf_trampoline() 3477 struct bpf_tramp_nodes *fexit = &tnodes[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline() 3478 struct bpf_tramp_nodes *fmod_ret = &tnodes[BPF_TRAMP_MODIFY_RETURN]; in __arch_prepare_bpf_trampoline() 3790 struct bpf_tramp_nodes *tnodes, in arch_prepare_bpf_trampoline() 3818 struct bpf_tramp_nodes *tnodes, void *func_addr) in arch_bpf_trampoline_size()
|
| /linux/arch/arm64/net/ |
| H A D | bpf_jit_comp.c | 2491 struct bpf_tramp_nodes *tn, int bargs_off, in invoke_bpf_mod_ret() 2695 struct bpf_tramp_nodes *tnodes, void *func_addr, in prepare_trampoline() 2711 struct bpf_tramp_nodes *fentry = &tnodes[BPF_TRAMP_FENTRY]; in prepare_trampoline() 2712 struct bpf_tramp_nodes *fexit = &tnodes[BPF_TRAMP_FEXIT]; in prepare_trampoline() 2713 struct bpf_tramp_nodes *fmod_ret = &tnodes[BPF_TRAMP_MODIFY_RETURN]; in prepare_trampoline() 2983 struct bpf_tramp_nodes *tnodes, void *func_addr) in arch_bpf_trampoline_size() 3021 u32 flags, struct bpf_tramp_nodes *tnodes, in arch_prepare_bpf_trampoline()
|