Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs
xfs_fs.h File Reference

Go to the source code of this file.

Data Structures

struct  dioattr
 
struct  fsxattr
 
struct  getbmap
 
struct  getbmapx
 
struct  fsdmidata
 
struct  xfs_flock64
 
struct  xfs_fsop_geom_v1
 
struct  xfs_fsop_geom
 
struct  xfs_fsop_counts
 
struct  xfs_fsop_resblks
 
struct  xfs_growfs_data
 
struct  xfs_growfs_log
 
struct  xfs_growfs_rt
 
struct  xfs_bstime
 
struct  xfs_bstat
 
struct  xfs_fsop_bulkreq
 
struct  xfs_inogrp
 
struct  xfs_error_injection
 
struct  xfs_fsop_handlereq
 
struct  xfs_fsop_setdm_handlereq
 
struct  xfs_attrlist_cursor
 
struct  xfs_fsop_attrlist_handlereq
 
struct  xfs_attr_multiop
 
struct  xfs_fsop_attrmulti_handlereq
 
struct  xfs_fsid_t
 
struct  xfs_fid
 
struct  xfs_handle
 

Macros

#define XFS_XFLAG_REALTIME   0x00000001 /* data in realtime volume */
 
#define XFS_XFLAG_PREALLOC   0x00000002 /* preallocated file extents */
 
#define XFS_XFLAG_IMMUTABLE   0x00000008 /* file cannot be modified */
 
#define XFS_XFLAG_APPEND   0x00000010 /* all writes append */
 
#define XFS_XFLAG_SYNC   0x00000020 /* all writes synchronous */
 
#define XFS_XFLAG_NOATIME   0x00000040 /* do not update access time */
 
#define XFS_XFLAG_NODUMP   0x00000080 /* do not include in backups */
 
#define XFS_XFLAG_RTINHERIT   0x00000100 /* create with rt bit set */
 
#define XFS_XFLAG_PROJINHERIT   0x00000200 /* create with parents projid */
 
#define XFS_XFLAG_NOSYMLINKS   0x00000400 /* disallow symlink creation */
 
#define XFS_XFLAG_EXTSIZE   0x00000800 /* extent size allocator hint */
 
#define XFS_XFLAG_EXTSZINHERIT   0x00001000 /* inherit inode extent size */
 
#define XFS_XFLAG_NODEFRAG   0x00002000 /* do not defragment */
 
#define XFS_XFLAG_FILESTREAM   0x00004000 /* use filestream allocator */
 
#define XFS_XFLAG_HASATTR   0x80000000 /* no DIFLAG for this */
 
#define BMV_IF_ATTRFORK   0x1 /* return attr fork rather than data */
 
#define BMV_IF_NO_DMAPI_READ   0x2 /* Do not generate DMAPI read event */
 
#define BMV_IF_PREALLOC   0x4 /* rtn status BMV_OF_PREALLOC if req */
 
#define BMV_IF_DELALLOC   0x8 /* rtn status BMV_OF_DELALLOC if req */
 
#define BMV_IF_NO_HOLES   0x10 /* Do not return holes */
 
#define BMV_IF_VALID
 
#define BMV_OF_PREALLOC   0x1 /* segment = unwritten pre-allocation */
 
#define BMV_OF_DELALLOC   0x2 /* segment = delayed allocation */
 
#define BMV_OF_LAST   0x4 /* segment is the last in the file */
 
#define XFS_FSOP_GEOM_VERSION   0
 
#define XFS_FSOP_GEOM_FLAGS_ATTR   0x0001 /* attributes in use */
 
#define XFS_FSOP_GEOM_FLAGS_NLINK   0x0002 /* 32-bit nlink values */
 
#define XFS_FSOP_GEOM_FLAGS_QUOTA   0x0004 /* quotas enabled */
 
#define XFS_FSOP_GEOM_FLAGS_IALIGN   0x0008 /* inode alignment */
 
#define XFS_FSOP_GEOM_FLAGS_DALIGN   0x0010 /* large data alignment */
 
#define XFS_FSOP_GEOM_FLAGS_SHARED   0x0020 /* read-only shared */
 
