Searched refs:tocopy (Results 1 – 6 of 6) sorted by relevance
/fs/jfs/ |
D | super.c | 742 int tocopy; in jfs_quota_read() local 754 tocopy = sb->s_blocksize - offset < toread ? in jfs_quota_read() 763 memset(data, 0, tocopy); in jfs_quota_read() 768 memcpy(data, bh->b_data+offset, tocopy); in jfs_quota_read() 772 toread -= tocopy; in jfs_quota_read() 773 data += tocopy; in jfs_quota_read() 787 int tocopy; in jfs_quota_write() local 794 tocopy = sb->s_blocksize - offset < towrite ? in jfs_quota_write() 802 if (offset || tocopy != sb->s_blocksize) in jfs_quota_write() 811 memcpy(bh->b_data+offset, data, tocopy); in jfs_quota_write() [all …]
|
/fs/ext2/ |
D | super.c | 1499 int tocopy; in ext2_quota_read() local 1511 tocopy = sb->s_blocksize - offset < toread ? in ext2_quota_read() 1520 memset(data, 0, tocopy); in ext2_quota_read() 1525 memcpy(data, bh->b_data+offset, tocopy); in ext2_quota_read() 1529 toread -= tocopy; in ext2_quota_read() 1530 data += tocopy; in ext2_quota_read() 1544 int tocopy; in ext2_quota_write() local 1550 tocopy = sb->s_blocksize - offset < towrite ? in ext2_quota_write() 1558 if (offset || tocopy != EXT2_BLOCK_SIZE(sb)) in ext2_quota_write() 1567 memcpy(bh->b_data+offset, data, tocopy); in ext2_quota_write() [all …]
|
/fs/reiserfs/ |
D | super.c | 2494 int err = 0, offset = off & (sb->s_blocksize - 1), tocopy; in reiserfs_quota_read() local 2505 tocopy = in reiserfs_quota_read() 2519 memset(data, 0, tocopy); in reiserfs_quota_read() 2524 memcpy(data, bh->b_data + offset, tocopy); in reiserfs_quota_read() 2528 toread -= tocopy; in reiserfs_quota_read() 2529 data += tocopy; in reiserfs_quota_read() 2544 int err = 0, offset = off & (sb->s_blocksize - 1), tocopy; in reiserfs_quota_write() local 2555 tocopy = sb->s_blocksize - offset < towrite ? in reiserfs_quota_write() 2563 if (offset || tocopy != sb->s_blocksize) in reiserfs_quota_write() 2572 memcpy(bh->b_data + offset, data, tocopy); in reiserfs_quota_write() [all …]
|
/fs/ocfs2/ |
D | quota_global.c | 177 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/ |
D | super.c | 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() [all …]
|
/fs/ext4/ |
D | super.c | 5959 int tocopy; in ext4_quota_read() local 5970 tocopy = sb->s_blocksize - offset < toread ? in ext4_quota_read() 5976 memset(data, 0, tocopy); in ext4_quota_read() 5978 memcpy(data, bh->b_data+offset, tocopy); in ext4_quota_read() 5981 toread -= tocopy; in ext4_quota_read() 5982 data += tocopy; in ext4_quota_read()
|