Searched refs:args_off (Results 1 – 2 of 2) sorted by relevance
/linux/arch/riscv/net/ |
H A D | bpf_jit_comp64.c | 905 static void store_args(int nr_arg_slots, int args_off, struct rv_jit_context *ctx) in store_args() argument 911 emit_sd(RV_REG_FP, -args_off, RV_REG_A0 + i, ctx); in store_args() 915 emit_sd(RV_REG_FP, -args_off, RV_REG_T1, ctx); in store_args() 917 args_off -= 8; in store_args() 921 static void restore_args(int nr_reg_args, int args_off, struct rv_jit_context *ctx) in restore_args() argument 926 emit_ld(RV_REG_A0 + i, -args_off, RV_REG_FP, ctx); in restore_args() 927 args_off -= 8; in restore_args() 931 static void restore_stack_args(int nr_stack_args, int args_off, int stk_arg_off, in restore_stack_args() argument 937 emit_ld(RV_REG_T1, -(args_off - RV_MAX_REG_ARGS * 8), RV_REG_FP, ctx); in restore_stack_args() 939 args_off in restore_stack_args() 944 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) invoke_bpf_prog() argument 1017 int retval_off, args_off, nregs_off, ip_off, run_ctx_off, sreg_off, stk_arg_off; __arch_prepare_bpf_trampoline() local [all...] |
/linux/arch/loongarch/net/ |
H A D | bpf_jit.c | 1343 static void store_args(struct jit_ctx *ctx, int nargs, int args_off) in store_args() argument 1348 emit_insn(ctx, std, LOONGARCH_GPR_A0 + i, LOONGARCH_GPR_FP, -args_off); in store_args() 1349 args_off -= 8; in store_args() 1353 static void restore_args(struct jit_ctx *ctx, int nargs, int args_off) in restore_args() argument 1358 emit_insn(ctx, ldd, LOONGARCH_GPR_A0 + i, LOONGARCH_GPR_FP, -args_off); in restore_args() 1359 args_off -= 8; in restore_args() 1364 int args_off, int retval_off, int run_ctx_off, bool save_ret) in invoke_bpf_prog() argument 1397 /* arg1: &args_off */ in invoke_bpf_prog() 1398 emit_insn(ctx, addid, LOONGARCH_GPR_A0, LOONGARCH_GPR_FP, -args_off); in invoke_bpf_prog() 1428 int args_off, in in invoke_bpf_mod_ret() argument 1457 int retval_off, args_off, nargs_off, ip_off, run_ctx_off, sreg_off, tcc_ptr_off; __arch_prepare_bpf_trampoline() local [all...] |