Lines Matching refs:tocopy
2474 int tocopy; in f2fs_quota_read() local
2486 tocopy = min_t(unsigned long, sb->s_blocksize - offset, toread); in f2fs_quota_read()
2510 memcpy_from_page(data, page, offset, tocopy); in f2fs_quota_read()
2514 toread -= tocopy; in f2fs_quota_read()
2515 data += tocopy; in f2fs_quota_read()
2533 int tocopy; in f2fs_quota_write() local
2536 tocopy = min_t(unsigned long, sb->s_blocksize - offset, in f2fs_quota_write()
2539 err = a_ops->write_begin(NULL, mapping, off, tocopy, in f2fs_quota_write()
2550 memcpy_to_page(page, offset, data, tocopy); in f2fs_quota_write()
2552 a_ops->write_end(NULL, mapping, off, tocopy, tocopy, in f2fs_quota_write()
2555 towrite -= tocopy; in f2fs_quota_write()
2556 off += tocopy; in f2fs_quota_write()
2557 data += tocopy; in f2fs_quota_write()