Home
last modified time | relevance | path

Searched refs:fieinfo (Results 1 – 25 of 26) sorted by relevance

12

/fs/
Dioctl.c115 int fiemap_fill_next_extent(struct fiemap_extent_info *fieinfo, u64 logical, in fiemap_fill_next_extent() argument
119 struct fiemap_extent __user *dest = fieinfo->fi_extents_start; in fiemap_fill_next_extent()
122 if (fieinfo->fi_extents_max == 0) { in fiemap_fill_next_extent()
123 fieinfo->fi_extents_mapped++; in fiemap_fill_next_extent()
127 if (fieinfo->fi_extents_mapped >= fieinfo->fi_extents_max) in fiemap_fill_next_extent()
143 dest += fieinfo->fi_extents_mapped; in fiemap_fill_next_extent()
147 fieinfo->fi_extents_mapped++; in fiemap_fill_next_extent()
148 if (fieinfo->fi_extents_mapped == fieinfo->fi_extents_max) in fiemap_fill_next_extent()
167 int fiemap_prep(struct inode *inode, struct fiemap_extent_info *fieinfo, in fiemap_prep() argument
187 incompat_flags = fieinfo->fi_flags & ~supported_flags; in fiemap_prep()
[all …]
Dbad_inode.c130 struct fiemap_extent_info *fieinfo, u64 start, in bad_inode_fiemap() argument
/fs/ocfs2/
Dextent_map.c701 struct fiemap_extent_info *fieinfo, in ocfs2_fiemap_inline() argument
725 ret = fiemap_fill_next_extent(fieinfo, 0, phys, id_count, in ocfs2_fiemap_inline()
734 int ocfs2_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, in ocfs2_fiemap() argument
745 ret = fiemap_prep(inode, fieinfo, map_start, &map_len, 0); in ocfs2_fiemap()
762 ret = ocfs2_fiemap_inline(inode, di_bh, fieinfo, map_start); in ocfs2_fiemap()
796 ret = fiemap_fill_next_extent(fieinfo, virt_bytes, phys_bytes, in ocfs2_fiemap()
Dextent_map.h38 int ocfs2_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo,
/fs/erofs/
Ddata.c337 int erofs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, in erofs_fiemap() argument
342 return iomap_fiemap(inode, fieinfo, start, len, in erofs_fiemap()
348 return iomap_fiemap(inode, fieinfo, start, len, &erofs_iomap_ops); in erofs_fiemap()
Dinternal.h464 int erofs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo,
/fs/ext4/
Dioctl.c1023 struct fiemap_extent_info fieinfo = { 0, }; in ext4_ioctl_get_es_cache() local
1033 fieinfo.fi_flags = fiemap.fm_flags; in ext4_ioctl_get_es_cache()
1034 fieinfo.fi_extents_max = fiemap.fm_extent_count; in ext4_ioctl_get_es_cache()
1035 fieinfo.fi_extents_start = ufiemap->fm_extents; in ext4_ioctl_get_es_cache()
1037 error = ext4_get_es_cache(inode, &fieinfo, fiemap.fm_start, in ext4_ioctl_get_es_cache()
1039 fiemap.fm_flags = fieinfo.fi_flags; in ext4_ioctl_get_es_cache()
1040 fiemap.fm_mapped_extents = fieinfo.fi_extents_mapped; in ext4_ioctl_get_es_cache()
Dextents.c2187 struct fiemap_extent_info *fieinfo) in ext4_fill_es_cache_info() argument
2214 err = fiemap_fill_next_extent(fieinfo, in ext4_fill_es_cache_info()
4973 int ext4_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, in ext4_fiemap() argument
4978 if (fieinfo->fi_flags & FIEMAP_FLAG_CACHE) { in ext4_fiemap()
4982 fieinfo->fi_flags &= ~FIEMAP_FLAG_CACHE; in ext4_fiemap()
4994 if (fieinfo->fi_flags & FIEMAP_FLAG_XATTR) { in ext4_fiemap()
4995 fieinfo->fi_flags &= ~FIEMAP_FLAG_XATTR; in ext4_fiemap()
4996 return iomap_fiemap(inode, fieinfo, start, len, in ext4_fiemap()
5000 return iomap_fiemap(inode, fieinfo, start, len, &ext4_iomap_report_ops); in ext4_fiemap()
5003 int ext4_get_es_cache(struct inode *inode, struct fiemap_extent_info *fieinfo, in ext4_get_es_cache() argument
[all …]
Dext4.h3712 extern int ext4_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo,
3715 struct fiemap_extent_info *fieinfo,
/fs/xfs/
Dxfs_iops.c1071 struct fiemap_extent_info *fieinfo, in xfs_vn_fiemap() argument
1078 if (fieinfo->fi_flags & FIEMAP_FLAG_XATTR) { in xfs_vn_fiemap()
1079 fieinfo->fi_flags &= ~FIEMAP_FLAG_XATTR; in xfs_vn_fiemap()
1080 error = iomap_fiemap(inode, fieinfo, start, length, in xfs_vn_fiemap()
1083 error = iomap_fiemap(inode, fieinfo, start, length, in xfs_vn_fiemap()
/fs/hpfs/
Dfile.c235 static int hpfs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, u64 start, u64 len) in hpfs_fiemap() argument
241 ret = iomap_fiemap(inode, fieinfo, start, len, &hpfs_iomap_ops); in hpfs_fiemap()
/fs/btrfs/
Dextent_io.c3534 static int emit_fiemap_extent(struct fiemap_extent_info *fieinfo, in emit_fiemap_extent() argument
3576 ret = fiemap_fill_next_extent(fieinfo, cache->offset, cache->phys, in emit_fiemap_extent()
3602 static int emit_last_fiemap_cache(struct fiemap_extent_info *fieinfo, in emit_last_fiemap_cache() argument
3610 ret = fiemap_fill_next_extent(fieinfo, cache->offset, cache->phys, in emit_last_fiemap_cache()
3727 struct fiemap_extent_info *fieinfo, in fiemap_process_hole() argument
3775 if (!checked_extent_shared && fieinfo->fi_extents_max) { in fiemap_process_hole()
3788 ret = emit_fiemap_extent(fieinfo, cache, prealloc_start, in fiemap_process_hole()
3796 ret = emit_fiemap_extent(fieinfo, cache, delalloc_start, 0, in fiemap_process_hole()
3825 if (!checked_extent_shared && fieinfo->fi_extents_max) { in fiemap_process_hole()
3836 ret = emit_fiemap_extent(fieinfo, cache, prealloc_start, in fiemap_process_hole()
[all …]
Dextent_io.h158 int extent_fiemap(struct btrfs_inode *inode, struct fiemap_extent_info *fieinfo,
/fs/nilfs2/
Dinode.c1163 int nilfs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, in nilfs_fiemap() argument
1176 ret = fiemap_prep(inode, fieinfo, start, &len, 0); in nilfs_fiemap()
1198 fieinfo, logical, phys, size, flags); in nilfs_fiemap()
1248 fieinfo, logical, phys, size, flags); in nilfs_fiemap()
1263 fieinfo, logical, phys, size, in nilfs_fiemap()
Dnilfs.h284 int nilfs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo,
/fs/f2fs/
Ddata.c1886 struct fiemap_extent_info *fieinfo) in f2fs_xattr_fiemap() argument
1925 err = fiemap_fill_next_extent(fieinfo, 0, phys, len, flags); in f2fs_xattr_fiemap()
1951 err = fiemap_fill_next_extent(fieinfo, 0, phys, len, flags); in f2fs_xattr_fiemap()
1977 int f2fs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, in f2fs_fiemap() argument
1991 if (fieinfo->fi_flags & FIEMAP_FLAG_CACHE) { in f2fs_fiemap()
1997 ret = fiemap_prep(inode, fieinfo, start, &len, FIEMAP_FLAG_XATTR); in f2fs_fiemap()
2012 if (fieinfo->fi_flags & FIEMAP_FLAG_XATTR) { in f2fs_fiemap()
2013 ret = f2fs_xattr_fiemap(inode, fieinfo); in f2fs_fiemap()
2018 ret = f2fs_inline_data_fiemap(inode, fieinfo, start, len); in f2fs_fiemap()
2069 ret = fiemap_fill_next_extent(fieinfo, logical, in f2fs_fiemap()
Dinline.c771 struct fiemap_extent_info *fieinfo, __u64 start, __u64 len) in f2fs_inline_data_fiemap() argument
809 err = fiemap_fill_next_extent(fieinfo, start, byteaddr, ilen, flags); in f2fs_inline_data_fiemap()
Df2fs.h3810 int f2fs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo,
4137 struct fiemap_extent_info *fieinfo,
/fs/ntfs3/
Dfile.c1235 int ntfs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, in ntfs_fiemap() argument
1241 err = fiemap_prep(inode, fieinfo, start, &len, ~FIEMAP_FLAG_XATTR); in ntfs_fiemap()
1247 err = ni_fiemap(ni, fieinfo, start, len); in ntfs_fiemap()
Dntfs_fs.h498 int ntfs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo,
555 int ni_fiemap(struct ntfs_inode *ni, struct fiemap_extent_info *fieinfo,
Dfrecord.c1906 int ni_fiemap(struct ntfs_inode *ni, struct fiemap_extent_info *fieinfo, in ni_fiemap() argument
1950 fieinfo, 0, 0, in ni_fiemap()
2045 err = fiemap_fill_next_extent(fieinfo, vbo, lbo, dlen, in ni_fiemap()
2066 err = fiemap_fill_next_extent(fieinfo, vbo, lbo, bytes, flags); in ni_fiemap()
/fs/overlayfs/
Dinode.c568 static int ovl_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, in ovl_fiemap() argument
579 err = realinode->i_op->fiemap(realinode, fieinfo, start, len); in ovl_fiemap()
/fs/ext2/
Dext2.h749 extern int ext2_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo,
Dinode.c859 int ext2_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, in ext2_fiemap() argument
866 ret = iomap_fiemap(inode, fieinfo, start, len, &ext2_iomap_ops); in ext2_fiemap()
/fs/gfs2/
Dinode.c2075 static int gfs2_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, in gfs2_fiemap() argument
2088 ret = iomap_fiemap(inode, fieinfo, start, len, &gfs2_iomap_ops); in gfs2_fiemap()

12