Lines Matching refs:tocopy
2338 int tocopy; in f2fs_quota_read() local
2350 tocopy = min_t(unsigned long, sb->s_blocksize - offset, toread); in f2fs_quota_read()
2375 memcpy_from_page(data, page, offset, tocopy); in f2fs_quota_read()
2379 toread -= tocopy; in f2fs_quota_read()
2380 data += tocopy; in f2fs_quota_read()
2398 int tocopy; in f2fs_quota_write() local
2401 tocopy = min_t(unsigned long, sb->s_blocksize - offset, in f2fs_quota_write()
2404 err = a_ops->write_begin(NULL, mapping, off, tocopy, 0, in f2fs_quota_write()
2416 memcpy_to_page(page, offset, data, tocopy); in f2fs_quota_write()
2418 a_ops->write_end(NULL, mapping, off, tocopy, tocopy, in f2fs_quota_write()
2421 towrite -= tocopy; in f2fs_quota_write()
2422 off += tocopy; in f2fs_quota_write()
2423 data += tocopy; in f2fs_quota_write()