Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/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 …]
D00-INDEX64 fiemap.txt
65 - info on fiemap ioctl.
DLocking62 int (*fiemap)(struct inode *, struct fiemap_extent_info *, u64 start, u64 len);
88 fiemap: no
/Linux-v4.19/include/uapi/linux/
Dfiemap.h28 struct fiemap { struct
Dfs.h251 #define FS_IOC_FIEMAP _IOWR('f', 11, struct fiemap)
/Linux-v4.19/fs/ocfs2/
Dsymlink.c94 .fiemap = ocfs2_fiemap,
Dfile.c2555 .fiemap = ocfs2_fiemap,
Dnamei.c2923 .fiemap = ocfs2_fiemap,
/Linux-v4.19/fs/nilfs2/
Dfile.c149 .fiemap = nilfs_fiemap,
Dnamei.c551 .fiemap = nilfs_fiemap,
/Linux-v4.19/fs/overlayfs/
Dinode.c466 if (!realinode->i_op->fiemap) in ovl_fiemap()
474 err = realinode->i_op->fiemap(realinode, fieinfo, start, len); in ovl_fiemap()
487 .fiemap = ovl_fiemap,
/Linux-v4.19/fs/ext2/
Dfile.c205 .fiemap = ext2_fiemap,
/Linux-v4.19/fs/hpfs/
Dfile.c223 .fiemap = hpfs_fiemap,
/Linux-v4.19/fs/ext4/
Dfile.c522 .fiemap = ext4_fiemap,
Dnamei.c3851 .fiemap = ext4_fiemap,
/Linux-v4.19/fs/gfs2/
Dinode.c2072 .fiemap = gfs2_fiemap,
2091 .fiemap = gfs2_fiemap,
2103 .fiemap = gfs2_fiemap,
/Linux-v4.19/fs/xfs/
Dxfs_iops.c1131 .fiemap = xfs_vn_fiemap,
/Linux-v4.19/include/linux/
Dfs.h1789 int (*fiemap)(struct inode *, struct fiemap_extent_info *, u64 start, member
/Linux-v4.19/fs/f2fs/
Dfile.c861 .fiemap = f2fs_fiemap,
/Linux-v4.19/fs/btrfs/
Dinode.c10582 .fiemap = btrfs_fiemap,