/arch/powerpc/net/ |
D | bpf_jit_comp64.c | 207 unsigned long func_addr = func ? ppc_function_entry((void *)func) : 0; in bpf_jit_emit_func_call_hlp() local 210 if (WARN_ON_ONCE(!core_kernel_text(func_addr))) in bpf_jit_emit_func_call_hlp() 214 reladdr = func_addr - CTX_NIA(ctx); in bpf_jit_emit_func_call_hlp() 228 reladdr = func_addr - kernel_toc_addr(); in bpf_jit_emit_func_call_hlp() 386 u64 func_addr; in bpf_jit_build_body() local 1003 &func_addr, &func_addr_fixed); in bpf_jit_build_body() 1008 ret = bpf_jit_emit_func_call_hlp(image, ctx, func_addr); in bpf_jit_build_body() 1010 ret = bpf_jit_emit_func_call_rel(image, ctx, func_addr); in bpf_jit_build_body()
|
D | bpf_jit_comp32.c | 307 u64 func_addr; in bpf_jit_build_body() local 1059 &func_addr, &func_addr_fixed); in bpf_jit_build_body() 1068 ret = bpf_jit_emit_func_call_rel(image, ctx, func_addr); in bpf_jit_build_body()
|
/arch/parisc/net/ |
D | bpf_jit_comp32.c | 328 u32 func_addr; in emit_call_millicode() local 337 func_addr = (uintptr_t) dereference_function_descriptor(func); in emit_call_millicode() 338 emit(hppa_ldil(func_addr, HPPA_REG_R31), ctx); in emit_call_millicode() 348 emit(hppa_be_l(im11(func_addr) >> 2, HPPA_REG_R31, NOP_NEXT_INSTR), ctx); in emit_call_millicode() 362 u32 func_addr; in emit_call_libgcc_ll() local 376 func_addr = (uintptr_t) dereference_function_descriptor(func); in emit_call_libgcc_ll() 377 emit(hppa_ldil(func_addr, HPPA_REG_R31), ctx); in emit_call_libgcc_ll() 387 emit(hppa_be_l(im11(func_addr) >> 2, HPPA_REG_R31, EXEC_NEXT_INSTR), ctx); in emit_call_libgcc_ll()
|
D | bpf_jit_comp64.c | 508 u64 func_addr; in emit_call_libgcc_ll() local 527 func_addr = (uintptr_t) func; in emit_call_libgcc_ll() 529 emit_imm(HPPA_REG_R31, func_addr, arg0, ctx); in emit_call_libgcc_ll()
|
/arch/riscv/net/ |
D | bpf_jit_comp64.c | 788 void *func_addr, u32 flags, in __arch_prepare_bpf_trampoline() argument 798 void *orig_call = func_addr; in __arch_prepare_bpf_trampoline() 881 if (func_addr) { in __arch_prepare_bpf_trampoline() 910 emit_imm(RV_REG_T1, (const s64)func_addr, ctx); in __arch_prepare_bpf_trampoline() 1001 if (func_addr) { in __arch_prepare_bpf_trampoline() 1035 void *func_addr) in arch_prepare_bpf_trampoline() argument 1043 ret = __arch_prepare_bpf_trampoline(im, m, tlinks, func_addr, flags, &ctx); in arch_prepare_bpf_trampoline() 1060 ret = __arch_prepare_bpf_trampoline(im, m, tlinks, func_addr, flags, &ctx); in arch_prepare_bpf_trampoline()
|
/arch/s390/net/ |
D | bpf_jit_comp.c | 2207 void *func_addr) in __arch_prepare_bpf_trampoline() argument 2224 if (!func_addr && !(flags & BPF_TRAMP_F_ORIG_STACK)) in __arch_prepare_bpf_trampoline() 2340 load_imm64(jit, REG_8, (u64)func_addr + S390X_PATCH_SIZE); in __arch_prepare_bpf_trampoline() 2350 load_imm64(jit, REG_0, (u64)func_addr); in __arch_prepare_bpf_trampoline() 2502 void *func_addr) in arch_prepare_bpf_trampoline() argument 2518 tlinks, func_addr); in arch_prepare_bpf_trampoline()
|
/arch/powerpc/kernel/ |
D | module_64.c | 89 static unsigned long func_addr(unsigned long addr) in func_addr() function 683 if (stub_func_addr(stubs[i].funcdata) == func_addr(addr)) in stub_for_addr()
|
/arch/loongarch/net/ |
D | bpf_jit.c | 452 u64 func_addr; in build_insn() local 839 &func_addr, &func_addr_fixed); in build_insn() 843 move_addr(ctx, t1, func_addr); in build_insn()
|
/arch/x86/net/ |
D | bpf_jit_comp.c | 2351 void *func_addr) in arch_prepare_bpf_trampoline() argument 2358 void *orig_call = func_addr; in arch_prepare_bpf_trampoline() 2480 emit_mov_imm64(&prog, BPF_REG_0, (long) func_addr >> 32, (u32) (long) func_addr); in arch_prepare_bpf_trampoline()
|
/arch/arm64/net/ |
D | bpf_jit_comp.c | 1118 u64 func_addr; in build_insn() local 1121 &func_addr, &func_addr_fixed); in build_insn() 1124 emit_call(func_addr, ctx); in build_insn()
|