Home
last modified time | relevance | path

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

/linux-6.15/arch/riscv/net/
H A Dbpf_jit_comp64.c321 if (is_13b_int(rvoff)) { in emit_branch()
327 rvoff -= 4; in emit_branch()
338 if (is_21b_int(rvoff)) { in emit_branch()
348 lower = rvoff & 0xfff; in emit_branch()
432 if (rvoff && fixed_addr && is_21b_int(rvoff)) { in emit_jump_and_link()
437 lower = rvoff & 0xfff; in emit_jump_and_link()
651 s64 rvoff; in gen_jump_or_nops() local
663 rvoff = (s64)(target - ip); in gen_jump_or_nops()
1471 rvoff -= 4; in bpf_jit_emit_insn()
1518 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()
1131 rvoff = rv_offset(i, off, ctx); in bpf_jit_emit_insn()
1214 rvoff -= ninsns_rvoff(e - s); in bpf_jit_emit_insn()
[all …]