Searched refs:regs_off (Results 1 – 3 of 3) sorted by relevance
| /linux-6.15/arch/powerpc/net/ |
| H A D | bpf_jit_comp.c | 459 struct bpf_tramp_link *l, int regs_off, int retval_off, in invoke_bpf_prog() argument 504 EMIT(PPC_RAW_ADDI(_R3, _R1, regs_off)); in invoke_bpf_prog() 607 int nr_regs, int regs_off) in bpf_trampoline_save_args() argument 616 EMIT(PPC_RAW_STL(_R3 + i, _R1, regs_off + i * SZL)); in bpf_trampoline_save_args() 619 EMIT(PPC_RAW_STL(_R3, _R1, regs_off + i * SZL)); in bpf_trampoline_save_args() 626 int nr_regs, int regs_off) in bpf_trampoline_restore_args_regs() argument 629 EMIT(PPC_RAW_LL(_R3 + i, _R1, regs_off + i * SZL)); in bpf_trampoline_restore_args_regs() 634 int func_frame_offset, int nr_regs, int regs_off) in bpf_trampoline_restore_args_stack() argument 645 bpf_trampoline_restore_args_regs(image, ctx, nr_regs, regs_off); in bpf_trampoline_restore_args_stack() 743 regs_off = bpf_frame_size; in __arch_prepare_bpf_trampoline() [all …]
|
| /linux-6.15/arch/x86/net/ |
| H A D | bpf_jit_comp.c | 3073 int regs_off, nregs_off, ip_off, run_ctx_off, arg_stack_off, rbx_off; in __arch_prepare_bpf_trampoline() local 3135 regs_off = stack_size; in __arch_prepare_bpf_trampoline() 3221 save_args(m, &prog, regs_off, false); in __arch_prepare_bpf_trampoline() 3234 if (invoke_bpf(m, &prog, fentry, regs_off, run_ctx_off, in __arch_prepare_bpf_trampoline() 3245 if (invoke_bpf_mod_ret(m, &prog, fmod_ret, regs_off, in __arch_prepare_bpf_trampoline() 3253 restore_regs(m, &prog, regs_off); in __arch_prepare_bpf_trampoline() 3296 if (invoke_bpf(m, &prog, fexit, regs_off, run_ctx_off, in __arch_prepare_bpf_trampoline() 3304 restore_regs(m, &prog, regs_off); in __arch_prepare_bpf_trampoline()
|
| /linux-6.15/arch/arm64/net/ |
| H A D | bpf_jit_comp.c | 2251 int regs_off; in prepare_trampoline() local 2314 regs_off = stack_size; in prepare_trampoline() 2359 emit(A64_STR64I(A64_R(19), A64_SP, regs_off), ctx); in prepare_trampoline() 2360 emit(A64_STR64I(A64_R(20), A64_SP, regs_off + 8), ctx); in prepare_trampoline() 2423 emit(A64_LDR64I(A64_R(19), A64_SP, regs_off), ctx); in prepare_trampoline() 2424 emit(A64_LDR64I(A64_R(20), A64_SP, regs_off + 8), ctx); in prepare_trampoline()
|