Home
last modified time | relevance | path

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

/linux/drivers/android/binder/
H A Dthread.rs974 let (fixup_len, fixup_offset) = match fixup { in apply_sg()
984 let target_offset_end = fixup_offset.checked_add(fixup_len).ok_or(EINVAL)?; in apply_sg()
985 if fixup_offset < end_of_previous_fixup || offset_end < target_offset_end { in apply_sg()
988 "fixups oob {fixup_offset} {end_of_previous_fixup} {offset_end} {target_offset_end}" in apply_sg()
994 let copy_len = fixup_offset - end_of_previous_fixup;
1000 let res = alloc.write::<u64>(fixup_offset, pointer_value); in copy_transaction_data()
/linux/arch/riscv/net/
H A Dbpf_jit_comp64.c777 off_t fixup_offset; in add_exception_handler()
818 * The fixup_offset is set to the next instruction from the instruction in gen_jump_or_nops()
822 fixup_offset = (long)&ex->fixup - (long)&ctx->ro_insns[ctx->ex_jmp_off]; in gen_jump_or_nops()
823 if (!FIELD_FIT(BPF_FIXUP_OFFSET_MASK, fixup_offset)) in gen_jump_or_nops()
835 ex->fixup = FIELD_PREP(BPF_FIXUP_OFFSET_MASK, fixup_offset) | in arch_bpf_trampoline_skip()
741 off_t fixup_offset; add_exception_handler() local
/linux/arch/loongarch/net/
H A Dbpf_jit.c637 off_t ins_offset, fixup_offset; in add_exception_handler() local
672 * The fixup_offset is set to the next instruction from the instruction in add_exception_handler()
675 fixup_offset = (long)&ex->fixup - (pc + LOONGARCH_INSN_SIZE); in add_exception_handler()
676 if (!FIELD_FIT(BPF_FIXUP_OFFSET_MASK, fixup_offset)) in add_exception_handler()
685 ex->fixup = FIELD_PREP(BPF_FIXUP_OFFSET_MASK, fixup_offset) | in add_exception_handler()
/linux/drivers/android/
H A Dbinder.c