Lines Matching refs:tocopy
1590 int tocopy; in f2fs_quota_read() local
1603 tocopy = min_t(unsigned long, sb->s_blocksize - offset, toread); in f2fs_quota_read()
1626 memcpy(data, kaddr + offset, tocopy); in f2fs_quota_read()
1631 toread -= tocopy; in f2fs_quota_read()
1632 data += tocopy; in f2fs_quota_read()
1650 int tocopy; in f2fs_quota_write() local
1653 tocopy = min_t(unsigned long, sb->s_blocksize - offset, in f2fs_quota_write()
1656 err = a_ops->write_begin(NULL, mapping, off, tocopy, 0, in f2fs_quota_write()
1667 memcpy(kaddr + offset, data, tocopy); in f2fs_quota_write()
1671 a_ops->write_end(NULL, mapping, off, tocopy, tocopy, in f2fs_quota_write()
1674 towrite -= tocopy; in f2fs_quota_write()
1675 off += tocopy; in f2fs_quota_write()
1676 data += tocopy; in f2fs_quota_write()