Lines Matching defs:tocopy
702 int tocopy;
714 tocopy = min_t(size_t, sb->s_blocksize - offset, toread);
722 memset(data, 0, tocopy);
727 memcpy(data, bh->b_data+offset, tocopy);
731 toread -= tocopy;
732 data += tocopy;
746 int tocopy;
753 tocopy = min_t(size_t, sb->s_blocksize - offset, towrite);
760 if (offset || tocopy != sb->s_blocksize)
769 memcpy(bh->b_data+offset, data, tocopy);
776 towrite -= tocopy;
777 data += tocopy;