Searched refs:fiemap (Results 1 – 25 of 36) sorted by relevance
12
/Linux-v6.6/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); 113 fiemap: no
|
/Linux-v6.6/fs/ |
D | ioctl.c | 200 static int ioctl_fiemap(struct file *filp, struct fiemap __user *ufiemap) in ioctl_fiemap() 202 struct fiemap fiemap; in ioctl_fiemap() local 207 if (!inode->i_op->fiemap) in ioctl_fiemap() 210 if (copy_from_user(&fiemap, ufiemap, sizeof(fiemap))) in ioctl_fiemap() 213 if (fiemap.fm_extent_count > FIEMAP_MAX_EXTENTS) in ioctl_fiemap() 216 fieinfo.fi_flags = fiemap.fm_flags; in ioctl_fiemap() 217 fieinfo.fi_extents_max = fiemap.fm_extent_count; in ioctl_fiemap() 220 error = inode->i_op->fiemap(inode, &fieinfo, fiemap.fm_start, in ioctl_fiemap() 221 fiemap.fm_length); in ioctl_fiemap() 223 fiemap.fm_flags = fieinfo.fi_flags; in ioctl_fiemap() [all …]
|
D | bad_inode.c | 180 .fiemap = bad_inode_fiemap,
|
/Linux-v6.6/fs/ext4/ |
D | ioctl.c | 1025 struct fiemap fiemap; in ext4_ioctl_get_es_cache() local 1026 struct fiemap __user *ufiemap = (struct fiemap __user *) arg; in ext4_ioctl_get_es_cache() 1031 if (copy_from_user(&fiemap, ufiemap, sizeof(fiemap))) in ext4_ioctl_get_es_cache() 1034 if (fiemap.fm_extent_count > FIEMAP_MAX_EXTENTS) in ext4_ioctl_get_es_cache() 1037 fieinfo.fi_flags = fiemap.fm_flags; in ext4_ioctl_get_es_cache() 1038 fieinfo.fi_extents_max = fiemap.fm_extent_count; in ext4_ioctl_get_es_cache() 1041 error = ext4_get_es_cache(inode, &fieinfo, fiemap.fm_start, in ext4_ioctl_get_es_cache() 1042 fiemap.fm_length); in ext4_ioctl_get_es_cache() 1043 fiemap.fm_flags = fieinfo.fi_flags; in ext4_ioctl_get_es_cache() 1044 fiemap.fm_mapped_extents = fieinfo.fi_extents_mapped; in ext4_ioctl_get_es_cache() [all …]
|
D | file.c | 976 .fiemap = ext4_fiemap,
|
/Linux-v6.6/fs/iomap/ |
D | Makefile | 15 fiemap.o \
|
/Linux-v6.6/include/uapi/linux/ |
D | fiemap.h | 28 struct fiemap { struct
|
D | ext4.h | 32 #define EXT4_IOC_GET_ES_CACHE _IOWR('f', 42, struct fiemap)
|
D | fs.h | 209 #define FS_IOC_FIEMAP _IOWR('f', 11, struct fiemap)
|
/Linux-v6.6/fs/ocfs2/ |
D | symlink.c | 93 .fiemap = ocfs2_fiemap,
|
/Linux-v6.6/fs/nilfs2/ |
D | file.c | 150 .fiemap = nilfs_fiemap,
|
D | namei.c | 553 .fiemap = nilfs_fiemap,
|
/Linux-v6.6/tools/include/uapi/linux/ |
D | fs.h | 209 #define FS_IOC_FIEMAP _IOWR('f', 11, struct fiemap)
|
/Linux-v6.6/fs/erofs/ |
D | namei.c | 223 .fiemap = erofs_fiemap,
|
D | inode.c | 380 .fiemap = erofs_fiemap,
|
/Linux-v6.6/fs/overlayfs/ |
D | inode.c | 723 if (!realinode->i_op->fiemap) in ovl_fiemap() 727 err = realinode->i_op->fiemap(realinode, fieinfo, start, len); in ovl_fiemap() 875 .fiemap = ovl_fiemap,
|
/Linux-v6.6/fs/ext2/ |
D | file.c | 329 .fiemap = ext2_fiemap,
|
/Linux-v6.6/fs/hpfs/ |
D | file.c | 270 .fiemap = hpfs_fiemap,
|
/Linux-v6.6/Documentation/admin-guide/cifs/ |
D | todo.rst | 21 b) improved sparse file support (fiemap and SEEK_HOLE are implemented
|
/Linux-v6.6/fs/ntfs3/ |
D | namei.c | 604 .fiemap = ntfs_fiemap,
|
D | file.c | 1177 .fiemap = ntfs_fiemap,
|
/Linux-v6.6/fs/gfs2/ |
D | inode.c | 2172 .fiemap = gfs2_fiemap, 2194 .fiemap = gfs2_fiemap, 2209 .fiemap = gfs2_fiemap,
|
/Linux-v6.6/fs/xfs/ |
D | xfs_iops.c | 1120 .fiemap = xfs_vn_fiemap,
|
12