Lines Matching defs:tocopy
2112 int err = 0, offset = off & (sb->s_blocksize - 1), tocopy;
2123 tocopy =
2134 memset(data, 0, tocopy);
2139 memcpy(data, bh->b_data + offset, tocopy);
2143 toread -= tocopy;
2144 data += tocopy;
2157 int err = 0, offset = off & (sb->s_blocksize - 1), tocopy;
2170 tocopy = sb->s_blocksize - offset < towrite ?
2176 if (offset || tocopy != sb->s_blocksize)
2185 memcpy(bh->b_data + offset, data, tocopy);
2195 towrite -= tocopy;
2196 data += tocopy;