Home
last modified time | relevance | path

Searched refs:rvoff (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/riscv/net/
H A Dbpf_jit_comp64.c295 if (is_13b_int(rvoff)) { in emit_branch()
301 rvoff -= 4; in emit_branch()
312 if (is_21b_int(rvoff)) { in emit_branch()
322 lower = rvoff & 0xfff; in emit_branch()
445 if (rvoff && fixed_addr && is_21b_int(rvoff)) { in emit_jump_and_link()
450 lower = rvoff & 0xfff; in emit_jump_and_link()
653 s64 rvoff; in gen_jump_or_nops() local
665 rvoff = (s64)(target - ip); in gen_jump_or_nops()
1434 rvoff -= 4; in bpf_jit_emit_insn()
1482 rvoff -= ninsns_rvoff(e - s); in bpf_jit_emit_insn()
[all …]
H A Dbpf_jit_comp32.c232 if (rvoff && is_21b_int(rvoff) && !force_jalr) { in emit_jump_and_link()
237 upper = (rvoff + (1 << 11)) >> 12; in emit_jump_and_link()
238 lower = rvoff & 0xfff; in emit_jump_and_link()
647 rvoff -= ninsns_rvoff(e - s); in emit_branch_r64()
664 } else if (!is_13b_int(rvoff)) { in emit_bcc()
674 off = far ? 6 : (rvoff >> 1); in emit_bcc()
716 rvoff -= ninsns_rvoff(e - s); in emit_bcc()
734 rvoff -= ninsns_rvoff(e - s); in emit_branch_r32()
1132 rvoff = rv_offset(i, off, ctx); in bpf_jit_emit_insn()
1215 rvoff -= ninsns_rvoff(e - s); in bpf_jit_emit_insn()
[all …]