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.rs896 let (fixup_len, fixup_offset) = match fixup { in apply_sg()
906 let target_offset_end = fixup_offset.checked_add(fixup_len).ok_or(EINVAL)?; in apply_sg()
907 if fixup_offset < end_of_previous_fixup || offset_end < target_offset_end { in apply_sg()
910 fixup_offset, in apply_sg()
919 let copy_len = fixup_offset - end_of_previous_fixup; in apply_sg()
925 let res = alloc.write::<u64>(fixup_offset, pointer_value); in apply_sg()
/linux/arch/riscv/net/
H A Dbpf_jit_comp64.c771 off_t fixup_offset; in add_exception_handler() local
814 fixup_offset = (long)&ex->fixup - (long)&ctx->ro_insns[ctx->ex_jmp_off]; in add_exception_handler()
815 if (!FIELD_FIT(BPF_FIXUP_OFFSET_MASK, fixup_offset)) in add_exception_handler()
827 ex->fixup = FIELD_PREP(BPF_FIXUP_OFFSET_MASK, fixup_offset) | in add_exception_handler()
/linux/arch/loongarch/net/
H A Dbpf_jit.c643 off_t ins_offset, fixup_offset; in add_exception_handler() local
681 fixup_offset = (long)&ex->fixup - (pc + LOONGARCH_INSN_SIZE); in add_exception_handler()
682 if (!FIELD_FIT(BPF_FIXUP_OFFSET_MASK, fixup_offset)) in add_exception_handler()
691 ex->fixup = FIELD_PREP(BPF_FIXUP_OFFSET_MASK, fixup_offset) | in add_exception_handler()
/linux/drivers/android/
H A Dbinder.c1927 binder_size_t fixup_offset, in binder_validate_fixup() argument
1962 return (fixup_offset >= last_min_offset); in binder_validate_fixup()