Home
last modified time | relevance | path

Searched refs:run_ctx_off (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/arch/x86/net/
Dbpf_jit_comp.c2131 int run_ctx_off, bool save_ret) in invoke_bpf_prog() argument
2149 emit_stx(&prog, BPF_DW, BPF_REG_FP, BPF_REG_1, -run_ctx_off + ctx_cookie_off); in invoke_bpf_prog()
2154 if (!is_imm8(-run_ctx_off)) in invoke_bpf_prog()
2155 EMIT3_off32(0x48, 0x8D, 0xB5, -run_ctx_off); in invoke_bpf_prog()
2157 EMIT4(0x48, 0x8D, 0x75, -run_ctx_off); in invoke_bpf_prog()
2206 if (!is_imm8(-run_ctx_off)) in invoke_bpf_prog()
2207 EMIT3_off32(0x48, 0x8D, 0x95, -run_ctx_off); in invoke_bpf_prog()
2209 EMIT4(0x48, 0x8D, 0x55, -run_ctx_off); in invoke_bpf_prog()
2245 int run_ctx_off, bool save_ret) in invoke_bpf() argument
2252 run_ctx_off, save_ret)) in invoke_bpf()
[all …]
/linux-6.6.21/arch/arm64/net/
Dbpf_jit_comp.c1708 int args_off, int retval_off, int run_ctx_off, in invoke_bpf_prog() argument
1722 emit(A64_STR64I(A64_ZR, A64_SP, run_ctx_off + cookie_off), ctx); in invoke_bpf_prog()
1725 emit(A64_STR64I(A64_R(10), A64_SP, run_ctx_off + cookie_off), in invoke_bpf_prog()
1737 emit(A64_ADD_I(1, A64_R(1), A64_SP, run_ctx_off), ctx); in invoke_bpf_prog()
1769 emit(A64_ADD_I(1, A64_R(2), A64_SP, run_ctx_off), ctx); in invoke_bpf_prog()
1775 int args_off, int retval_off, int run_ctx_off, in invoke_bpf_mod_ret() argument
1786 run_ctx_off, true); in invoke_bpf_mod_ret()
1842 int run_ctx_off; in prepare_trampoline() local
1875 run_ctx_off = stack_size; in prepare_trampoline()
1951 retval_off, run_ctx_off, in prepare_trampoline()
[all …]
/linux-6.6.21/arch/riscv/net/
Dbpf_jit_comp64.c722 int run_ctx_off, bool save_ret, struct rv_jit_context *ctx) in invoke_bpf_prog() argument
730 emit_sd(RV_REG_FP, -run_ctx_off + cookie_off, RV_REG_T1, ctx); in invoke_bpf_prog()
732 emit_sd(RV_REG_FP, -run_ctx_off + cookie_off, RV_REG_ZERO, ctx); in invoke_bpf_prog()
738 emit_addi(RV_REG_A1, RV_REG_FP, -run_ctx_off, ctx); in invoke_bpf_prog()
779 emit_addi(RV_REG_A2, RV_REG_FP, -run_ctx_off, ctx); in invoke_bpf_prog()
794 int retval_off, args_off, nregs_off, ip_off, run_ctx_off, sreg_off; in __arch_prepare_bpf_trampoline() local
874 run_ctx_off = stack_size; in __arch_prepare_bpf_trampoline()
931 ret = invoke_bpf_prog(fentry->links[i], args_off, retval_off, run_ctx_off, in __arch_prepare_bpf_trampoline()
946 run_ctx_off, true, ctx); in __arch_prepare_bpf_trampoline()
978 run_ctx_off, false, ctx); in __arch_prepare_bpf_trampoline()
/linux-6.6.21/arch/s390/net/
Dbpf_jit_comp.c2090 int run_ctx_off; /* Offset of struct bpf_tramp_run_ctx */ member
2110 int cookie_off = tjit->run_ctx_off + in invoke_bpf_prog()
2134 EMIT4_DISP(0x41000000, REG_3, REG_15, tjit->run_ctx_off); in invoke_bpf_prog()
2179 EMIT4_DISP(0x41000000, REG_4, REG_15, tjit->run_ctx_off); in invoke_bpf_prog()
2265 tjit->run_ctx_off = alloc_stack(tjit, in __arch_prepare_bpf_trampoline()