Lines Matching refs:tocopy
2494 int err = 0, offset = off & (sb->s_blocksize - 1), tocopy; in reiserfs_quota_read() local
2505 tocopy = in reiserfs_quota_read()
2519 memset(data, 0, tocopy); in reiserfs_quota_read()
2524 memcpy(data, bh->b_data + offset, tocopy); in reiserfs_quota_read()
2528 toread -= tocopy; in reiserfs_quota_read()
2529 data += tocopy; in reiserfs_quota_read()
2544 int err = 0, offset = off & (sb->s_blocksize - 1), tocopy; in reiserfs_quota_write() local
2555 tocopy = sb->s_blocksize - offset < towrite ? in reiserfs_quota_write()
2563 if (offset || tocopy != sb->s_blocksize) in reiserfs_quota_write()
2572 memcpy(bh->b_data + offset, data, tocopy); in reiserfs_quota_write()
2584 towrite -= tocopy; in reiserfs_quota_write()
2585 data += tocopy; in reiserfs_quota_write()