Lines Matching refs:tocopy
2408 int err = 0, offset = off & (sb->s_blocksize - 1), tocopy; in reiserfs_quota_read() local
2419 tocopy = in reiserfs_quota_read()
2433 memset(data, 0, tocopy); in reiserfs_quota_read()
2438 memcpy(data, bh->b_data + offset, tocopy); in reiserfs_quota_read()
2442 toread -= tocopy; in reiserfs_quota_read()
2443 data += tocopy; in reiserfs_quota_read()
2458 int err = 0, offset = off & (sb->s_blocksize - 1), tocopy; in reiserfs_quota_write() local
2469 tocopy = sb->s_blocksize - offset < towrite ? in reiserfs_quota_write()
2477 if (offset || tocopy != sb->s_blocksize) in reiserfs_quota_write()
2486 memcpy(bh->b_data + offset, data, tocopy); in reiserfs_quota_write()
2498 towrite -= tocopy; in reiserfs_quota_write()
2499 data += tocopy; in reiserfs_quota_write()