Lines Matching refs:tocopy
2496 int err = 0, offset = off & (sb->s_blocksize - 1), tocopy; in reiserfs_quota_read() local
2507 tocopy = in reiserfs_quota_read()
2521 memset(data, 0, tocopy); in reiserfs_quota_read()
2526 memcpy(data, bh->b_data + offset, tocopy); in reiserfs_quota_read()
2530 toread -= tocopy; in reiserfs_quota_read()
2531 data += tocopy; in reiserfs_quota_read()
2546 int err = 0, offset = off & (sb->s_blocksize - 1), tocopy; in reiserfs_quota_write() local
2557 tocopy = sb->s_blocksize - offset < towrite ? in reiserfs_quota_write()
2565 if (offset || tocopy != sb->s_blocksize) in reiserfs_quota_write()
2574 memcpy(bh->b_data + offset, data, tocopy); in reiserfs_quota_write()
2586 towrite -= tocopy; in reiserfs_quota_write()
2587 data += tocopy; in reiserfs_quota_write()