Lines Matching refs:tocopy
2504 int err = 0, offset = off & (sb->s_blocksize - 1), tocopy; in reiserfs_quota_read() local
2515 tocopy = in reiserfs_quota_read()
2529 memset(data, 0, tocopy); in reiserfs_quota_read()
2534 memcpy(data, bh->b_data + offset, tocopy); in reiserfs_quota_read()
2538 toread -= tocopy; in reiserfs_quota_read()
2539 data += tocopy; in reiserfs_quota_read()
2554 int err = 0, offset = off & (sb->s_blocksize - 1), tocopy; in reiserfs_quota_write() local
2565 tocopy = sb->s_blocksize - offset < towrite ? in reiserfs_quota_write()
2573 if (offset || tocopy != sb->s_blocksize) in reiserfs_quota_write()
2582 memcpy(bh->b_data + offset, data, tocopy); in reiserfs_quota_write()
2594 towrite -= tocopy; in reiserfs_quota_write()
2595 data += tocopy; in reiserfs_quota_write()