Lines Matching defs:to_copy
311 unsigned long to_copy;
333 to_copy = min(iov->iov_len - iov_off, RDS_FRAG_SIZE - frag_off);
334 to_copy = min_t(size_t, to_copy, size - copied);
335 to_copy = min_t(unsigned long, to_copy, len - copied);
339 to_copy, iov->iov_base, iov->iov_len, iov_off,
345 to_copy);
351 iov_off += to_copy;
352 frag_off += to_copy;
353 copied += to_copy;
615 unsigned long to_copy;
637 to_copy = min(RDS_FRAG_SIZE - frag_off, PAGE_SIZE - map_off);
638 BUG_ON(to_copy & 7); /* Must be 64bit aligned. */
644 for (k = 0; k < to_copy; k += 8) {
652 copied += to_copy;
654 map_off += to_copy;
660 frag_off += to_copy;