Lines Matching refs:tocopy
1765 int tocopy; in f2fs_quota_read() local
1778 tocopy = min_t(unsigned long, sb->s_blocksize - offset, toread); in f2fs_quota_read()
1803 memcpy(data, kaddr + offset, tocopy); in f2fs_quota_read()
1808 toread -= tocopy; in f2fs_quota_read()
1809 data += tocopy; in f2fs_quota_read()
1827 int tocopy; in f2fs_quota_write() local
1830 tocopy = min_t(unsigned long, sb->s_blocksize - offset, in f2fs_quota_write()
1833 err = a_ops->write_begin(NULL, mapping, off, tocopy, 0, in f2fs_quota_write()
1845 memcpy(kaddr + offset, data, tocopy); in f2fs_quota_write()
1849 a_ops->write_end(NULL, mapping, off, tocopy, tocopy, in f2fs_quota_write()
1852 towrite -= tocopy; in f2fs_quota_write()
1853 off += tocopy; in f2fs_quota_write()
1854 data += tocopy; in f2fs_quota_write()