Lines Matching refs:tocopy
625 int tocopy;
637 tocopy = sb->s_blocksize - offset < toread ?
646 memset(data, 0, tocopy);
651 memcpy(data, bh->b_data+offset, tocopy);
655 toread -= tocopy;
656 data += tocopy;
670 int tocopy;
677 tocopy = sb->s_blocksize - offset < towrite ?
685 if (offset || tocopy != sb->s_blocksize)
694 memcpy(bh->b_data+offset, data, tocopy);
701 towrite -= tocopy;
702 data += tocopy;