Lines Matching refs:tocopy
2624 int tocopy; in f2fs_quota_read() local
2636 tocopy = min_t(unsigned long, sb->s_blocksize - offset, toread); in f2fs_quota_read()
2660 memcpy_from_page(data, page, offset, tocopy); in f2fs_quota_read()
2664 toread -= tocopy; in f2fs_quota_read()
2665 data += tocopy; in f2fs_quota_read()
2683 int tocopy; in f2fs_quota_write() local
2686 tocopy = min_t(unsigned long, sb->s_blocksize - offset, in f2fs_quota_write()
2689 err = a_ops->write_begin(NULL, mapping, off, tocopy, in f2fs_quota_write()
2700 memcpy_to_page(page, offset, data, tocopy); in f2fs_quota_write()
2702 a_ops->write_end(NULL, mapping, off, tocopy, tocopy, in f2fs_quota_write()
2705 towrite -= tocopy; in f2fs_quota_write()
2706 off += tocopy; in f2fs_quota_write()
2707 data += tocopy; in f2fs_quota_write()