Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/arch/riscv/net/
H A Dbpf_jit_comp64.c32 RV_CTX_F_SEEN_CALL = RV_REG_RA,
170 if (seen_reg(RV_REG_RA, ctx)) { in __build_epilogue()
171 emit_ld(RV_REG_RA, store_offset, RV_REG_SP, ctx); in __build_epilogue()
205 emit_jalr(RV_REG_ZERO, is_tail_call ? RV_REG_T3 : RV_REG_RA, in __build_epilogue()
435 ret = emit_jump_and_link(RV_REG_RA, off, !fixed, ctx); in emit_call()
1069 if (seen_reg(RV_REG_RA, ctx)) in bpf_jit_build_prologue()
1098 if (seen_reg(RV_REG_RA, ctx)) { in bpf_jit_build_prologue()
1099 emit_sd(RV_REG_SP, store_offset, RV_REG_RA, ctx); in bpf_jit_build_prologue()
H A Dbpf_jit_comp32.c155 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()
1320 emit(rv_sw(RV_REG_SP, stack_adjust - 4, RV_REG_RA), ctx); in bpf_jit_build_prologue()
H A Dbpf_jit.h23 RV_REG_RA = 1, /* Return address */ enumerator
807 if (rvc_enabled() && rd == RV_REG_RA && rs && !imm) in emit_jalr()