Lines Matching refs:tocopy
1486 int tocopy; in ext2_quota_read() local
1498 tocopy = sb->s_blocksize - offset < toread ? in ext2_quota_read()
1507 memset(data, 0, tocopy); in ext2_quota_read()
1512 memcpy(data, bh->b_data+offset, tocopy); in ext2_quota_read()
1516 toread -= tocopy; in ext2_quota_read()
1517 data += tocopy; in ext2_quota_read()
1531 int tocopy; in ext2_quota_write() local
1537 tocopy = sb->s_blocksize - offset < towrite ? in ext2_quota_write()
1545 if (offset || tocopy != EXT2_BLOCK_SIZE(sb)) in ext2_quota_write()
1554 memcpy(bh->b_data+offset, data, tocopy); in ext2_quota_write()
1561 towrite -= tocopy; in ext2_quota_write()
1562 data += tocopy; in ext2_quota_write()