Lines Matching refs:tocopy
2332 int tocopy; in f2fs_quota_read() local
2345 tocopy = min_t(unsigned long, sb->s_blocksize - offset, toread); in f2fs_quota_read()
2371 memcpy(data, kaddr + offset, tocopy); in f2fs_quota_read()
2376 toread -= tocopy; in f2fs_quota_read()
2377 data += tocopy; in f2fs_quota_read()
2396 int tocopy; in f2fs_quota_write() local
2399 tocopy = min_t(unsigned long, sb->s_blocksize - offset, in f2fs_quota_write()
2402 err = a_ops->write_begin(NULL, mapping, off, tocopy, 0, in f2fs_quota_write()
2415 memcpy(kaddr + offset, data, tocopy); in f2fs_quota_write()
2419 a_ops->write_end(NULL, mapping, off, tocopy, tocopy, in f2fs_quota_write()
2422 towrite -= tocopy; in f2fs_quota_write()
2423 off += tocopy; in f2fs_quota_write()
2424 data += tocopy; in f2fs_quota_write()