#define XFS_FSOP_GEOM_FLAGS_EXTFLG   0x0040 /* special extent flag */
 
#define XFS_FSOP_GEOM_FLAGS_DIRV2   0x0080 /* directory version 2 */
 
#define XFS_FSOP_GEOM_FLAGS_LOGV2   0x0100 /* log format version 2 */
 
#define XFS_FSOP_GEOM_FLAGS_SECTOR   0x0200 /* sector sizes >1BB */
 
#define XFS_FSOP_GEOM_FLAGS_ATTR2   0x0400 /* inline attributes rework */
 
#define XFS_FSOP_GEOM_FLAGS_DIRV2CI   0x1000 /* ASCII only CI names */
 
#define XFS_FSOP_GEOM_FLAGS_LAZYSB   0x4000 /* lazy superblock counters */
 
#define XFS_MIN_AG_BLOCKS   64
 
#define XFS_MIN_LOG_BLOCKS   512ULL
 
#define XFS_MAX_LOG_BLOCKS   (1024 * 1024ULL)
 
#define XFS_MIN_LOG_BYTES   (10 * 1024 * 1024ULL)
 
#define XFS_MAX_LOG_BYTES   ((2 * 1024 * 1024 * 1024ULL) - XFS_MIN_LOG_BYTES)
 
#define XFS_MAX_DBLOCKS(s)   ((xfs_drfsbno_t)(s)->sb_agcount * (s)->sb_agblocks)
 
#define XFS_MIN_DBLOCKS(s)
 
#define bs_projid   bs_projid_lo /* (previously just bs_projid) */
 
#define ATTR_OP_GET   1 /* return the indicated attr's value */
 
#define ATTR_OP_SET   2 /* set/create the indicated attr/value pair */
 
#define ATTR_OP_REMOVE   3 /* remove the indicated attr */
 
#define ha_fsid   ha_u._ha_fsid
 
#define XFS_HSIZE(handle)
 
#define XFS_FSOP_GOING_FLAGS_DEFAULT   0x0 /* going down */
 
#define XFS_FSOP_GOING_FLAGS_LOGFLUSH   0x1 /* flush log but not data */
 
#define XFS_FSOP_GOING_FLAGS_NOLOGFLUSH   0x2 /* don't flush log nor data */
 
#define XFS_IOC_GETXFLAGS   FS_IOC_GETFLAGS
 
#define XFS_IOC_SETXFLAGS   FS_IOC_SETFLAGS
 
#define XFS_IOC_GETVERSION   FS_IOC_GETVERSION
 
#define XFS_IOC_ALLOCSP   _IOW ('X', 10, struct xfs_flock64)
 
#define XFS_IOC_FREESP   _IOW ('X', 11, struct xfs_flock64)
 
#define XFS_IOC_DIOINFO   _IOR ('X', 30, struct dioattr)
 
#define XFS_IOC_FSGETXATTR   _IOR ('X', 31, struct fsxattr)
 
#define XFS_IOC_FSSETXATTR   _IOW ('X', 32, struct fsxattr)
 
#define XFS_IOC_ALLOCSP64   _IOW ('X', 36, struct xfs_flock64)
 
#define XFS_IOC_FREESP64   _IOW ('X', 37, struct xfs_flock64)
 
#define XFS_IOC_GETBMAP   _IOWR('X', 38, struct getbmap)
 
#define XFS_IOC_FSSETDM   _IOW ('X', 39, struct fsdmidata)
 
#define XFS_IOC_RESVSP   _IOW ('X', 40, struct xfs_flock64)
 
#define XFS_IOC_UNRESVSP   _IOW ('X', 41, struct xfs_flock64)
 
#define XFS_IOC_RESVSP64   _IOW ('X', 42, struct xfs_flock64)
 
#define XFS_IOC_UNRESVSP64   _IOW ('X', 43, struct xfs_flock64)
 
#define XFS_IOC_GETBMAPA   _IOWR('X', 44, struct getbmap)
 
#define XFS_IOC_FSGETXATTRA   _IOR ('X', 45, struct fsxattr)
 
#define XFS_IOC_GETBMAPX   _IOWR('X', 56, struct getbmap)
 
