Lines Matching refs:tocopy
2391 int tocopy; in f2fs_quota_read() local
2404 tocopy = min_t(unsigned long, sb->s_blocksize - offset, toread); in f2fs_quota_read()
2430 memcpy(data, kaddr + offset, tocopy); in f2fs_quota_read()
2435 toread -= tocopy; in f2fs_quota_read()
2436 data += tocopy; in f2fs_quota_read()
2455 int tocopy; in f2fs_quota_write() local
2458 tocopy = min_t(unsigned long, sb->s_blocksize - offset, in f2fs_quota_write()
2461 err = a_ops->write_begin(NULL, mapping, off, tocopy, 0, in f2fs_quota_write()
2474 memcpy(kaddr + offset, data, tocopy); in f2fs_quota_write()
2478 a_ops->write_end(NULL, mapping, off, tocopy, tocopy, in f2fs_quota_write()
2481 towrite -= tocopy; in f2fs_quota_write()
2482 off += tocopy; in f2fs_quota_write()
2483 data += tocopy; in f2fs_quota_write()