Home
last modified time | relevance | path

Searched refs:fiemap (Results 1 – 24 of 24) sorted by relevance

/fs/
Dioctl.c180 struct fiemap fiemap; in ioctl_fiemap() local
181 struct fiemap __user *ufiemap = (struct fiemap __user *) arg; in ioctl_fiemap()
188 if (!inode->i_op->fiemap) in ioctl_fiemap()
191 if (copy_from_user(&fiemap, ufiemap, sizeof(fiemap))) in ioctl_fiemap()
194 if (fiemap.fm_extent_count > FIEMAP_MAX_EXTENTS) in ioctl_fiemap()
197 error = fiemap_check_ranges(sb, fiemap.fm_start, fiemap.fm_length, in ioctl_fiemap()
202 fieinfo.fi_flags = fiemap.fm_flags; in ioctl_fiemap()
203 fieinfo.fi_extents_max = fiemap.fm_extent_count; in ioctl_fiemap()
206 if (fiemap.fm_extent_count != 0 && in ioctl_fiemap()
214 error = inode->i_op->fiemap(inode, &fieinfo, fiemap.fm_start, len); in ioctl_fiemap()
[all …]
Dbad_inode.c172 .fiemap = bad_inode_fiemap,
/fs/ext4/
Dioctl.c776 struct fiemap fiemap; in ext4_ioctl_get_es_cache() local
777 struct fiemap __user *ufiemap = (struct fiemap __user *) arg; in ext4_ioctl_get_es_cache()
784 if (copy_from_user(&fiemap, ufiemap, sizeof(fiemap))) in ext4_ioctl_get_es_cache()
787 if (fiemap.fm_extent_count > FIEMAP_MAX_EXTENTS) in ext4_ioctl_get_es_cache()
790 error = fiemap_check_ranges(sb, fiemap.fm_start, fiemap.fm_length, in ext4_ioctl_get_es_cache()
795 fieinfo.fi_flags = fiemap.fm_flags; in ext4_ioctl_get_es_cache()
796 fieinfo.fi_extents_max = fiemap.fm_extent_count; in ext4_ioctl_get_es_cache()
799 if (fiemap.fm_extent_count != 0 && in ext4_ioctl_get_es_cache()
807 error = ext4_get_es_cache(inode, &fieinfo, fiemap.fm_start, len); in ext4_ioctl_get_es_cache()
808 fiemap.fm_flags = fieinfo.fi_flags; in ext4_ioctl_get_es_cache()
[all …]
Dfile.c537 .fiemap = ext4_fiemap,
Dext4.h670 #define EXT4_IOC_GET_ES_CACHE _IOWR('f', 42, struct fiemap)
Dnamei.c4024 .fiemap = ext4_fiemap,
/fs/iomap/
DMakefile12 fiemap.o \
/fs/ocfs2/
Dsymlink.c94 .fiemap = ocfs2_fiemap,
Dfile.c2645 .fiemap = ocfs2_fiemap,
Dnamei.c2907 .fiemap = ocfs2_fiemap,
/fs/nilfs2/
Dfile.c149 .fiemap = nilfs_fiemap,
Dnamei.c551 .fiemap = nilfs_fiemap,
/fs/overlayfs/
Dinode.c471 if (!realinode->i_op->fiemap) in ovl_fiemap()
479 err = realinode->i_op->fiemap(realinode, fieinfo, start, len); in ovl_fiemap()
492 .fiemap = ovl_fiemap,
/fs/ext2/
Dfile.c206 .fiemap = ext2_fiemap,
/fs/hpfs/
Dfile.c223 .fiemap = hpfs_fiemap,
/fs/gfs2/
Dinode.c2094 .fiemap = gfs2_fiemap,
2113 .fiemap = gfs2_fiemap,
2125 .fiemap = gfs2_fiemap,
/fs/cifs/
Dsmb2ops.c4531 .fiemap = smb3_fiemap,
4630 .fiemap = smb3_fiemap,
4738 .fiemap = smb3_fiemap,
4847 .fiemap = smb3_fiemap,
Dinode.c2158 if (server->ops->fiemap) {
2159 rc = server->ops->fiemap(tcon, cfile, fei, start, len);
Dcifsglob.h499 int (*fiemap)(struct cifs_tcon *tcon, struct cifsFileInfo *, member
Dcifsfs.c1052 .fiemap = cifs_fiemap,
/fs/xfs/
Dxfs_iops.c1139 .fiemap = xfs_vn_fiemap,
/fs/f2fs/
Dnamei.c1279 .fiemap = f2fs_fiemap,
Dfile.c892 .fiemap = f2fs_fiemap,
/fs/btrfs/
Dinode.c11047 .fiemap = btrfs_fiemap,