Home
last modified time | relevance | path

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

12

/Linux-v5.4/fs/
Dioctl.c179 struct fiemap fiemap; in ioctl_fiemap() local
180 struct fiemap __user *ufiemap = (struct fiemap __user *) arg; in ioctl_fiemap()
187 if (!inode->i_op->fiemap) in ioctl_fiemap()
190 if (copy_from_user(&fiemap, ufiemap, sizeof(fiemap))) in ioctl_fiemap()
193 if (fiemap.fm_extent_count > FIEMAP_MAX_EXTENTS) in ioctl_fiemap()
196 error = fiemap_check_ranges(sb, fiemap.fm_start, fiemap.fm_length, in ioctl_fiemap()
201 fieinfo.fi_flags = fiemap.fm_flags; in ioctl_fiemap()
202 fieinfo.fi_extents_max = fiemap.fm_extent_count; in ioctl_fiemap()
205 if (fiemap.fm_extent_count != 0 && in ioctl_fiemap()
213 error = inode->i_op->fiemap(inode, &fieinfo, fiemap.fm_start, len); in ioctl_fiemap()
[all …]
Dbad_inode.c172 .fiemap = bad_inode_fiemap,
/Linux-v5.4/Documentation/filesystems/
Dfiemap.txt5 The fiemap ioctl is an efficient method for userspace to get file
6 extent mappings. Instead of block-by-block mapping (such as bmap), fiemap
13 A fiemap request is encoded within struct fiemap:
15 struct fiemap {
42 fiemap interface to grow in the future but without losing
66 which userspace must allocate along with the fiemap structure. The
100 the file so that the process making fiemap calls can determine when no
177 File systems wishing to support fiemap must implement a ->fiemap callback on
178 their inode_operations structure. The fs ->fiemap call is responsible for
179 defining its set of supported fiemap flags, and calling a helper function on
[all …]
Dlocking.rst77 int (*fiemap)(struct inode *, struct fiemap_extent_info *, u64 start, u64 len);
106 fiemap: no
/Linux-v5.4/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,
/Linux-v5.4/fs/iomap/
DMakefile12 fiemap.o \
/Linux-v5.4/include/uapi/linux/
Dfiemap.h28 struct fiemap { struct
Dfs.h208 #define FS_IOC_FIEMAP _IOWR('f', 11, struct fiemap)
/Linux-v5.4/fs/ocfs2/
Dsymlink.c94 .fiemap = ocfs2_fiemap,
Dfile.c2645 .fiemap = ocfs2_fiemap,
/Linux-v5.4/fs/nilfs2/
Dfile.c149 .fiemap = nilfs_fiemap,
Dnamei.c551 .fiemap = nilfs_fiemap,
/Linux-v5.4/fs/ext2/
Dfile.c206 .fiemap = ext2_fiemap,
/Linux-v5.4/tools/include/uapi/linux/
Dfs.h208 #define FS_IOC_FIEMAP _IOWR('f', 11, struct fiemap)
/Linux-v5.4/fs/overlayfs/
Dinode.c464 if (!realinode->i_op->fiemap) in ovl_fiemap()
472 err = realinode->i_op->fiemap(realinode, fieinfo, start, len); in ovl_fiemap()
485 .fiemap = ovl_fiemap,
/Linux-v5.4/fs/hpfs/
Dfile.c223 .fiemap = hpfs_fiemap,
/Linux-v5.4/Documentation/admin-guide/cifs/
Dtodo.rst21 b) improved sparse file support (fiemap and SEEK_HOLE are implemented
/Linux-v5.4/fs/gfs2/
Dinode.c2094 .fiemap = gfs2_fiemap,
2113 .fiemap = gfs2_fiemap,
2125 .fiemap = gfs2_fiemap,
/Linux-v5.4/fs/xfs/
Dxfs_iops.c1139 .fiemap = xfs_vn_fiemap,
/Linux-v5.4/fs/cifs/
Dsmb2ops.c4532 .fiemap = smb3_fiemap,
4631 .fiemap = smb3_fiemap,
4739 .fiemap = smb3_fiemap,
4848 .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.c1051 .fiemap = cifs_fiemap,
/Linux-v5.4/fs/f2fs/
Dnamei.c1270 .fiemap = f2fs_fiemap,

12