Searched refs:RV_REG_RA (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/arch/riscv/net/ |
D | bpf_jit_comp64.c | 48 RV_CTX_F_SEEN_CALL = RV_REG_RA, 186 if (seen_reg(RV_REG_RA, ctx)) { in __build_epilogue() 187 emit_ld(RV_REG_RA, store_offset, RV_REG_SP, ctx); in __build_epilogue() 221 emit_jalr(RV_REG_ZERO, is_tail_call ? RV_REG_T3 : RV_REG_RA, in __build_epilogue() 450 ret = emit_jump_and_link(RV_REG_RA, off, !fixed, ctx); in emit_call() 1252 if (seen_reg(RV_REG_RA, ctx)) in bpf_jit_build_prologue() 1281 if (seen_reg(RV_REG_RA, ctx)) { in bpf_jit_build_prologue() 1282 emit_sd(RV_REG_SP, store_offset, RV_REG_RA, ctx); in bpf_jit_build_prologue()
|
D | bpf_jit_comp32.c | 155 emit(rv_lw(RV_REG_RA, stack_adjust - 4, RV_REG_SP), ctx); in __build_epilogue() 176 emit(rv_jalr(RV_REG_ZERO, RV_REG_RA, 0), ctx); in __build_epilogue() 763 emit(rv_jalr(RV_REG_RA, RV_REG_T1, lower), ctx); in emit_call() 1330 emit(rv_sw(RV_REG_SP, stack_adjust - 4, RV_REG_RA), ctx); in bpf_jit_build_prologue()
|
D | bpf_jit.h | 23 RV_REG_RA = 1, /* Return address */ enumerator 876 if (rvc_enabled() && rd == RV_REG_RA && rs && !imm) in emit_jalr()
|