Lines Matching refs:sg_entry
160 let sg_entry = match self.sg_entries.get(sg_idx) { in validate_parent_fixup() localVariable
161 Some(sg_entry) => sg_entry, in validate_parent_fixup()
172 if sg_entry.fixup_min_offset > parent_offset { in validate_parent_fixup()
175 sg_entry.fixup_min_offset, in validate_parent_fixup()
181 if new_min_offset > sg_entry.length { in validate_parent_fixup()
185 sg_entry.length in validate_parent_fixup()
189 let target_offset = sg_entry.offset.checked_add(parent_offset).ok_or(EINVAL)?; in validate_parent_fixup()
882 for sg_entry in &mut sg_state.sg_entries { in apply_sg()
883 let mut end_of_previous_fixup = sg_entry.offset; in apply_sg()
884 let offset_end = sg_entry.offset.checked_add(sg_entry.length).ok_or(EINVAL)?; in apply_sg()
887 UserSlice::new(UserPtr::from_addr(sg_entry.sender_uaddr), sg_entry.length).reader(); in apply_sg()
888 for fixup in &mut sg_entry.pointer_fixups { in apply_sg()