Lines Matching defs:tocopy
736 int tocopy;
748 tocopy = min_t(size_t, sb->s_blocksize - offset, toread);
756 memset(data, 0, tocopy);
761 memcpy(data, bh->b_data+offset, tocopy);
765 toread -= tocopy;
766 data += tocopy;
780 int tocopy;
787 tocopy = min_t(size_t, sb->s_blocksize - offset, towrite);
794 if (offset || tocopy != sb->s_blocksize)
803 memcpy(bh->b_data+offset, data, tocopy);
810 towrite -= tocopy;
811 data += tocopy;