#define XFS_IOC_ZERO_RANGE   _IOW ('X', 57, struct xfs_flock64)
 
#define XFS_IOC_FSGEOMETRY_V1   _IOR ('X', 100, struct xfs_fsop_geom_v1)
 
#define XFS_IOC_FSBULKSTAT   _IOWR('X', 101, struct xfs_fsop_bulkreq)
 
#define XFS_IOC_FSBULKSTAT_SINGLE   _IOWR('X', 102, struct xfs_fsop_bulkreq)
 
#define XFS_IOC_FSINUMBERS   _IOWR('X', 103, struct xfs_fsop_bulkreq)
 
#define XFS_IOC_PATH_TO_FSHANDLE   _IOWR('X', 104, struct xfs_fsop_handlereq)
 
#define XFS_IOC_PATH_TO_HANDLE   _IOWR('X', 105, struct xfs_fsop_handlereq)
 
#define XFS_IOC_FD_TO_HANDLE   _IOWR('X', 106, struct xfs_fsop_handlereq)
 
#define XFS_IOC_OPEN_BY_HANDLE   _IOWR('X', 107, struct xfs_fsop_handlereq)
 
#define XFS_IOC_READLINK_BY_HANDLE   _IOWR('X', 108, struct xfs_fsop_handlereq)
 
#define XFS_IOC_SWAPEXT   _IOWR('X', 109, struct xfs_swapext)
 
#define XFS_IOC_FSGROWFSDATA   _IOW ('X', 110, struct xfs_growfs_data)
 
#define XFS_IOC_FSGROWFSLOG   _IOW ('X', 111, struct xfs_growfs_log)
 
#define XFS_IOC_FSGROWFSRT   _IOW ('X', 112, struct xfs_growfs_rt)
 
#define XFS_IOC_FSCOUNTS   _IOR ('X', 113, struct xfs_fsop_counts)
 
#define XFS_IOC_SET_RESBLKS   _IOWR('X', 114, struct xfs_fsop_resblks)
 
#define XFS_IOC_GET_RESBLKS   _IOR ('X', 115, struct xfs_fsop_resblks)
 
#define XFS_IOC_ERROR_INJECTION   _IOW ('X', 116, struct xfs_error_injection)
 
#define XFS_IOC_ERROR_CLEARALL   _IOW ('X', 117, struct xfs_error_injection)
 
#define XFS_IOC_FSSETDM_BY_HANDLE   _IOW ('X', 121, struct xfs_fsop_setdm_handlereq)
 
#define XFS_IOC_ATTRLIST_BY_HANDLE   _IOW ('X', 122, struct xfs_fsop_attrlist_handlereq)
 
#define XFS_IOC_ATTRMULTI_BY_HANDLE   _IOW ('X', 123, struct xfs_fsop_attrmulti_handlereq)
 
#define XFS_IOC_FSGEOMETRY   _IOR ('X', 124, struct xfs_fsop_geom)
 
#define XFS_IOC_GOINGDOWN   _IOR ('X', 125, __uint32_t)
 
#define BBSHIFT   9
 
#define BBSIZE   (1<<BBSHIFT)
 
#define BBMASK   (BBSIZE-1)
 
#define BTOBB(bytes)   (((__u64)(bytes) + BBSIZE - 1) >> BBSHIFT)
 
#define BTOBBT(bytes)   ((__u64)(bytes) >> BBSHIFT)
 
#define BBTOB(bbs)   ((bbs) << BBSHIFT)
 

Typedefs

typedef struct xfs_flock64 xfs_flock64_t
 
typedef struct xfs_fsop_geom_v1 xfs_fsop_geom_v1_t
 
typedef struct xfs_fsop_geom xfs_fsop_geom_t
 
typedef struct xfs_fsop_counts xfs_fsop_counts_t
 
typedef struct xfs_fsop_resblks xfs_fsop_resblks_t
 
typedef struct xfs_growfs_data xfs_growfs_data_t
 
typedef struct xfs_growfs_log xfs_growfs_log_t
 
typedef struct xfs_growfs_rt xfs_growfs_rt_t
 
typedef struct xfs_bstime xfs_bstime_t
 
typedef struct xfs_bstat xfs_bstat_t
 
