Lines Matching defs:tocopy
2493 int err = 0, offset = off & (sb->s_blocksize - 1), tocopy;
2504 tocopy = min_t(unsigned long, sb->s_blocksize - offset, toread);
2516 memset(data, 0, tocopy);
2521 memcpy(data, bh->b_data + offset, tocopy);
2525 toread -= tocopy;
2526 data += tocopy;
2541 int err = 0, offset = off & (sb->s_blocksize - 1), tocopy;
2552 tocopy = min_t(unsigned long, sb->s_blocksize - offset, towrite);
2559 if (offset || tocopy != sb->s_blocksize)
2568 memcpy(bh->b_data + offset, data, tocopy);
2580 towrite -= tocopy;
2581 data += tocopy;