Lines Matching defs:tocopy
2607 int tocopy;
2619 tocopy = min_t(unsigned long, sb->s_blocksize - offset, toread);
2643 memcpy_from_page(data, page, offset, tocopy);
2647 toread -= tocopy;
2648 data += tocopy;
2666 int tocopy;
2669 tocopy = min_t(unsigned long, sb->s_blocksize - offset,
2672 err = a_ops->write_begin(NULL, mapping, off, tocopy,
2683 memcpy_to_page(page, offset, data, tocopy);
2685 a_ops->write_end(NULL, mapping, off, tocopy, tocopy,
2688 towrite -= tocopy;
2689 off += tocopy;
2690 data += tocopy;