Searched refs:args_off (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/arch/arm64/net/ |
D | bpf_jit_comp.c | 1708 int args_off, int retval_off, int run_ctx_off, in invoke_bpf_prog() argument 1750 emit(A64_ADD_I(1, A64_R(0), A64_SP, args_off), ctx); in invoke_bpf_prog() 1775 int args_off, int retval_off, int run_ctx_off, in invoke_bpf_mod_ret() argument 1785 invoke_bpf_prog(ctx, tl->links[i], args_off, retval_off, in invoke_bpf_mod_ret() 1799 static void save_args(struct jit_ctx *ctx, int args_off, int nregs) in save_args() argument 1804 emit(A64_STR64I(i, A64_SP, args_off), ctx); in save_args() 1805 args_off += 8; in save_args() 1809 static void restore_args(struct jit_ctx *ctx, int args_off, int nregs) in restore_args() argument 1814 emit(A64_LDR64I(i, A64_SP, args_off), ctx); in restore_args() 1815 args_off += 8; in restore_args() [all …]
|
/Linux-v6.6/arch/riscv/net/ |
D | bpf_jit_comp64.c | 701 static void store_args(int nregs, int args_off, struct rv_jit_context *ctx) in store_args() argument 706 emit_sd(RV_REG_FP, -args_off, RV_REG_A0 + i, ctx); in store_args() 707 args_off -= 8; in store_args() 711 static void restore_args(int nregs, int args_off, struct rv_jit_context *ctx) in restore_args() argument 716 emit_ld(RV_REG_A0 + i, -args_off, RV_REG_FP, ctx); in restore_args() 717 args_off -= 8; in restore_args() 721 static int invoke_bpf_prog(struct bpf_tramp_link *l, int args_off, int retval_off, in invoke_bpf_prog() argument 754 emit_addi(RV_REG_A0, RV_REG_FP, -args_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 863 args_off = stack_size; in __arch_prepare_bpf_trampoline() [all …]
|