Lines Matching refs:tocopy
1787 int tocopy; in f2fs_quota_read() local
1800 tocopy = min_t(unsigned long, sb->s_blocksize - offset, toread); in f2fs_quota_read()
1825 memcpy(data, kaddr + offset, tocopy); in f2fs_quota_read()
1830 toread -= tocopy; in f2fs_quota_read()
1831 data += tocopy; in f2fs_quota_read()
1849 int tocopy; in f2fs_quota_write() local
1852 tocopy = min_t(unsigned long, sb->s_blocksize - offset, in f2fs_quota_write()
1855 err = a_ops->write_begin(NULL, mapping, off, tocopy, 0, in f2fs_quota_write()
1867 memcpy(kaddr + offset, data, tocopy); in f2fs_quota_write()
1871 a_ops->write_end(NULL, mapping, off, tocopy, tocopy, in f2fs_quota_write()
1874 towrite -= tocopy; in f2fs_quota_write()
1875 off += tocopy; in f2fs_quota_write()
1876 data += tocopy; in f2fs_quota_write()