Home
last modified time | relevance | path

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

/linux/arch/riscv/net/
H A Dbpf_jit_comp64.c587 off_t fixup_offset; in add_exception_handler() local
628 fixup_offset = (long)&ex->fixup - (pc + insn_len * sizeof(u16)); in add_exception_handler()
629 if (!FIELD_FIT(BPF_FIXUP_OFFSET_MASK, fixup_offset)) in add_exception_handler()
641 ex->fixup = FIELD_PREP(BPF_FIXUP_OFFSET_MASK, fixup_offset) | in add_exception_handler()
/linux/arch/arm64/net/
H A Dbpf_jit_comp.c915 off_t fixup_offset; in add_exception_handler() local
958 fixup_offset = (long)&ex->fixup - (pc + AARCH64_INSN_SIZE); in add_exception_handler()
959 if (!FIELD_FIT(BPF_FIXUP_OFFSET_MASK, fixup_offset)) in add_exception_handler()
974 ex->fixup = FIELD_PREP(BPF_FIXUP_OFFSET_MASK, fixup_offset) | in add_exception_handler()