Lines Matching defs:tocopy
595 size_t tocopy = data_bytes, copied = 0;
613 tocopy = DATA_IN_PAGE - data_bytes;
617 if (!tocopy)
620 tocopy -= iter->block_off;
623 if (len < tocopy) {
624 tocopy = len;
628 remaining = fn(data, src, tocopy);
633 copied = tocopy - remaining;
1490 unsigned long start = off, tocopy = 0;
1495 tocopy = min(rem, size - start);
1496 if (copy_to_user(buf, msc->base + start, tocopy))
1499 buf += tocopy;
1500 rem -= tocopy;
1501 start += tocopy;
1506 tocopy = min(rem, msc->single_sz - start);
1507 if (copy_to_user(buf, msc->base + start, tocopy))
1510 rem -= tocopy;