Lines Matching refs:tocopy
1455 int tocopy; in ext2_quota_read() local
1467 tocopy = sb->s_blocksize - offset < toread ? in ext2_quota_read()
1476 memset(data, 0, tocopy); in ext2_quota_read()
1481 memcpy(data, bh->b_data+offset, tocopy); in ext2_quota_read()
1485 toread -= tocopy; in ext2_quota_read()
1486 data += tocopy; in ext2_quota_read()
1500 int tocopy; in ext2_quota_write() local
1506 tocopy = sb->s_blocksize - offset < towrite ? in ext2_quota_write()
1514 if (offset || tocopy != EXT2_BLOCK_SIZE(sb)) in ext2_quota_write()
1523 memcpy(bh->b_data+offset, data, tocopy); in ext2_quota_write()
1530 towrite -= tocopy; in ext2_quota_write()
1531 data += tocopy; in ext2_quota_write()