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 | 1637 static void store_args(struct jit_ctx *ctx, int nr_arg_slots, int args_off) in store_args() argument 1643 emit_insn(ctx, std, LOONGARCH_GPR_A0 + i, LOONGARCH_GPR_FP, -args_off); in store_args() 1648 emit_insn(ctx, std, LOONGARCH_GPR_T1, LOONGARCH_GPR_FP, -args_off); in store_args() 1650 args_off -= 8; in store_args() 1654 static void restore_args(struct jit_ctx *ctx, int nr_reg_args, int args_off) in restore_args() argument 1659 emit_insn(ctx, ldd, LOONGARCH_GPR_A0 + i, LOONGARCH_GPR_FP, -args_off); in restore_args() 1660 args_off -= 8; in restore_args() 1664 static void restore_stk_args(struct jit_ctx *ctx, int nr_stk_args, int args_off, int stk_args_off) in restore_stk_args() argument 1670 -(args_off - LOONGARCH_MAX_REG_ARGS * 8)); in restore_stk_args() 1672 args_off -= 8; in restore_stk_args() [all …]
|