Lines Matching refs:to_copy
538 unsigned long to_copy;
554 to_copy = min_t(unsigned long, iov_iter_count(to),
556 to_copy = min_t(unsigned long, to_copy, len - copied);
559 rds_stats_add(s_copy_to_user, to_copy);
562 to_copy,
564 if (ret != to_copy)
567 frag_off += to_copy;
568 copied += to_copy;
792 unsigned long to_copy;
814 to_copy = min(RDS_FRAG_SIZE - frag_off, PAGE_SIZE - map_off);
815 BUG_ON(to_copy & 7); /* Must be 64bit aligned. */
821 for (k = 0; k < to_copy; k += 8) {
829 copied += to_copy;
831 map_off += to_copy;
837 frag_off += to_copy;