Searched refs:args_off (Results 1 – 2 of 2) sorted by relevance
| /linux/arch/riscv/net/ |
| H A D | bpf_jit_comp64.c | 860 static void store_args(int nr_arg_slots, int args_off, struct rv_jit_context *ctx) in store_args() argument 866 emit_sd(RV_REG_FP, -args_off, RV_REG_A0 + i, ctx); in store_args() 870 emit_sd(RV_REG_FP, -args_off, RV_REG_T1, ctx); in store_args() 872 args_off -= 8; in store_args() 876 static void restore_args(int nr_reg_args, int args_off, struct rv_jit_context *ctx) in restore_args() argument 881 emit_ld(RV_REG_A0 + i, -args_off, RV_REG_FP, ctx); in restore_args() 882 args_off -= 8; in restore_args() 886 static void restore_stack_args(int nr_stack_args, int args_off, int stk_arg_off, in restore_stack_args() argument 892 emit_ld(RV_REG_T1, -(args_off - RV_MAX_REG_ARGS * 8), RV_REG_FP, ctx); in restore_stack_args() 894 args_off -= 8; in restore_stack_args() [all …]
|
| /linux/arch/loongarch/net/ |
| H A D | bpf_jit.c | 1659 static void store_args(struct jit_ctx *ctx, int nr_arg_slots, int args_off) in store_args() argument 1665 emit_insn(ctx, std, LOONGARCH_GPR_A0 + i, LOONGARCH_GPR_FP, -args_off); in store_args() 1670 emit_insn(ctx, std, LOONGARCH_GPR_T1, LOONGARCH_GPR_FP, -args_off); in store_args() 1672 args_off -= 8; in store_args() 1676 static void restore_args(struct jit_ctx *ctx, int nr_reg_args, int args_off) in restore_args() argument 1681 emit_insn(ctx, ldd, LOONGARCH_GPR_A0 + i, LOONGARCH_GPR_FP, -args_off); in restore_args() 1682 args_off -= 8; in restore_args() 1686 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 1692 -(args_off - LOONGARCH_MAX_REG_ARGS * 8)); in restore_stk_args() 1694 args_off -= 8; in restore_stk_args() [all …]
|