Searched refs:fixup_offset (Results 1 – 4 of 4) sorted by relevance
941 let (fixup_len, fixup_offset) = match fixup { in apply_sg() 951 let target_offset_end = fixup_offset.checked_add(fixup_len).ok_or(EINVAL)?; in apply_sg() 952 if fixup_offset < end_of_previous_fixup || offset_end < target_offset_end { in apply_sg() 955 "fixups oob {fixup_offset} {end_of_previous_fixup} {offset_end} {target_offset_end}" in apply_sg() 961 let copy_len = fixup_offset - end_of_previous_fixup; in apply_sg() 967 let res = alloc.write::<u64>(fixup_offset, pointer_value); in apply_sg()
741 off_t fixup_offset; in add_exception_handler() local784 fixup_offset = (long)&ex->fixup - (long)&ctx->ro_insns[ctx->ex_jmp_off]; in add_exception_handler()785 if (!FIELD_FIT(BPF_FIXUP_OFFSET_MASK, fixup_offset)) in add_exception_handler()797 ex->fixup = FIELD_PREP(BPF_FIXUP_OFFSET_MASK, fixup_offset) | in add_exception_handler()
637 off_t ins_offset, fixup_offset; in add_exception_handler() local675 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()
1944 binder_size_t fixup_offset, in binder_validate_fixup() argument1979 return (fixup_offset >= last_min_offset); in binder_validate_fixup()