Searched refs:retval_off (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/arch/riscv/net/ |
D | bpf_jit_comp64.c | 738 static int invoke_bpf_prog(struct bpf_tramp_link *l, int args_off, int retval_off, in invoke_bpf_prog() argument 780 emit_sd(RV_REG_FP, -retval_off, RV_REG_A0, ctx); in invoke_bpf_prog() 781 emit_sd(RV_REG_FP, -(retval_off - 8), regmap[BPF_REG_0], ctx); in invoke_bpf_prog() 811 int retval_off, args_off, nregs_off, ip_off, run_ctx_off, sreg_off, stk_arg_off; in __arch_prepare_bpf_trampoline() local 878 retval_off = stack_size; in __arch_prepare_bpf_trampoline() 958 ret = invoke_bpf_prog(fentry->links[i], args_off, retval_off, run_ctx_off, in __arch_prepare_bpf_trampoline() 970 emit_sd(RV_REG_FP, -retval_off, RV_REG_ZERO, ctx); in __arch_prepare_bpf_trampoline() 972 ret = invoke_bpf_prog(fmod_ret->links[i], args_off, retval_off, in __arch_prepare_bpf_trampoline() 976 emit_ld(RV_REG_T1, -retval_off, RV_REG_FP, ctx); in __arch_prepare_bpf_trampoline() 989 emit_sd(RV_REG_FP, -retval_off, RV_REG_A0, ctx); in __arch_prepare_bpf_trampoline() [all …]
|
/linux-6.12.1/arch/arm64/net/ |
D | bpf_jit_comp.c | 1986 int args_off, int retval_off, int run_ctx_off, in invoke_bpf_prog() argument 2035 emit(A64_STR64I(A64_R(0), A64_SP, retval_off), ctx); in invoke_bpf_prog() 2053 int args_off, int retval_off, int run_ctx_off, in invoke_bpf_mod_ret() argument 2061 emit(A64_STR64I(A64_ZR, A64_SP, retval_off), ctx); in invoke_bpf_mod_ret() 2063 invoke_bpf_prog(ctx, tl->links[i], args_off, retval_off, in invoke_bpf_mod_ret() 2068 emit(A64_LDR64I(A64_R(10), A64_SP, retval_off), ctx); in invoke_bpf_mod_ret() 2116 int retval_off; in prepare_trampoline() local 2171 retval_off = stack_size; in prepare_trampoline() 2233 retval_off, run_ctx_off, in prepare_trampoline() 2242 invoke_bpf_mod_ret(ctx, fmod_ret, args_off, retval_off, in prepare_trampoline() [all …]
|
/linux-6.12.1/arch/s390/net/ |
D | bpf_jit_comp.c | 2448 int retval_off; /* Offset of return value (see above) */ member 2524 tjit->retval_off); in invoke_bpf_prog() 2627 tjit->retval_off = alloc_stack(tjit, sizeof(u64)); in __arch_prepare_bpf_trampoline() 2751 _EMIT6(0xd707f000 | tjit->retval_off, in __arch_prepare_bpf_trampoline() 2752 0xf000 | tjit->retval_off); in __arch_prepare_bpf_trampoline() 2765 tjit->retval_off); in __arch_prepare_bpf_trampoline() 2795 tjit->retval_off); in __arch_prepare_bpf_trampoline() 2844 tjit->retval_off); in __arch_prepare_bpf_trampoline()
|