Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
fiemap.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  fiemap_extent
 
struct  fiemap
 

Macros

#define FIEMAP_MAX_OFFSET   (~0ULL)
 
#define FIEMAP_FLAG_SYNC   0x00000001 /* sync file data before map */
 
#define FIEMAP_FLAG_XATTR   0x00000002 /* map extended attribute tree */
 
#define FIEMAP_FLAGS_COMPAT   (FIEMAP_FLAG_SYNC | FIEMAP_FLAG_XATTR)
 
#define FIEMAP_EXTENT_LAST   0x00000001 /* Last extent in file. */
 
#define FIEMAP_EXTENT_UNKNOWN   0x00000002 /* Data location unknown. */
 
#define FIEMAP_EXTENT_DELALLOC
 
#define FIEMAP_EXTENT_ENCODED
 
#define FIEMAP_EXTENT_DATA_ENCRYPTED
 
#define FIEMAP_EXTENT_NOT_ALIGNED
 
#define FIEMAP_EXTENT_DATA_INLINE
 
#define FIEMAP_EXTENT_DATA_TAIL
 
#define FIEMAP_EXTENT_UNWRITTEN
 
#define FIEMAP_EXTENT_MERGED
 
#define FIEMAP_EXTENT_SHARED
 

Macro Definition Documentation

#define FIEMAP_EXTENT_DATA_ENCRYPTED
Value:
0x00000080 /* Data is encrypted by fs.
* Sets EXTENT_NO_BYPASS. */

Definition at line 50 of file fiemap.h.

#define FIEMAP_EXTENT_DATA_INLINE
Value:
0x00000200 /* Data mixed with metadata.
* Sets EXTENT_NOT_ALIGNED.*/

Definition at line 52 of file fiemap.h.

#define FIEMAP_EXTENT_DATA_TAIL
Value:
0x00000400 /* Multiple files in block.
* Sets EXTENT_NOT_ALIGNED.*/

Definition at line 53 of file fiemap.h.

#define FIEMAP_EXTENT_DELALLOC
Value:
0x00000004 /* Location still pending.
* Sets EXTENT_UNKNOWN. */

Definition at line 48 of file fiemap.h.

#define FIEMAP_EXTENT_ENCODED
Value:
0x00000008 /* Data can not be read
* while fs is unmounted */

Definition at line 49 of file fiemap.h.

#define FIEMAP_EXTENT_LAST   0x00000001 /* Last extent in file. */

Definition at line 46 of file fiemap.h.

#define FIEMAP_EXTENT_MERGED
Value:
0x00001000 /* File does not natively
* support extents. Result
* merged for efficiency. */

Definition at line 55 of file fiemap.h.

#define FIEMAP_EXTENT_NOT_ALIGNED
Value:
0x00000100 /* Extent offsets may not be
* block aligned. */

Definition at line 51 of file fiemap.h.

#define FIEMAP_EXTENT_SHARED
Value:
0x00002000 /* Space shared with other
* files. */

Definition at line 56 of file fiemap.h.

#define FIEMAP_EXTENT_UNKNOWN   0x00000002 /* Data location unknown. */

Definition at line 47 of file fiemap.h.

#define FIEMAP_EXTENT_UNWRITTEN
Value:
0x00000800 /* Space allocated, but
* no data (i.e. zero). */

Definition at line 54 of file fiemap.h.

#define FIEMAP_FLAG_SYNC   0x00000001 /* sync file data before map */

Definition at line 41 of file fiemap.h.

#define FIEMAP_FLAG_XATTR   0x00000002 /* map extended attribute tree */

Definition at line 42 of file fiemap.h.

#define FIEMAP_FLAGS_COMPAT   (FIEMAP_FLAG_SYNC | FIEMAP_FLAG_XATTR)

Definition at line 44 of file fiemap.h.

#define FIEMAP_MAX_OFFSET   (~0ULL)

Definition at line 39 of file fiemap.h.