/linux-master/arch/arm64/net/ |
H A D | bpf_jit_comp.c | 1814 int args_off, int retval_off, int run_ctx_off, 1828 emit(A64_STR64I(A64_ZR, A64_SP, run_ctx_off + cookie_off), ctx); 1831 emit(A64_STR64I(A64_R(10), A64_SP, run_ctx_off + cookie_off), 1843 emit(A64_ADD_I(1, A64_R(1), A64_SP, run_ctx_off), ctx); 1875 emit(A64_ADD_I(1, A64_R(2), A64_SP, run_ctx_off), ctx); 1881 int args_off, int retval_off, int run_ctx_off, 1892 run_ctx_off, true); 1948 int run_ctx_off; local 1977 * SP + run_ctx_off [ bpf_tramp_run_ctx ] 1981 run_ctx_off 1813 invoke_bpf_prog(struct jit_ctx *ctx, struct bpf_tramp_link *l, int args_off, int retval_off, int run_ctx_off, bool save_ret) argument 1880 invoke_bpf_mod_ret(struct jit_ctx *ctx, struct bpf_tramp_links *tl, int args_off, int retval_off, int run_ctx_off, __le32 **branches) argument [all...] |
/linux-master/arch/x86/net/ |
H A D | bpf_jit_comp.c | 2479 int run_ctx_off, bool save_ret, 2496 * mov QWORD PTR [rbp - run_ctx_off + ctx_cookie_off], rdi 2498 emit_stx(&prog, BPF_DW, BPF_REG_FP, BPF_REG_1, -run_ctx_off + ctx_cookie_off); 2503 if (!is_imm8(-run_ctx_off)) 2504 EMIT3_off32(0x48, 0x8D, 0xB5, -run_ctx_off); 2506 EMIT4(0x48, 0x8D, 0x75, -run_ctx_off); 2554 /* arg3: lea rdx, [rbp - run_ctx_off] */ 2555 if (!is_imm8(-run_ctx_off)) 2556 EMIT3_off32(0x48, 0x8D, 0x95, -run_ctx_off); 2558 EMIT4(0x48, 0x8D, 0x55, -run_ctx_off); 2477 invoke_bpf_prog(const struct btf_func_model *m, u8 **pprog, struct bpf_tramp_link *l, int stack_size, int run_ctx_off, bool save_ret, void *image, void *rw_image) argument 2592 invoke_bpf(const struct btf_func_model *m, u8 **pprog, struct bpf_tramp_links *tl, int stack_size, int run_ctx_off, bool save_ret, void *image, void *rw_image) argument 2609 invoke_bpf_mod_ret(const struct btf_func_model *m, u8 **pprog, struct bpf_tramp_links *tl, int stack_size, int run_ctx_off, u8 **branches, void *image, void *rw_image) argument 2714 int regs_off, nregs_off, ip_off, run_ctx_off, arg_stack_off, rbx_off; local [all...] |
/linux-master/arch/riscv/net/ |
H A D | bpf_jit_comp64.c | 704 int run_ctx_off, bool save_ret, struct rv_jit_context *ctx) 712 emit_sd(RV_REG_FP, -run_ctx_off + cookie_off, RV_REG_T1, ctx); 714 emit_sd(RV_REG_FP, -run_ctx_off + cookie_off, RV_REG_ZERO, ctx); 720 emit_addi(RV_REG_A1, RV_REG_FP, -run_ctx_off, ctx); 761 emit_addi(RV_REG_A2, RV_REG_FP, -run_ctx_off, ctx); 776 int retval_off, args_off, nregs_off, ip_off, run_ctx_off, sreg_off; local 817 * FP - run_ctx_off [ bpf_tramp_run_ctx ] 857 run_ctx_off = stack_size; 916 ret = invoke_bpf_prog(fentry->links[i], args_off, retval_off, run_ctx_off, 931 run_ctx_off, tru 703 invoke_bpf_prog(struct bpf_tramp_link *l, int args_off, int retval_off, int run_ctx_off, bool save_ret, struct rv_jit_context *ctx) argument [all...] |
/linux-master/arch/s390/net/ |
H A D | bpf_jit_comp.c | 2223 int run_ctx_off; /* Offset of struct bpf_tramp_run_ctx */ member in struct:bpf_tramp_jit 2243 int cookie_off = tjit->run_ctx_off + 2266 /* la %r3,run_ctx_off(%r15) */ 2267 EMIT4_DISP(0x41000000, REG_3, REG_15, tjit->run_ctx_off); 2311 /* la %r4,run_ctx_off(%r15) */ 2312 EMIT4_DISP(0x41000000, REG_4, REG_15, tjit->run_ctx_off); 2399 tjit->run_ctx_off = alloc_stack(tjit,
|