Home
last modified time | relevance | path

Searched refs:nr_reg_args (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/arch/s390/net/
Dbpf_jit_comp.c2577 int nr_bpf_args, nr_reg_args, nr_stack_args; in __arch_prepare_bpf_trampoline() local
2583 nr_reg_args = min_t(int, m->nr_args, MAX_NR_REG_ARGS); in __arch_prepare_bpf_trampoline()
2584 nr_stack_args = m->nr_args - nr_reg_args; in __arch_prepare_bpf_trampoline()
2623 tjit->reg_args_off = alloc_stack(tjit, nr_reg_args * sizeof(u64)); in __arch_prepare_bpf_trampoline()
2652 if (nr_reg_args) in __arch_prepare_bpf_trampoline()
2654 REG_2 + (nr_reg_args - 1), REG_15, in __arch_prepare_bpf_trampoline()
2777 if (nr_reg_args) in __arch_prepare_bpf_trampoline()
2779 REG_2 + (nr_reg_args - 1), REG_15, in __arch_prepare_bpf_trampoline()
2829 if ((flags & BPF_TRAMP_F_RESTORE_REGS) && nr_reg_args) in __arch_prepare_bpf_trampoline()
2831 REG_2 + (nr_reg_args - 1), REG_15, in __arch_prepare_bpf_trampoline()
/linux-6.12.1/arch/riscv/net/
Dbpf_jit_comp64.c715 static void restore_args(int nr_reg_args, int args_off, struct rv_jit_context *ctx) in restore_args() argument
719 for (i = 0; i < nr_reg_args; i++) { in restore_args()