Lines Matching defs:tocopy
1378 int tocopy;
1390 tocopy = sb->s_blocksize - offset < toread ?
1399 memset(data, 0, tocopy);
1404 memcpy(data, bh->b_data+offset, tocopy);
1408 toread -= tocopy;
1409 data += tocopy;
1423 int tocopy;
1430 tocopy = sb->s_blocksize - offset < towrite ?
1437 if (offset || tocopy != EXT2_BLOCK_SIZE(sb))
1446 memcpy(bh->b_data+offset, data, tocopy);
1453 towrite -= tocopy;
1454 data += tocopy;