Home
last modified time | relevance | path

Searched refs:RV_REG_A0 (Results 1 – 3 of 3) sorted by relevance

/linux-6.15/arch/riscv/net/
H A Dbpf_jit_comp64.c31 [BPF_REG_1] = RV_REG_A0,
45 [RV_REG_A0] = offsetof(struct pt_regs, a0),
273 emit_addiw(RV_REG_A0, RV_REG_A5, 0, ctx); in __build_epilogue()
720 emit_ld(RV_REG_A0 + i, -args_off, RV_REG_FP, ctx); in restore_args()
753 emit_imm(RV_REG_A0, (const s64)p, ctx); in invoke_bpf_prog()
761 emit_mv(RV_REG_S1, RV_REG_A0, ctx); in invoke_bpf_prog()
771 emit_addi(RV_REG_A0, RV_REG_FP, -args_off, ctx); in invoke_bpf_prog()
780 emit_sd(RV_REG_FP, -retval_off, RV_REG_A0, ctx); in invoke_bpf_prog()
792 emit_imm(RV_REG_A0, (const s64)p, ctx); in invoke_bpf_prog()
989 emit_sd(RV_REG_FP, -retval_off, RV_REG_A0, ctx); in __arch_prepare_bpf_trampoline()
[all …]
H A Dbpf_jit_comp32.c75 [BPF_REG_1] = {RV_REG_A1, RV_REG_A0},
150 emit(rv_addi(RV_REG_A0, lo(r0), 0), ctx); in __build_epilogue()
769 emit(rv_addi(lo(r0), RV_REG_A0, 0), ctx); in emit_call()
1347 emit(rv_addi(lo(r1), RV_REG_A0, 0), ctx); in bpf_jit_build_prologue()
H A Dbpf_jit.h42 RV_REG_A0 = 10, /* Function argument/return values */ enumerator
70 BIT(RV_REG_A0) | in is_creg()