Home
last modified time | relevance | path

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

/openbmc/linux/arch/riscv/net/
H A Dbpf_jit_comp64.c23 [BPF_REG_1] = RV_REG_A0,
37 [RV_REG_A0] = offsetof(struct pt_regs, a0),
248 emit_addiw(RV_REG_A0, RV_REG_A5, 0, ctx); in __build_epilogue()
736 emit_imm(RV_REG_A0, (const s64)p, ctx); in invoke_bpf_prog()
744 emit_mv(RV_REG_S1, RV_REG_A0, ctx); in invoke_bpf_prog()
754 emit_addi(RV_REG_A0, RV_REG_FP, -args_off, ctx); in invoke_bpf_prog()
763 emit_sd(RV_REG_FP, -retval_off, RV_REG_A0, ctx); in invoke_bpf_prog()
775 emit_imm(RV_REG_A0, (const s64)p, ctx); in invoke_bpf_prog()
924 emit_imm(RV_REG_A0, (const s64)im, ctx); in __arch_prepare_bpf_trampoline()
961 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()
1348 emit(rv_addi(lo(r1), RV_REG_A0, 0), ctx); in bpf_jit_build_prologue()
H A Dbpf_jit.h32 RV_REG_A0 = 10, /* Function argument/return values */ enumerator
60 BIT(RV_REG_A0) | in is_creg()