Lines Matching defs:tocopy
662 int tocopy;
674 tocopy = sb->s_blocksize - offset < toread ?
683 memset(data, 0, tocopy);
688 memcpy(data, bh->b_data+offset, tocopy);
692 toread -= tocopy;
693 data += tocopy;
707 int tocopy;
714 tocopy = sb->s_blocksize - offset < towrite ?
722 if (offset || tocopy != sb->s_blocksize)
731 memcpy(bh->b_data+offset, data, tocopy);
738 towrite -= tocopy;
739 data += tocopy;