typedef struct xfs_fsop_bulkreq xfs_fsop_bulkreq_t
 
typedef struct xfs_inogrp xfs_inogrp_t
 
typedef struct xfs_error_injection xfs_error_injection_t
 
typedef struct xfs_fsop_handlereq xfs_fsop_handlereq_t
 
typedef struct
xfs_fsop_setdm_handlereq 
xfs_fsop_setdm_handlereq_t
 
typedef struct xfs_attrlist_cursor xfs_attrlist_cursor_t
 
typedef struct
xfs_fsop_attrlist_handlereq 
xfs_fsop_attrlist_handlereq_t
 
typedef struct xfs_attr_multiop xfs_attr_multiop_t
 
typedef struct
xfs_fsop_attrmulti_handlereq 
xfs_fsop_attrmulti_handlereq_t
 
typedef struct xfs_fid xfs_fid_t
 
typedef struct xfs_handle xfs_handle_t
 

Macro Definition Documentation

#define ATTR_OP_GET   1 /* return the indicated attr's value */

Definition at line 380 of file xfs_fs.h.

#define ATTR_OP_REMOVE   3 /* remove the indicated attr */

Definition at line 382 of file xfs_fs.h.

#define ATTR_OP_SET   2 /* set/create the indicated attr/value pair */

Definition at line 381 of file xfs_fs.h.

#define BBMASK   (BBSIZE-1)

Definition at line 500 of file xfs_fs.h.

#define BBSHIFT   9

Definition at line 498 of file xfs_fs.h.

#define BBSIZE   (1<<BBSHIFT)

Definition at line 499 of file xfs_fs.h.

#define BBTOB (   bbs)    ((bbs) << BBSHIFT)

Definition at line 503 of file xfs_fs.h.

#define BMV_IF_ATTRFORK   0x1 /* return attr fork rather than data */

Definition at line 113 of file xfs_fs.h.

#define BMV_IF_DELALLOC   0x8 /* rtn status BMV_OF_DELALLOC if req */

Definition at line 116 of file xfs_fs.h.

#define BMV_IF_NO_DMAPI_READ   0x2 /* Do not generate DMAPI read event */

Definition at line 114 of file xfs_fs.h.

#define BMV_IF_NO_HOLES   0x10 /* Do not return holes */

Definition at line 117 of file xfs_fs.h.

#define BMV_IF_PREALLOC   0x4 /* rtn status BMV_OF_PREALLOC if req */

Definition at line 115 of file xfs_fs.h.

#define BMV_IF_VALID
Value:

Definition at line 118 of file xfs_fs.h.

#define BMV_OF_DELALLOC   0x2 /* segment = delayed allocation */

Definition at line 124 of file xfs_fs.h.

#define BMV_OF_LAST   0x4 /* segment is the last in the file */

Definition at line 125 of file xfs_fs.h.

#define BMV_OF_PREALLOC   0x1 /* segment = unwritten pre-allocation */

Definition at line 123 of file xfs_fs.h.

#define bs_projid   bs_projid_lo /* (previously just bs_projid) */

Definition at line 302 of file xfs_fs.h.

#define BTOBB (   bytes)    (((__u64)(bytes) + BBSIZE - 1) >> BBSHIFT)

Definition at line 501 of file xfs_fs.h.

#define BTOBBT (   bytes)    ((__u64)(bytes) >> BBSHIFT)

Definition at line 502 of file xfs_fs.h.

#define ha_fsid   ha_u._ha_fsid

Definition at line 415 of file xfs_fs.h.

#define XFS_FSOP_GEOM_FLAGS_ATTR   0x0001 /* attributes in use */

Definition at line 225 of file xfs_fs.h.

#define XFS_FSOP_GEOM_FLAGS_ATTR2   0x0400 /* inline attributes rework */

Definition at line 235 of file xfs_fs.h.

#define XFS_FSOP_GEOM_FLAGS_DALIGN   0x0010 /* large data alignment */

Definition at line 229 of file xfs_fs.h.

#define XFS_FSOP_GEOM_FLAGS_DIRV2   0x0080 /* directory version 2 */

Definition at line 232 of file xfs_fs.h.

