Lines Matching refs:tocopy
2492 int err = 0, offset = off & (sb->s_blocksize - 1), tocopy; in reiserfs_quota_read() local
2503 tocopy = in reiserfs_quota_read()
2517 memset(data, 0, tocopy); in reiserfs_quota_read()
2522 memcpy(data, bh->b_data + offset, tocopy); in reiserfs_quota_read()
2526 toread -= tocopy; in reiserfs_quota_read()
2527 data += tocopy; in reiserfs_quota_read()
2542 int err = 0, offset = off & (sb->s_blocksize - 1), tocopy; in reiserfs_quota_write() local
2553 tocopy = sb->s_blocksize - offset < towrite ? in reiserfs_quota_write()
2561 if (offset || tocopy != sb->s_blocksize) in reiserfs_quota_write()
2570 memcpy(bh->b_data + offset, data, tocopy); in reiserfs_quota_write()
2582 towrite -= tocopy; in reiserfs_quota_write()
2583 data += tocopy; in reiserfs_quota_write()