| /linux/Documentation/filesystems/ |
| H A D | fiemap.rst | 4 Fiemap Ioctl 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 .. kernel-doc:: include/uapi/linux/fiemap.h 18 :identifiers: fiemap 33 fiemap interface to grow in the future but without losing 41 nothing to prevent the file from changing between calls to FIEMAP. 59 which userspace must allocate along with the fiemap structure. The 73 .. kernel-doc:: include/uapi/linux/fiemap.h [all …]
|
| /linux/fs/ |
| H A D | ioctl.c | 21 #include <linux/fiemap.h> 30 /* So that the fiemap access checks can't overflow on 32 bit machines. */ 97 * fiemap_fill_next_extent - Fiemap helper function 98 * @fieinfo: Fiemap context passed into ->fiemap 104 * Called from file system ->fiemap callback. Will populate extent 155 * fiemap_prep - check validity of requested flags for fiemap 157 * @fieinfo: Fiemap context passed into ->fiemap 160 * @supported_flags: Set of fiemap flags that the file system understands 162 * This function must be called from each ->fiemap instance to validate the 163 * fiemap request against the file system parameters. [all …]
|
| /linux/fs/btrfs/ |
| H A D | fiemap.c | 5 #include "fiemap.h" 19 * the fiemap cache and relock the file range and research the subvolume tree. 30 * - Cache the next entry to be emitted to the fiemap buffer, so that we can 33 * - Store extents ready to be written to the fiemap buffer in an intermediary 34 * buffer. This intermediary buffer is to ensure that in case the fiemap 35 * buffer is memory mapped to the fiemap target file, we don't deadlock 36 * during btrfs_page_mkwrite(). This is because during fiemap we are locking 40 * if the fiemap buffer is memory mapped to the file we are running fiemap 45 /* An array of ready fiemap entries. */ 61 * fiemap_fill_next_extent() because we buffer ready fiemap entries at [all …]
|
| H A D | fiemap.h | 6 #include <linux/fiemap.h>
|
| /linux/include/uapi/linux/ |
| H A D | ext4.h | 5 #include <linux/fiemap.h> 22 /* note ioctl 10 reserved for an early version of the FIEMAP ioctl */ 23 /* note ioctl 11 reserved for filesystem-independent FIEMAP ioctl */ 32 #define EXT4_IOC_GET_ES_CACHE _IOWR('f', 42, struct fiemap)
|
| H A D | fiemap.h | 18 * struct fiemap_extent - description of one fiemap extent 37 * struct fiemap - file extent mappings 45 struct fiemap { struct
|
| /linux/include/linux/ |
| H A D | fiemap.h | 5 #include <uapi/linux/fiemap.h> 9 * struct fiemap_extent_info - fiemap request to a filesystem
|
| /linux/fs/iomap/ |
| H A D | Makefile | 16 fiemap.o \
|
| H A D | fiemap.c | 6 #include <linux/fiemap.h>
|
| /linux/fs/hpfs/ |
| H A D | file.c | 13 #include <linux/fiemap.h> 273 .fiemap = hpfs_fiemap,
|
| /linux/Documentation/filesystems/iomap/ |
| H A D | design.rst | 42 * FIEMAP 239 This is only useful for FIEMAP. 243 This is only useful for FIEMAP.
|
| H A D | porting.rst | 61 If FIEMAP is returning the correct information, it's a good sign that
|
| H A D | operations.rst | 779 The calling conventions are the same as for FIEMAP.
|
| /linux/fs/erofs/ |
| H A D | namei.c | 223 .fiemap = erofs_fiemap,
|
| H A D | inode.c | 383 .fiemap = erofs_fiemap,
|
| H A D | internal.h | 389 * Used to get the exact decompressed length, e.g. fiemap (consider lookback
|
| /linux/tools/include/uapi/linux/ |
| H A D | fs.h | 236 #define FS_IOC_FIEMAP _IOWR('f', 11, struct fiemap)
|
| /linux/tools/perf/trace/beauty/include/uapi/linux/ |
| H A D | fs.h | 322 #define FS_IOC_FIEMAP _IOWR('f', 11, struct fiemap)
|
| /linux/fs/smb/client/ |
| H A D | inode.c | 16 #include <linux/fiemap.h> 2999 if (server->ops->fiemap) { 3000 rc = server->ops->fiemap(tcon, cfile, fei, start, len);
|
| H A D | smb2ops.c | 15 #include <linux/fiemap.h> 5461 .fiemap = smb3_fiemap, 5566 .fiemap = smb3_fiemap, 5682 .fiemap = smb3_fiemap, 5798 .fiemap = smb3_fiemap,
|
| H A D | cifsglob.h | 617 /* version specific fiemap implementation */ 618 int (*fiemap)(struct cifs_tcon *tcon, struct cifsFileInfo *, member
|
| /linux/fs/ntfs/ |
| H A D | file.c | 1141 .fiemap = ntfs_fiemap,
|
| /linux/fs/fuse/ |
| H A D | dax.c | 572 /* We don't support FIEMAP */ in fuse_iomap_begin()
|
| /linux/security/landlock/ |
| H A D | fs.c | 41 #include <uapi/linux/fiemap.h>
|
| /linux/fs/ext4/ |
| H A D | inline.c | 8 #include <linux/fiemap.h>
|