Home
last modified time | relevance | path

Searched refs:tocopy (Results 1 – 5 of 5) sorted by relevance

/fs/jfs/
A Dsuper.c701 int tocopy; in jfs_quota_read() local
713 tocopy = min_t(size_t, sb->s_blocksize - offset, toread); in jfs_quota_read()
721 memset(data, 0, tocopy); in jfs_quota_read()
726 memcpy(data, bh->b_data+offset, tocopy); in jfs_quota_read()
730 toread -= tocopy; in jfs_quota_read()
731 data += tocopy; in jfs_quota_read()
745 int tocopy; in jfs_quota_write() local
759 if (offset || tocopy != sb->s_blocksize) in jfs_quota_write()
768 memcpy(bh->b_data+offset, data, tocopy); in jfs_quota_write()
775 towrite -= tocopy; in jfs_quota_write()
[all …]
/fs/ext2/
A Dsuper.c1527 int tocopy; in ext2_quota_read() local
1539 tocopy = min_t(size_t, sb->s_blocksize - offset, toread); in ext2_quota_read()
1547 memset(data, 0, tocopy); in ext2_quota_read()
1552 memcpy(data, bh->b_data+offset, tocopy); in ext2_quota_read()
1556 toread -= tocopy; in ext2_quota_read()
1557 data += tocopy; in ext2_quota_read()
1571 int tocopy; in ext2_quota_write() local
1584 if (offset || tocopy != EXT2_BLOCK_SIZE(sb)) in ext2_quota_write()
1593 memcpy(bh->b_data+offset, data, tocopy); in ext2_quota_write()
1600 towrite -= tocopy; in ext2_quota_write()
[all …]
/fs/ocfs2/
A Dquota_global.c177 size_t toread, tocopy; in ocfs2_quota_read() local
186 tocopy = min_t(size_t, (sb->s_blocksize - offset), toread); in ocfs2_quota_read()
204 memcpy(data, bh->b_data + offset, tocopy); in ocfs2_quota_read()
207 toread -= tocopy; in ocfs2_quota_read()
208 data += tocopy; in ocfs2_quota_read()
/fs/f2fs/
A Dsuper.c2948 int tocopy; in f2fs_quota_read() local
2974 tocopy = min(folio_size(folio) - offset, toread); in f2fs_quota_read()
2989 memcpy_from_folio(data, folio, offset, tocopy); in f2fs_quota_read()
2992 toread -= tocopy; in f2fs_quota_read()
2993 data += tocopy; in f2fs_quota_read()
2994 off += tocopy; in f2fs_quota_read()
3011 int tocopy; in f2fs_quota_write() local
3030 a_ops->write_end(NULL, mapping, off, tocopy, tocopy, in f2fs_quota_write()
3033 towrite -= tocopy; in f2fs_quota_write()
3034 off += tocopy; in f2fs_quota_write()
[all …]
/fs/ext4/
A Dsuper.c7243 int tocopy; in ext4_quota_read() local
7254 tocopy = min_t(unsigned long, sb->s_blocksize - offset, toread); in ext4_quota_read()
7259 memset(data, 0, tocopy); in ext4_quota_read()
7261 memcpy(data, bh->b_data+offset, tocopy); in ext4_quota_read()
7264 toread -= tocopy; in ext4_quota_read()
7265 data += tocopy; in ext4_quota_read()

Completed in 47 milliseconds