Searched refs:RV_REG_A0 (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/arch/riscv/net/ |
D | bpf_jit_comp64.c | 23 [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() 706 emit_sd(RV_REG_FP, -args_off, RV_REG_A0 + i, ctx); in store_args() 716 emit_ld(RV_REG_A0 + i, -args_off, RV_REG_FP, ctx); in restore_args() 736 emit_imm(RV_REG_A0, (const s64)p, ctx); in invoke_bpf_prog() 751 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() 770 u32 insn = rv_beq(RV_REG_A0, RV_REG_ZERO, offset >> 1); in invoke_bpf_prog() [all …]
|
D | bpf_jit_comp32.c | 75 [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()
|
D | bpf_jit.h | 32 RV_REG_A0 = 10, /* Function argument/return values */ enumerator 60 BIT(RV_REG_A0) | in is_creg()
|