Searched refs:RV_REG_A0 (Results 1 – 3 of 3) sorted by relevance
| /linux/arch/riscv/net/ |
| H A D | bpf_jit_comp64.c | 31 [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() 896 emit_sd(RV_REG_FP, -args_off, RV_REG_A0 + i, ctx); in store_args() 911 emit_ld(RV_REG_A0 + i, -args_off, RV_REG_FP, ctx); in restore_args() 950 emit_imm(RV_REG_A0, (const s64)p, ctx); in invoke_bpf_prog() 958 emit_mv(RV_REG_S1, RV_REG_A0, ctx); in invoke_bpf_prog() 968 emit_addi(RV_REG_A0, RV_REG_FP, -args_off, ctx); in invoke_bpf_prog() 977 emit_sd(RV_REG_FP, -retval_off, RV_REG_A0, ctx); in invoke_bpf_prog() 984 u32 insn = rv_beq(RV_REG_A0, RV_REG_ZERO, offset >> 1); in invoke_bpf_prog() [all …]
|
| H A 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() 1347 emit(rv_addi(lo(r1), RV_REG_A0, 0), ctx); in bpf_jit_build_prologue()
|
| H A D | bpf_jit.h | 36 RV_REG_A0 = 10, /* Function argument/return values */ enumerator 64 BIT(RV_REG_A0) | in is_creg()
|