/kernel/linux/linux-5.10/fs/ |
D | ioctl.c | 196 static int ioctl_fiemap(struct file *filp, struct fiemap __user *ufiemap) in ioctl_fiemap() 198 struct fiemap fiemap; in ioctl_fiemap() local 203 if (!inode->i_op->fiemap) in ioctl_fiemap() 206 if (copy_from_user(&fiemap, ufiemap, sizeof(fiemap))) in ioctl_fiemap() 209 if (fiemap.fm_extent_count > FIEMAP_MAX_EXTENTS) in ioctl_fiemap() 212 fieinfo.fi_flags = fiemap.fm_flags; in ioctl_fiemap() 213 fieinfo.fi_extents_max = fiemap.fm_extent_count; in ioctl_fiemap() 216 error = inode->i_op->fiemap(inode, &fieinfo, fiemap.fm_start, in ioctl_fiemap() 217 fiemap.fm_length); in ioctl_fiemap() 219 fiemap.fm_flags = fieinfo.fi_flags; in ioctl_fiemap() [all …]
|
D | bad_inode.c | 173 .fiemap = bad_inode_fiemap,
|
/kernel/linux/linux-5.10/Documentation/filesystems/ |
D | fiemap.rst | 7 The fiemap ioctl is an efficient method for userspace to get file 8 extent mappings. Instead of block-by-block mapping (such as bmap), fiemap 15 A fiemap request is encoded within struct fiemap:: 17 struct fiemap { 44 fiemap interface to grow in the future but without losing 68 which userspace must allocate along with the fiemap structure. The 102 the file so that the process making fiemap calls can determine when no 123 (via fiemap->fm_length). 182 File systems wishing to support fiemap must implement a ->fiemap callback on 183 their inode_operations structure. The fs ->fiemap call is responsible for [all …]
|
D | index.rst | 29 fiemap
|
D | locking.rst | 77 int (*fiemap)(struct inode *, struct fiemap_extent_info *, u64 start, u64 len); 106 fiemap: no
|
/kernel/linux/linux-5.10/fs/ext4/ |
D | ioctl.c | 793 struct fiemap fiemap; in ext4_ioctl_get_es_cache() local 794 struct fiemap __user *ufiemap = (struct fiemap __user *) arg; in ext4_ioctl_get_es_cache() 799 if (copy_from_user(&fiemap, ufiemap, sizeof(fiemap))) in ext4_ioctl_get_es_cache() 802 if (fiemap.fm_extent_count > FIEMAP_MAX_EXTENTS) in ext4_ioctl_get_es_cache() 805 fieinfo.fi_flags = fiemap.fm_flags; in ext4_ioctl_get_es_cache() 806 fieinfo.fi_extents_max = fiemap.fm_extent_count; in ext4_ioctl_get_es_cache() 809 error = ext4_get_es_cache(inode, &fieinfo, fiemap.fm_start, in ext4_ioctl_get_es_cache() 810 fiemap.fm_length); in ext4_ioctl_get_es_cache() 811 fiemap.fm_flags = fieinfo.fi_flags; in ext4_ioctl_get_es_cache() 812 fiemap.fm_mapped_extents = fieinfo.fi_extents_mapped; in ext4_ioctl_get_es_cache() [all …]
|
D | file.c | 945 .fiemap = ext4_fiemap,
|
/kernel/linux/linux-5.10/fs/iomap/ |
D | Makefile | 15 fiemap.o \
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | fiemap.h | 30 struct fiemap { struct
|
D | fs.h | 146 #define FS_IOC_FIEMAP _IOWR('f', 11, struct fiemap)
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | fiemap.h | 28 struct fiemap { struct
|
D | fs.h | 208 #define FS_IOC_FIEMAP _IOWR('f', 11, struct fiemap)
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | fiemap.h | 17 struct fiemap { struct
|
D | fs.h | 172 #define FS_IOC_FIEMAP _IOWR('f', 11, struct fiemap)
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
D | symlink.c | 94 .fiemap = ocfs2_fiemap,
|
/kernel/linux/linux-5.10/fs/nilfs2/ |
D | file.c | 150 .fiemap = nilfs_fiemap,
|
D | namei.c | 551 .fiemap = nilfs_fiemap,
|
/kernel/linux/build/test/syzkaller/qos_auth/ |
D | latency_nice.txt | 22 include <linux/fiemap.h>
|
/kernel/linux/linux-5.10/fs/ext2/ |
D | file.c | 206 .fiemap = ext2_fiemap,
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
D | fs.h | 208 #define FS_IOC_FIEMAP _IOWR('f', 11, struct fiemap)
|
/kernel/linux/linux-5.10/fs/overlayfs/ |
D | inode.c | 484 if (!realinode->i_op->fiemap) in ovl_fiemap() 488 err = realinode->i_op->fiemap(realinode, fieinfo, start, len); in ovl_fiemap() 501 .fiemap = ovl_fiemap,
|
/kernel/linux/linux-5.10/fs/hpfs/ |
D | file.c | 224 .fiemap = hpfs_fiemap,
|
/kernel/linux/linux-5.10/Documentation/admin-guide/cifs/ |
D | todo.rst | 21 b) improved sparse file support (fiemap and SEEK_HOLE are implemented
|
/kernel/linux/linux-5.10/fs/gfs2/ |
D | inode.c | 2144 .fiemap = gfs2_fiemap, 2164 .fiemap = gfs2_fiemap, 2177 .fiemap = gfs2_fiemap,
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_iops.c | 1175 .fiemap = xfs_vn_fiemap,
|