Searched refs:RV_MAX_REG_ARGS (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/arch/riscv/net/ |
D | bpf_jit_comp64.c | 18 #define RV_MAX_REG_ARGS 8 macro 704 if (i < RV_MAX_REG_ARGS) { in store_args() 708 emit_ld(RV_REG_T1, 16 + (i - RV_MAX_REG_ARGS) * 8, RV_REG_FP, ctx); in store_args() 731 emit_ld(RV_REG_T1, -(args_off - RV_MAX_REG_ARGS * 8), RV_REG_FP, ctx); in restore_stack_args() 898 if ((flags & BPF_TRAMP_F_CALL_ORIG) && (nr_arg_slots - RV_MAX_REG_ARGS > 0)) in __arch_prepare_bpf_trampoline() 899 stack_size += (nr_arg_slots - RV_MAX_REG_ARGS) * 8; in __arch_prepare_bpf_trampoline() 984 restore_args(min_t(int, nr_arg_slots, RV_MAX_REG_ARGS), args_off, ctx); in __arch_prepare_bpf_trampoline() 985 restore_stack_args(nr_arg_slots - RV_MAX_REG_ARGS, args_off, stk_arg_off, ctx); in __arch_prepare_bpf_trampoline() 1020 restore_args(min_t(int, nr_arg_slots, RV_MAX_REG_ARGS), args_off, ctx); in __arch_prepare_bpf_trampoline()
|