Lines Matching refs:tocopy
2498 int err = 0, offset = off & (sb->s_blocksize - 1), tocopy; in reiserfs_quota_read() local
2509 tocopy = in reiserfs_quota_read()
2523 memset(data, 0, tocopy); in reiserfs_quota_read()
2528 memcpy(data, bh->b_data + offset, tocopy); in reiserfs_quota_read()
2532 toread -= tocopy; in reiserfs_quota_read()
2533 data += tocopy; in reiserfs_quota_read()
2548 int err = 0, offset = off & (sb->s_blocksize - 1), tocopy; in reiserfs_quota_write() local
2559 tocopy = sb->s_blocksize - offset < towrite ? in reiserfs_quota_write()
2567 if (offset || tocopy != sb->s_blocksize) in reiserfs_quota_write()
2576 memcpy(bh->b_data + offset, data, tocopy); in reiserfs_quota_write()
2588 towrite -= tocopy; in reiserfs_quota_write()
2589 data += tocopy; in reiserfs_quota_write()