#define XFS_FSOP_GEOM_FLAGS_DIRV2CI   0x1000 /* ASCII only CI names */

Definition at line 236 of file xfs_fs.h.

#define XFS_FSOP_GEOM_FLAGS_EXTFLG   0x0040 /* special extent flag */

Definition at line 231 of file xfs_fs.h.

#define XFS_FSOP_GEOM_FLAGS_IALIGN   0x0008 /* inode alignment */

Definition at line 228 of file xfs_fs.h.

#define XFS_FSOP_GEOM_FLAGS_LAZYSB   0x4000 /* lazy superblock counters */

Definition at line 237 of file xfs_fs.h.

#define XFS_FSOP_GEOM_FLAGS_LOGV2   0x0100 /* log format version 2 */

Definition at line 233 of file xfs_fs.h.

#define XFS_FSOP_GEOM_FLAGS_NLINK   0x0002 /* 32-bit nlink values */

Definition at line 226 of file xfs_fs.h.

#define XFS_FSOP_GEOM_FLAGS_QUOTA   0x0004 /* quotas enabled */

Definition at line 227 of file xfs_fs.h.

#define XFS_FSOP_GEOM_FLAGS_SECTOR   0x0200 /* sector sizes >1BB */

Definition at line 234 of file xfs_fs.h.

#define XFS_FSOP_GEOM_FLAGS_SHARED   0x0020 /* read-only shared */

Definition at line 230 of file xfs_fs.h.

#define XFS_FSOP_GEOM_VERSION   0

Definition at line 223 of file xfs_fs.h.

#define XFS_FSOP_GOING_FLAGS_DEFAULT   0x0 /* going down */

Definition at line 424 of file xfs_fs.h.

#define XFS_FSOP_GOING_FLAGS_LOGFLUSH   0x1 /* flush log but not data */

Definition at line 425 of file xfs_fs.h.

#define XFS_FSOP_GOING_FLAGS_NOLOGFLUSH   0x2 /* don't flush log nor data */

Definition at line 426 of file xfs_fs.h.

#define XFS_HSIZE (   handle)
Value:
(((char *) &(handle).ha_fid.fid_pad \
- (char *) &(handle)) \
+ (handle).ha_fid.fid_len)

Definition at line 417 of file xfs_fs.h.

#define XFS_IOC_ALLOCSP   _IOW ('X', 10, struct xfs_flock64)

Definition at line 440 of file xfs_fs.h.

#define XFS_IOC_ALLOCSP64   _IOW ('X', 36, struct xfs_flock64)

Definition at line 445 of file xfs_fs.h.

#define XFS_IOC_ATTRLIST_BY_HANDLE   _IOW ('X', 122, struct xfs_fsop_attrlist_handlereq)

Definition at line 485 of file xfs_fs.h.

#define XFS_IOC_ATTRMULTI_BY_HANDLE   _IOW ('X', 123, struct xfs_fsop_attrmulti_handlereq)

Definition at line 486 of file xfs_fs.h.

#define XFS_IOC_DIOINFO   _IOR ('X', 30, struct dioattr)

Definition at line 442 of file xfs_fs.h.

#define XFS_IOC_ERROR_CLEARALL   _IOW ('X', 117, struct xfs_error_injection)

Definition at line 480 of file xfs_fs.h.

#define XFS_IOC_ERROR_INJECTION   _IOW ('X', 116, struct xfs_error_injection)

Definition at line 479 of file xfs_fs.h.

#define XFS_IOC_FD_TO_HANDLE   _IOWR('X', 106, struct xfs_fsop_handlereq)

Definition at line 469 of file xfs_fs.h.

#define XFS_IOC_FREESP   _IOW ('X', 11, struct xfs_flock64)

Definition at line 441 of file xfs_fs.h.

#define XFS_IOC_FREESP64   _IOW ('X', 37, struct xfs_flock64)

Definition at line 446 of file xfs_fs.h.

#define XFS_IOC_FSBULKSTAT   _IOWR('X', 101, struct xfs_fsop_bulkreq)

Definition at line 464 of file xfs_fs.h.

