Searched refs:fiemap (Results 1 – 22 of 22) sorted by relevance
/Linux-v4.19/fs/ |
D | ioctl.c | 179 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 …]
|
D | bad_inode.c | 172 .fiemap = bad_inode_fiemap,
|
/Linux-v4.19/Documentation/filesystems/ |
D | fiemap.txt | 5 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 …]
|
D | 00-INDEX | 64 fiemap.txt 65 - info on fiemap ioctl.
|
D | Locking | 62 int (*fiemap)(struct inode *, struct fiemap_extent_info *, u64 start, u64 len); 88 fiemap: no
|
/Linux-v4.19/include/uapi/linux/ |
D | fiemap.h | 28 struct fiemap { struct
|
D | fs.h | 251 #define FS_IOC_FIEMAP _IOWR('f', 11, struct fiemap)
|
/Linux-v4.19/fs/ocfs2/ |
D | symlink.c | 94 .fiemap = ocfs2_fiemap,
|
D | file.c | 2555 .fiemap = ocfs2_fiemap,
|
D | namei.c | 2923 .fiemap = ocfs2_fiemap,
|
/Linux-v4.19/fs/nilfs2/ |
D | file.c | 149 .fiemap = nilfs_fiemap,
|
D | namei.c | 551 .fiemap = nilfs_fiemap,
|
/Linux-v4.19/fs/overlayfs/ |
D | inode.c | 466 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/ |
D | file.c | 205 .fiemap = ext2_fiemap,
|
/Linux-v4.19/fs/hpfs/ |
D | file.c | 223 .fiemap = hpfs_fiemap,
|
/Linux-v4.19/fs/ext4/ |
D | file.c | 522 .fiemap = ext4_fiemap,
|
D | namei.c | 3851 .fiemap = ext4_fiemap,
|
/Linux-v4.19/fs/gfs2/ |
D | inode.c | 2072 .fiemap = gfs2_fiemap, 2091 .fiemap = gfs2_fiemap, 2103 .fiemap = gfs2_fiemap,
|
/Linux-v4.19/fs/xfs/ |
D | xfs_iops.c | 1131 .fiemap = xfs_vn_fiemap,
|
/Linux-v4.19/include/linux/ |
D | fs.h | 1789 int (*fiemap)(struct inode *, struct fiemap_extent_info *, u64 start, member
|
/Linux-v4.19/fs/f2fs/ |
D | file.c | 861 .fiemap = f2fs_fiemap,
|
/Linux-v4.19/fs/btrfs/ |
D | inode.c | 10582 .fiemap = btrfs_fiemap,
|