Lines Matching refs:tocopy
1394 int tocopy; in ext2_quota_read() local
1406 tocopy = sb->s_blocksize - offset < toread ? in ext2_quota_read()
1415 memset(data, 0, tocopy); in ext2_quota_read()
1420 memcpy(data, bh->b_data+offset, tocopy); in ext2_quota_read()
1424 toread -= tocopy; in ext2_quota_read()
1425 data += tocopy; in ext2_quota_read()
1439 int tocopy; in ext2_quota_write() local
1446 tocopy = sb->s_blocksize - offset < towrite ? in ext2_quota_write()
1453 if (offset || tocopy != EXT2_BLOCK_SIZE(sb)) in ext2_quota_write()
1462 memcpy(bh->b_data+offset, data, tocopy); in ext2_quota_write()
1469 towrite -= tocopy; in ext2_quota_write()
1470 data += tocopy; in ext2_quota_write()