#define XFS_IOC_FSBULKSTAT_SINGLE   _IOWR('X', 102, struct xfs_fsop_bulkreq)

Definition at line 465 of file xfs_fs.h.

#define XFS_IOC_FSCOUNTS   _IOR ('X', 113, struct xfs_fsop_counts)

Definition at line 476 of file xfs_fs.h.

#define XFS_IOC_FSGEOMETRY   _IOR ('X', 124, struct xfs_fsop_geom)

Definition at line 487 of file xfs_fs.h.

#define XFS_IOC_FSGEOMETRY_V1   _IOR ('X', 100, struct xfs_fsop_geom_v1)

Definition at line 463 of file xfs_fs.h.

#define XFS_IOC_FSGETXATTR   _IOR ('X', 31, struct fsxattr)

Definition at line 443 of file xfs_fs.h.

#define XFS_IOC_FSGETXATTRA   _IOR ('X', 45, struct fsxattr)

Definition at line 454 of file xfs_fs.h.

#define XFS_IOC_FSGROWFSDATA   _IOW ('X', 110, struct xfs_growfs_data)

Definition at line 473 of file xfs_fs.h.

#define XFS_IOC_FSGROWFSLOG   _IOW ('X', 111, struct xfs_growfs_log)

Definition at line 474 of file xfs_fs.h.

#define XFS_IOC_FSGROWFSRT   _IOW ('X', 112, struct xfs_growfs_rt)

Definition at line 475 of file xfs_fs.h.

#define XFS_IOC_FSINUMBERS   _IOWR('X', 103, struct xfs_fsop_bulkreq)

Definition at line 466 of file xfs_fs.h.

#define XFS_IOC_FSSETDM   _IOW ('X', 39, struct fsdmidata)

Definition at line 448 of file xfs_fs.h.

#define XFS_IOC_FSSETDM_BY_HANDLE   _IOW ('X', 121, struct xfs_fsop_setdm_handlereq)

Definition at line 484 of file xfs_fs.h.

#define XFS_IOC_FSSETXATTR   _IOW ('X', 32, struct fsxattr)

Definition at line 444 of file xfs_fs.h.

#define XFS_IOC_GET_RESBLKS   _IOR ('X', 115, struct xfs_fsop_resblks)

Definition at line 478 of file xfs_fs.h.

#define XFS_IOC_GETBMAP   _IOWR('X', 38, struct getbmap)

Definition at line 447 of file xfs_fs.h.

#define XFS_IOC_GETBMAPA   _IOWR('X', 44, struct getbmap)

Definition at line 453 of file xfs_fs.h.

#define XFS_IOC_GETBMAPX   _IOWR('X', 56, struct getbmap)

Definition at line 457 of file xfs_fs.h.

#define XFS_IOC_GETVERSION   FS_IOC_GETVERSION

Definition at line 433 of file xfs_fs.h.

#define XFS_IOC_GETXFLAGS   FS_IOC_GETFLAGS

Definition at line 431 of file xfs_fs.h.

#define XFS_IOC_GOINGDOWN   _IOR ('X', 125, __uint32_t)

Definition at line 488 of file xfs_fs.h.

#define XFS_IOC_OPEN_BY_HANDLE   _IOWR('X', 107, struct xfs_fsop_handlereq)

Definition at line 470 of file xfs_fs.h.

#define XFS_IOC_PATH_TO_FSHANDLE   _IOWR('X', 104, struct xfs_fsop_handlereq)

Definition at line 467 of file xfs_fs.h.

#define XFS_IOC_PATH_TO_HANDLE   _IOWR('X', 105, struct xfs_fsop_handlereq)

Definition at line 468 of file xfs_fs.h.

#define XFS_IOC_READLINK_BY_HANDLE   _IOWR('X', 108, struct xfs_fsop_handlereq)

Definition at line 471 of file xfs_fs.h.

#define XFS_IOC_RESVSP   _IOW ('X', 40, struct xfs_flock64)

Definition at line 449 of file xfs_fs.h.

#define XFS_IOC_RESVSP64   _IOW ('X', 42, struct xfs_flock64)

Definition at line 451 of file xfs_fs.h.

#define XFS_IOC_SET_RESBLKS   _IOWR('X', 114, struct xfs_fsop_resblks)

