Lines Matching refs:tocopy
1482 int tocopy; in ext2_quota_read() local
1494 tocopy = sb->s_blocksize - offset < toread ? in ext2_quota_read()
1503 memset(data, 0, tocopy); in ext2_quota_read()
1508 memcpy(data, bh->b_data+offset, tocopy); in ext2_quota_read()
1512 toread -= tocopy; in ext2_quota_read()
1513 data += tocopy; in ext2_quota_read()
1527 int tocopy; in ext2_quota_write() local
1533 tocopy = sb->s_blocksize - offset < towrite ? in ext2_quota_write()
1541 if (offset || tocopy != EXT2_BLOCK_SIZE(sb)) in ext2_quota_write()
1550 memcpy(bh->b_data+offset, data, tocopy); in ext2_quota_write()
1557 towrite -= tocopy; in ext2_quota_write()
1558 data += tocopy; in ext2_quota_write()