Searched refs:args_off (Results 1 – 2 of 2) sorted by relevance
| /linux/arch/riscv/net/ |
| H A D | bpf_jit_comp64.c | 890 static void store_args(int nr_arg_slots, int args_off, struct rv_jit_context *ctx) in store_args() argument 896 emit_sd(RV_REG_FP, -args_off, RV_REG_A0 + i, ctx); in store_args() 900 emit_sd(RV_REG_FP, -args_off, RV_REG_T1, ctx); in store_args() 902 args_off -= 8; in store_args() 906 static void restore_args(int nr_reg_args, int args_off, struct rv_jit_context *ctx) in restore_args() argument 911 emit_ld(RV_REG_A0 + i, -args_off, RV_REG_FP, ctx); in restore_args() 912 args_off -= 8; in restore_args() 916 static void restore_stack_args(int nr_stack_args, int args_off, int stk_arg_off, in restore_stack_args() argument 922 emit_ld(RV_REG_T1, -(args_off - RV_MAX_REG_ARGS * 8), RV_REG_FP, ctx); in restore_stack_args() 924 args_off -= 8; in restore_stack_args() [all …]
|
| /linux/arch/loongarch/net/ |
| H A D | bpf_jit.c | 1469 static void store_args(struct jit_ctx *ctx, int nargs, int args_off) in store_args() argument 1474 emit_insn(ctx, std, LOONGARCH_GPR_A0 + i, LOONGARCH_GPR_FP, -args_off); in store_args() 1475 args_off -= 8; in store_args() 1479 static void restore_args(struct jit_ctx *ctx, int nargs, int args_off) in restore_args() argument 1484 emit_insn(ctx, ldd, LOONGARCH_GPR_A0 + i, LOONGARCH_GPR_FP, -args_off); in restore_args() 1485 args_off -= 8; in restore_args() 1490 int args_off, int retval_off, int run_ctx_off, bool save_ret) in invoke_bpf_prog() argument 1524 emit_insn(ctx, addid, LOONGARCH_GPR_A0, LOONGARCH_GPR_FP, -args_off); in invoke_bpf_prog() 1554 int args_off, int retval_off, int run_ctx_off, u32 **branches) in invoke_bpf_mod_ret() argument 1560 invoke_bpf_prog(ctx, tl->links[i], args_off, retval_off, run_ctx_off, true); in invoke_bpf_mod_ret() [all …]
|