|
#define | EXT3_DEFAULT_RESERVE_BLOCKS 8 |
|
#define | EXT3_MAX_RESERVE_BLOCKS 1027 |
|
#define | EXT3_RESERVE_WINDOW_NOT_ALLOCATED 0 |
|
#define | ext3_debug |
|
#define | EXT3_BAD_INO 1 /* Bad blocks inode */ |
|
#define | EXT3_ROOT_INO 2 /* Root inode */ |
|
#define | EXT3_BOOT_LOADER_INO 5 /* Boot loader inode */ |
|
#define | EXT3_UNDEL_DIR_INO 6 /* Undelete directory inode */ |
|
#define | EXT3_RESIZE_INO 7 /* Reserved group descriptors inode */ |
|
#define | EXT3_JOURNAL_INO 8 /* Journal inode */ |
|
#define | EXT3_GOOD_OLD_FIRST_INO 11 |
|
#define | EXT3_LINK_MAX 32000 |
|
#define | EXT3_MIN_BLOCK_SIZE 1024 |
|
#define | EXT3_MAX_BLOCK_SIZE 65536 |
|
#define | EXT3_MIN_BLOCK_LOG_SIZE 10 |
|
#define | EXT3_BLOCK_SIZE(s) (EXT3_MIN_BLOCK_SIZE << (s)->s_log_block_size) |
|
#define | EXT3_ADDR_PER_BLOCK(s) (EXT3_BLOCK_SIZE(s) / sizeof (__u32)) |
|
#define | EXT3_BLOCK_SIZE_BITS(s) ((s)->s_log_block_size + 10) |
|
#define | EXT3_INODE_SIZE(s) |
|
#define | EXT3_FIRST_INO(s) |
|
#define | EXT3_MIN_FRAG_SIZE 1024 |
|
#define | EXT3_MAX_FRAG_SIZE 4096 |
|
#define | EXT3_MIN_FRAG_LOG_SIZE 10 |
|
#define | EXT3_FRAG_SIZE(s) (EXT3_MIN_FRAG_SIZE << (s)->s_log_frag_size) |
|
#define | EXT3_FRAGS_PER_BLOCK(s) (EXT3_BLOCK_SIZE(s) / EXT3_FRAG_SIZE(s)) |
|
#define | EXT4_BG_INODE_UNINIT 0x0001 /* Inode table/bitmap not in use */ |
|
#define | EXT4_BG_BLOCK_UNINIT 0x0002 /* Block bitmap not in use */ |
|
#define | EXT4_BG_INODE_ZEROED 0x0004 /* On-disk itable initialized to zero */ |
|
#define | EXT4_MIN_BLOCK_SIZE 1024 |
|
#define | EXT4_MIN_DESC_SIZE 32 |
|
#define | EXT4_MIN_DESC_SIZE_64BIT 64 |
|
#define | EXT4_MAX_DESC_SIZE EXT4_MIN_BLOCK_SIZE |
|
#define | EXT4_DESC_SIZE(s) (EXT3_SB(s)->s_desc_size) |
|
#define | EXT3_BLOCKS_PER_GROUP(s) ((s)->s_blocks_per_group) |
|
#define | EXT3_DESC_PER_BLOCK(s) (EXT3_BLOCK_SIZE(s) / sizeof (struct ext3_group_desc)) |
|
#define | EXT3_INODES_PER_GROUP(s) ((s)->s_inodes_per_group) |
|
#define | EXT3_NDIR_BLOCKS 12 |
|
#define | EXT3_IND_BLOCK EXT3_NDIR_BLOCKS |
|
#define | EXT3_DIND_BLOCK (EXT3_IND_BLOCK + 1) |
|
#define | EXT3_TIND_BLOCK (EXT3_DIND_BLOCK + 1) |
|
#define | EXT3_N_BLOCKS (EXT3_TIND_BLOCK + 1) |
|
#define | EXT3_SECRM_FL 0x00000001 /* Secure deletion */ |
|
#define | EXT3_UNRM_FL 0x00000002 /* Undelete */ |
|
#define | EXT3_COMPR_FL 0x00000004 /* Compress file */ |
|
#define | EXT3_SYNC_FL 0x00000008 /* Synchronous updates */ |
|
#define | EXT3_IMMUTABLE_FL 0x00000010 /* Immutable file */ |
|
#define | EXT3_APPEND_FL 0x00000020 /* writes to file may only append */ |
|
#define | EXT3_NODUMP_FL 0x00000040 /* do not dump file */ |
|
#define | EXT3_NOATIME_FL 0x00000080 /* do not update atime */ |
|
#define | EXT3_DIRTY_FL 0x00000100 |
|
#define | EXT3_COMPRBLK_FL 0x00000200 /* One or more compressed clusters */ |
|
#define | EXT3_NOCOMPR_FL 0x00000400 /* Don't compress */ |
|
#define | EXT3_ECOMPR_FL 0x00000800 /* Compression error */ |
|
#define | EXT3_INDEX_FL 0x00001000 /* hash-indexed directory */ |
|
#define | EXT3_IMAGIC_FL 0x00002000 /* AFS directory */ |
|
#define | EXT3_JOURNAL_DATA_FL 0x00004000 /* file data should be journaled */ |
|
#define | EXT3_NOTAIL_FL 0x00008000 /* file tail should not be merged */ |
|
#define | EXT3_DIRSYNC_FL 0x00010000 /* dirsync behaviour (directories only) */ |
|
#define | EXT3_TOPDIR_FL 0x00020000 /* Top of directory hierarchies*/ |
|
#define | EXT3_RESERVED_FL 0x80000000 /* reserved for ext3 lib */ |
|
#define | EXT3_FL_USER_VISIBLE 0x0003DFFF /* User visible flags */ |
|
#define | EXT3_FL_USER_MODIFIABLE 0x000380FF /* User modifiable flags */ |
|
#define | EXT3_STATE_JDATA 0x00000001 /* journaled data exists */ |
|
#define | EXT3_STATE_NEW 0x00000002 /* inode is newly created */ |
|
#define | EXT3_STATE_XATTR 0x00000004 /* has in-inode xattrs */ |
|
#define | EXT4_SECRM_FL 0x00000001 /* Secure deletion */ |
|
#define | EXT4_UNRM_FL 0x00000002 /* Undelete */ |
|
#define | EXT4_COMPR_FL 0x00000004 /* Compress file */ |
|
#define | EXT4_SYNC_FL 0x00000008 /* Synchronous updates */ |
|
#define | EXT4_IMMUTABLE_FL 0x00000010 /* Immutable file */ |
|
#define | EXT4_APPEND_FL 0x00000020 /* writes to file may only append */ |
|
#define | EXT4_NODUMP_FL 0x00000040 /* do not dump file */ |
|
#define | EXT4_NOATIME_FL 0x00000080 /* do not update atime */ |
|
#define | EXT4_DIRTY_FL 0x00000100 |
|
#define | EXT4_COMPRBLK_FL 0x00000200 /* One or more compressed clusters */ |
|
#define | EXT4_NOCOMPR_FL 0x00000400 /* Don't compress */ |
|
#define | EXT4_ECOMPR_FL 0x00000800 /* Compression error */ |
|
#define | EXT4_INDEX_FL 0x00001000 /* hash-indexed directory */ |
|
#define | EXT4_IMAGIC_FL 0x00002000 /* AFS directory */ |
|
#define | EXT4_JOURNAL_DATA_FL 0x00004000 /* file data should be journaled */ |
|
#define | EXT4_NOTAIL_FL 0x00008000 /* file tail should not be merged */ |
|
#define | EXT4_DIRSYNC_FL 0x00010000 /* dirsync behaviour (directories only) */ |
|
#define | EXT4_TOPDIR_FL 0x00020000 /* Top of directory hierarchies*/ |
|
#define | EXT4_HUGE_FILE_FL 0x00040000 /* Set to each huge file */ |
|
#define | EXT4_EXTENTS_FL 0x00080000 /* Inode uses extents */ |
|
#define | EXT4_EXT_MIGRATE 0x00100000 /* Inode is migrating */ |
|
#define | EXT4_RESERVED_FL 0x80000000 /* reserved for ext4 lib */ |
|
#define | EXT4_FL_USER_VISIBLE 0x000BDFFF /* User visible flags */ |
|
#define | EXT4_FL_USER_MODIFIABLE 0x000B80FF /* User modifiable flags */ |
|
#define | EXT3_IOC_GETFLAGS FS_IOC_GETFLAGS |
|
#define | EXT3_IOC_SETFLAGS FS_IOC_SETFLAGS |
|
#define | EXT3_IOC_GETVERSION _IOR('f', 3, long) |
|
#define | EXT3_IOC_SETVERSION _IOW('f', 4, long) |
|
#define | EXT3_IOC_GROUP_EXTEND _IOW('f', 7, unsigned long) |
|
#define | EXT3_IOC_GROUP_ADD _IOW('f', 8,struct ext3_new_group_input) |
|
#define | EXT3_IOC_GETVERSION_OLD FS_IOC_GETVERSION |
|
#define | EXT3_IOC_SETVERSION_OLD FS_IOC_SETVERSION |
|
#define | EXT3_IOC_GETRSVSZ _IOR('f', 5, long) |
|
#define | EXT3_IOC_SETRSVSZ _IOW('f', 6, long) |
|
#define | EXT3_IOC32_GETFLAGS FS_IOC32_GETFLAGS |
|
#define | EXT3_IOC32_SETFLAGS FS_IOC32_SETFLAGS |
|
#define | EXT3_IOC32_GETVERSION _IOR('f', 3, int) |
|
#define | EXT3_IOC32_SETVERSION _IOW('f', 4, int) |
|
#define | EXT3_IOC32_GETRSVSZ _IOR('f', 5, int) |
|
#define | EXT3_IOC32_SETRSVSZ _IOW('f', 6, int) |
|
#define | EXT3_IOC32_GROUP_EXTEND _IOW('f', 7, unsigned int) |
|
#define | EXT3_IOC32_GETVERSION_OLD FS_IOC32_GETVERSION |
|
#define | EXT3_IOC32_SETVERSION_OLD FS_IOC32_SETVERSION |
|
#define | i_disk_version osd1.linux1.l_i_version |
|
#define | EXT3_VALID_FS 0x0001 /* Unmounted cleanly */ |
|
#define | EXT3_ERROR_FS 0x0002 /* Errors detected */ |
|
#define | EXT3_ORPHAN_FS 0x0004 /* Orphans being recovered */ |
|
#define | EXT3_MOUNT_CHECK 0x00001 /* Do mount-time checks */ |
|
#define | EXT3_MOUNT_OLDALLOC 0x00002 /* Don't use the new Orlov allocator */ |
|
#define | EXT3_MOUNT_GRPID 0x00004 /* Create files with directory's group */ |
|
#define | EXT3_MOUNT_DEBUG 0x00008 /* Some debugging messages */ |
|
#define | EXT3_MOUNT_ERRORS_CONT 0x00010 /* Continue on errors */ |
|
#define | EXT3_MOUNT_ERRORS_RO 0x00020 /* Remount fs ro on errors */ |
|
#define | EXT3_MOUNT_ERRORS_PANIC 0x00040 /* Panic on errors */ |
|
#define | EXT3_MOUNT_MINIX_DF 0x00080 /* Mimics the Minix statfs */ |
|
#define | EXT3_MOUNT_NOLOAD 0x00100 /* Don't use existing journal*/ |
|
#define | EXT3_MOUNT_ABORT 0x00200 /* Fatal error detected */ |
|
#define | EXT3_MOUNT_DATA_FLAGS 0x00C00 /* Mode for data writes: */ |
|
#define | EXT3_MOUNT_JOURNAL_DATA 0x00400 /* Write data to journal */ |
|
#define | EXT3_MOUNT_ORDERED_DATA 0x00800 /* Flush data before commit */ |
|
#define | EXT3_MOUNT_WRITEBACK_DATA 0x00C00 /* No data ordering */ |
|
#define | EXT3_MOUNT_UPDATE_JOURNAL 0x01000 /* Update the journal format */ |
|
#define | EXT3_MOUNT_NO_UID32 0x02000 /* Disable 32-bit UIDs */ |
|
#define | EXT3_MOUNT_XATTR_USER 0x04000 /* Extended user attributes */ |
|
#define | EXT3_MOUNT_POSIX_ACL 0x08000 /* POSIX Access Control Lists */ |
|
#define | EXT3_MOUNT_RESERVATION 0x10000 /* Preallocation */ |
|
#define | EXT3_MOUNT_BARRIER 0x20000 /* Use block barriers */ |
|
#define | EXT3_MOUNT_NOBH 0x40000 /* No bufferheads */ |
|
#define | EXT3_MOUNT_QUOTA 0x80000 /* Some quota option set */ |
|
#define | EXT3_MOUNT_USRQUOTA 0x100000 /* "old" user quota */ |
|
#define | EXT3_MOUNT_GRPQUOTA 0x200000 /* "old" group quota */ |
|
#define | clear_opt(o, opt) o &= ~EXT3_MOUNT_##opt |
|
#define | set_opt(o, opt) o |= EXT3_MOUNT_##opt |
|
#define | test_opt(sb, opt) |
|
#define | ext3_set_bit ext2_set_bit |
|
#define | ext3_set_bit_atomic ext2_set_bit_atomic |
|
#define | ext3_clear_bit ext2_clear_bit |
|
#define | ext3_clear_bit_atomic ext2_clear_bit_atomic |
|
#define | ext3_test_bit ext2_test_bit |
|
#define | ext3_find_first_zero_bit ext2_find_first_zero_bit |
|
#define | ext3_find_next_zero_bit ext2_find_next_zero_bit |
|
#define | EXT3_DFL_MAX_MNT_COUNT 20 /* Allow 20 mounts */ |
|
#define | EXT3_DFL_CHECKINTERVAL 0 /* Don't use interval check */ |
|
#define | EXT3_ERRORS_CONTINUE 1 /* Continue execution */ |
|
#define | EXT3_ERRORS_RO 2 /* Remount fs read-only */ |
|
#define | EXT3_ERRORS_PANIC 3 /* Panic */ |
|
#define | EXT3_ERRORS_DEFAULT EXT3_ERRORS_CONTINUE |
|
#define | EXT3_SB(sb) (sb) |
|
#define | NEXT_ORPHAN(inode) EXT3_I(inode)->i_dtime |
|
#define | EXT3_OS_LINUX 0 |
|
#define | EXT3_OS_HURD 1 |
|
#define | EXT3_OS_MASIX 2 |
|
#define | EXT3_OS_FREEBSD 3 |
|
#define | EXT3_OS_LITES 4 |
|
#define | EXT3_GOOD_OLD_REV 0 /* The good old (original) format */ |
|
#define | EXT3_DYNAMIC_REV 1 /* V2 format w/ dynamic inode sizes */ |
|
#define | EXT3_CURRENT_REV EXT3_GOOD_OLD_REV |
|
#define | EXT3_MAX_SUPP_REV EXT3_DYNAMIC_REV |
|
#define | EXT3_GOOD_OLD_INODE_SIZE 128 |
|
#define | EXT3_HAS_COMPAT_FEATURE(sb, mask) ( EXT3_SB(sb)->s_es->s_feature_compat & cpu_to_le32(mask) ) |
|
#define | EXT3_HAS_RO_COMPAT_FEATURE(sb, mask) ( EXT3_SB(sb)->s_es->s_feature_ro_compat & cpu_to_le32(mask) ) |
|
#define | EXT3_HAS_INCOMPAT_FEATURE(sb, mask) ( EXT3_SB(sb)->s_es->s_feature_incompat & cpu_to_le32(mask) ) |
|
#define | EXT3_SET_COMPAT_FEATURE(sb, mask) EXT3_SB(sb)->s_es->s_feature_compat |= cpu_to_le32(mask) |
|
#define | EXT3_SET_RO_COMPAT_FEATURE(sb, mask) EXT3_SB(sb)->s_es->s_feature_ro_compat |= cpu_to_le32(mask) |
|
#define | EXT3_SET_INCOMPAT_FEATURE(sb, mask) EXT3_SB(sb)->s_es->s_feature_incompat |= cpu_to_le32(mask) |
|
#define | EXT3_CLEAR_COMPAT_FEATURE(sb, mask) EXT3_SB(sb)->s_es->s_feature_compat &= ~cpu_to_le32(mask) |
|
#define | EXT3_CLEAR_RO_COMPAT_FEATURE(sb, mask) EXT3_SB(sb)->s_es->s_feature_ro_compat &= ~cpu_to_le32(mask) |
|
#define | EXT3_CLEAR_INCOMPAT_FEATURE(sb, mask) EXT3_SB(sb)->s_es->s_feature_incompat &= ~cpu_to_le32(mask) |
|
#define | EXT3_FEATURE_COMPAT_DIR_PREALLOC 0x0001 |
|
#define | EXT3_FEATURE_COMPAT_IMAGIC_INODES 0x0002 |
|
#define | EXT3_FEATURE_COMPAT_HAS_JOURNAL 0x0004 |
|
#define | EXT3_FEATURE_COMPAT_EXT_ATTR 0x0008 |
|
#define | EXT3_FEATURE_COMPAT_RESIZE_INODE 0x0010 |
|
#define | EXT3_FEATURE_COMPAT_DIR_INDEX 0x0020 |
|
#define | EXT3_FEATURE_RO_COMPAT_SPARSE_SUPER 0x0001 |
|
#define | EXT3_FEATURE_RO_COMPAT_LARGE_FILE 0x0002 |
|
#define | EXT3_FEATURE_RO_COMPAT_BTREE_DIR 0x0004 |
|
#define | EXT4_FEATURE_RO_COMPAT_GDT_CSUM 0x0010 |
|
#define | EXT4_FEATURE_RO_COMPAT_DIR_NLINK 0x0020 |
|
#define | EXT4_FEATURE_RO_COMPAT_EXTRA_ISIZE 0x0040 |
|
#define | EXT3_FEATURE_INCOMPAT_COMPRESSION 0x0001 |
|
#define | EXT3_FEATURE_INCOMPAT_FILETYPE 0x0002 |
|
#define | EXT3_FEATURE_INCOMPAT_RECOVER 0x0004 /* Needs recovery */ |
|
#define | EXT3_FEATURE_INCOMPAT_JOURNAL_DEV 0x0008 /* Journal device */ |
|
#define | EXT3_FEATURE_INCOMPAT_META_BG 0x0010 |
|
#define | EXT3_FEATURE_INCOMPAT_EXTENTS 0x0040 /* extents support */ |
|
#define | EXT3_FEATURE_INCOMPAT_MMP 0x0100 |
|
#define | EXT3_FEATURE_INCOMPAT_DIRDATA 0x1000 |
|
#define | EXT3_FEATURE_COMPAT_SUPP EXT2_FEATURE_COMPAT_EXT_ATTR |
|
#define | EXT4_FEATURE_COMPAT_DIR_PREALLOC 0x0001 |
|
#define | EXT4_FEATURE_COMPAT_IMAGIC_INODES 0x0002 |
|
#define | EXT4_FEATURE_COMPAT_HAS_JOURNAL 0x0004 |
|
#define | EXT4_FEATURE_COMPAT_EXT_ATTR 0x0008 |
|
#define | EXT4_FEATURE_COMPAT_RESIZE_INODE 0x0010 |
|
#define | EXT4_FEATURE_COMPAT_DIR_INDEX 0x0020 |
|
#define | EXT4_FEATURE_RO_COMPAT_SPARSE_SUPER 0x0001 |
|
#define | EXT4_FEATURE_RO_COMPAT_LARGE_FILE 0x0002 |
|
#define | EXT4_FEATURE_RO_COMPAT_BTREE_DIR 0x0004 |
|
#define | EXT4_FEATURE_RO_COMPAT_HUGE_FILE 0x0008 |
|
#define | EXT4_FEATURE_RO_COMPAT_GDT_CSUM 0x0010 |
|
#define | EXT4_FEATURE_RO_COMPAT_DIR_NLINK 0x0020 |
|
#define | EXT4_FEATURE_RO_COMPAT_EXTRA_ISIZE 0x0040 |
|
#define | EXT4_FEATURE_INCOMPAT_COMPRESSION 0x0001 |
|
#define | EXT4_FEATURE_INCOMPAT_FILETYPE 0x0002 |
|
#define | EXT4_FEATURE_INCOMPAT_RECOVER 0x0004 /* Needs recovery */ |
|
#define | EXT4_FEATURE_INCOMPAT_JOURNAL_DEV 0x0008 /* Journal device */ |
|
#define | EXT4_FEATURE_INCOMPAT_META_BG 0x0010 |
|
#define | EXT4_FEATURE_INCOMPAT_EXTENTS 0x0040 /* extents support */ |
|
#define | EXT4_FEATURE_INCOMPAT_64BIT 0x0080 |
|
#define | EXT4_FEATURE_INCOMPAT_MMP 0x0100 |
|
#define | EXT4_FEATURE_INCOMPAT_FLEX_BG 0x0200 |
|
#define | EXT4_FEATURE_INCOMPAT_DIRDATA 0x1000 /* used by Lustre - ldiskfs */ |
|
#define | EXT4_FEATURE_INCOMPAT_BG_USE_META_CSUM 0x2000 /* use crc32c for bg */ |
|
#define | EXT4_FEATURE_INCOMPAT_LARGEDIR 0x4000 /* >2GB or 3-lvl htree */ |
|
#define | EXT4_FEATURE_INCOMPAT_INLINEDATA 0x8000 /* data in inode */ |
|
#define | EXT4_FEATURE_INCOMPAT_SUPP |
|
#define | EXT4_FEATURE_RO_COMPAT_SUPP |
|
#define | EXT4_BG_INODE_UNINIT 0x0001 /* Inode table/bitmap not in use */ |
|
#define | EXT4_BG_BLOCK_UNINIT 0x0002 /* Block bitmap not in use */ |
|
#define | EXT4_BG_INODE_ZEROED 0x0004 /* On-disk itable initialized to zero */ |
|
#define | EXT3_DEF_RESUID 0 |
|
#define | EXT3_DEF_RESGID 0 |
|
#define | EXT3_DEFM_DEBUG 0x0001 |
|
#define | EXT3_DEFM_BSDGROUPS 0x0002 |
|
#define | EXT3_DEFM_XATTR_USER 0x0004 |
|
#define | EXT3_DEFM_ACL 0x0008 |
|
#define | EXT3_DEFM_UID16 0x0010 |
|
#define | EXT3_DEFM_JMODE 0x0060 |
|
#define | EXT3_DEFM_JMODE_DATA 0x0020 |
|
#define | EXT3_DEFM_JMODE_ORDERED 0x0040 |
|
#define | EXT3_DEFM_JMODE_WBACK 0x0060 |
|
#define | EXT3_NAME_LEN 255 |
|
#define | EXT3_FT_UNKNOWN 0 |
|
#define | EXT3_FT_REG_FILE 1 |
|
#define | EXT3_FT_DIR 2 |
|
#define | EXT3_FT_CHRDEV 3 |
|
#define | EXT3_FT_BLKDEV 4 |
|
#define | EXT3_FT_FIFO 5 |
|
#define | EXT3_FT_SOCK 6 |
|
#define | EXT3_FT_SYMLINK 7 |
|
#define | EXT3_FT_MAX 8 |
|
#define | EXT3_FT_MASK 0xf |
|
#define | EXT3_LUFID_MAGIC 0xAD200907UL |
|
#define | EXT3_DIRENT_LUFID 0x10 |
|
#define | EXT3_DIR_PAD 4 |
|
#define | EXT3_DIR_ROUND (EXT3_DIR_PAD - 1) |
|
#define | EXT3_DIR_REC_LEN(len) |
|
#define | EXT3_MAX_REC_LEN ((1<<16)-1) |
|
#define | is_dx(dir) 0 |
|
#define | EXT3_DIR_LINK_MAX(dir) ((dir)->i_nlink >= EXT3_LINK_MAX) |
|
#define | EXT3_DIR_LINK_EMPTY(dir) ((dir)->i_nlink == 2) |
|
#define | DX_HASH_LEGACY 0 |
|
#define | DX_HASH_HALF_MD4 1 |
|
#define | DX_HASH_TEA 2 |
|
#define | DX_HASH_LEGACY_UNSIGNED 3 |
|
#define | DX_HASH_HALF_MD4_UNSIGNED 4 |
|
#define | DX_HASH_TEA_UNSIGNED 5 |
|