Lines Matching refs:tocopy
1527 int tocopy; in ext2_quota_read() local
1539 tocopy = min_t(size_t, sb->s_blocksize - offset, toread); in ext2_quota_read()
1547 memset(data, 0, tocopy); in ext2_quota_read()
1552 memcpy(data, bh->b_data+offset, tocopy); in ext2_quota_read()
1556 toread -= tocopy; in ext2_quota_read()
1557 data += tocopy; in ext2_quota_read()
1571 int tocopy; in ext2_quota_write() local
1577 tocopy = min_t(size_t, sb->s_blocksize - offset, towrite); in ext2_quota_write()
1584 if (offset || tocopy != EXT2_BLOCK_SIZE(sb)) in ext2_quota_write()
1593 memcpy(bh->b_data+offset, data, tocopy); in ext2_quota_write()
1600 towrite -= tocopy; in ext2_quota_write()
1601 data += tocopy; in ext2_quota_write()