Definition at line 477 of file xfs_fs.h.

#define XFS_IOC_SETXFLAGS   FS_IOC_SETFLAGS

Definition at line 432 of file xfs_fs.h.

#define XFS_IOC_SWAPEXT   _IOWR('X', 109, struct xfs_swapext)

Definition at line 472 of file xfs_fs.h.

#define XFS_IOC_UNRESVSP   _IOW ('X', 41, struct xfs_flock64)

Definition at line 450 of file xfs_fs.h.

#define XFS_IOC_UNRESVSP64   _IOW ('X', 43, struct xfs_flock64)

Definition at line 452 of file xfs_fs.h.

#define XFS_IOC_ZERO_RANGE   _IOW ('X', 57, struct xfs_flock64)

Definition at line 458 of file xfs_fs.h.

#define XFS_MAX_DBLOCKS (   s)    ((xfs_drfsbno_t)(s)->sb_agcount * (s)->sb_agblocks)

Definition at line 253 of file xfs_fs.h.

#define XFS_MAX_LOG_BLOCKS   (1024 * 1024ULL)

Definition at line 245 of file xfs_fs.h.

#define XFS_MAX_LOG_BYTES   ((2 * 1024 * 1024 * 1024ULL) - XFS_MIN_LOG_BYTES)

Definition at line 249 of file xfs_fs.h.

#define XFS_MIN_AG_BLOCKS   64

Definition at line 243 of file xfs_fs.h.

#define XFS_MIN_DBLOCKS (   s)
Value:
((xfs_drfsbno_t)((s)->sb_agcount - 1) * \
(s)->sb_agblocks + XFS_MIN_AG_BLOCKS)

Definition at line 254 of file xfs_fs.h.

#define XFS_MIN_LOG_BLOCKS   512ULL

Definition at line 244 of file xfs_fs.h.

#define XFS_MIN_LOG_BYTES   (10 * 1024 * 1024ULL)

Definition at line 246 of file xfs_fs.h.

#define XFS_XFLAG_APPEND   0x00000010 /* all writes append */

Definition at line 59 of file xfs_fs.h.

#define XFS_XFLAG_EXTSIZE   0x00000800 /* extent size allocator hint */

Definition at line 66 of file xfs_fs.h.

#define XFS_XFLAG_EXTSZINHERIT   0x00001000 /* inherit inode extent size */

Definition at line 67 of file xfs_fs.h.

#define XFS_XFLAG_FILESTREAM   0x00004000 /* use filestream allocator */

Definition at line 69 of file xfs_fs.h.

#define XFS_XFLAG_HASATTR   0x80000000 /* no DIFLAG for this */

Definition at line 70 of file xfs_fs.h.

#define XFS_XFLAG_IMMUTABLE   0x00000008 /* file cannot be modified */

Definition at line 58 of file xfs_fs.h.

#define XFS_XFLAG_NOATIME   0x00000040 /* do not update access time */

Definition at line 61 of file xfs_fs.h.

#define XFS_XFLAG_NODEFRAG   0x00002000 /* do not defragment */

Definition at line 68 of file xfs_fs.h.

#define XFS_XFLAG_NODUMP   0x00000080 /* do not include in backups */

Definition at line 62 of file xfs_fs.h.

#define XFS_XFLAG_NOSYMLINKS   0x00000400 /* disallow symlink creation */

Definition at line 65 of file xfs_fs.h.

#define XFS_XFLAG_PREALLOC   0x00000002 /* preallocated file extents */

Definition at line 57 of file xfs_fs.h.

#define XFS_XFLAG_PROJINHERIT   0x00000200 /* create with parents projid */

Definition at line 64 of file xfs_fs.h.

#define XFS_XFLAG_REALTIME   0x00000001 /* data in realtime volume */

Definition at line 56 of file xfs_fs.h.

#define XFS_XFLAG_RTINHERIT   0x00000100 /* create with rt bit set */

Definition at line 63 of file xfs_fs.h.

#define XFS_XFLAG_SYNC   0x00000020 /* all writes synchronous */

Definition at line 60 of file xfs_fs.h.

Typedef Documentation