Lines Matching refs:tocopy
2495 int err = 0, offset = off & (sb->s_blocksize - 1), tocopy; in reiserfs_quota_read() local
2506 tocopy = in reiserfs_quota_read()
2520 memset(data, 0, tocopy); in reiserfs_quota_read()
2525 memcpy(data, bh->b_data + offset, tocopy); in reiserfs_quota_read()
2529 toread -= tocopy; in reiserfs_quota_read()
2530 data += tocopy; in reiserfs_quota_read()
2545 int err = 0, offset = off & (sb->s_blocksize - 1), tocopy; in reiserfs_quota_write() local
2556 tocopy = sb->s_blocksize - offset < towrite ? in reiserfs_quota_write()
2564 if (offset || tocopy != sb->s_blocksize) in reiserfs_quota_write()
2573 memcpy(bh->b_data + offset, data, tocopy); in reiserfs_quota_write()
2585 towrite -= tocopy; in reiserfs_quota_write()
2586 data += tocopy; in reiserfs_quota_write()