Lines Matching refs:to_copy
556 self.iterate(offset, size, |page, offset, to_copy| {
557 page.copy_from_user_slice_raw(reader, offset, to_copy)
572 self.iterate(offset, size_of::<T>(), |page, offset, to_copy| {
573 // SAFETY: The sum of `offset` and `to_copy` is bounded by the size of T.
576 page.read_raw(obj_ptr, offset, to_copy)?;
577 out_offset += to_copy;
594 self.iterate(offset, size_of_val(obj), |page, offset, to_copy| {
595 // SAFETY: The sum of `offset` and `to_copy` is bounded by the size of T.
598 page.write_raw(obj_ptr, offset, to_copy)?;
599 obj_offset += to_copy;