ReactOS  0.4.14-dev-608-gd495a4f
ext3_fs.h File Reference
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/magic.h>
Include dependency graph for ext3_fs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ext3_group_desc
 
struct  ext4_group_desc
 
struct  flex_groups
 
struct  ext3_new_group_input
 
struct  ext3_new_group_data
 
struct  ext3_mount_options
 
struct  ext3_inode
 
struct  ext3_super_block
 
struct  ext3_dir_entry
 
struct  ext3_dir_entry_2
 
struct  ext3_dentry_param
 

Macros

#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
 

Functions

struct ext3_dentry_param __attribute__ ((packed))
 
static unsigned charext3_dentry_get_data (struct super_block *sb, struct ext3_dentry_param *p)
 
static int ext3_get_dirent_data_len (struct ext3_dir_entry_2 *de)
 
static unsigned ext3_rec_len_from_disk (__le16 dlen)
 
static __le16 ext3_rec_len_to_disk (unsigned len)
 

Variables

__u32 edp_magic
 
char edp_len
 
char edp_data [0]
 

Macro Definition Documentation

◆ clear_opt

#define clear_opt (   o,
  opt 
)    o &= ~EXT3_MOUNT_##opt

Definition at line 453 of file ext3_fs.h.

◆ DX_HASH_HALF_MD4

#define DX_HASH_HALF_MD4   1

Definition at line 909 of file ext3_fs.h.

◆ DX_HASH_HALF_MD4_UNSIGNED

#define DX_HASH_HALF_MD4_UNSIGNED   4

Definition at line 912 of file ext3_fs.h.

◆ DX_HASH_LEGACY

#define DX_HASH_LEGACY   0

Definition at line 908 of file ext3_fs.h.

◆ DX_HASH_LEGACY_UNSIGNED

#define DX_HASH_LEGACY_UNSIGNED   3

Definition at line 911 of file ext3_fs.h.

◆ DX_HASH_TEA

#define DX_HASH_TEA   2

Definition at line 910 of file ext3_fs.h.

◆ DX_HASH_TEA_UNSIGNED

#define DX_HASH_TEA_UNSIGNED   5

Definition at line 913 of file ext3_fs.h.

◆ EXT3_ADDR_PER_BLOCK

#define EXT3_ADDR_PER_BLOCK (   s)    (EXT3_BLOCK_SIZE(s) / sizeof (__u32))

Definition at line 83 of file ext3_fs.h.

◆ EXT3_APPEND_FL

#define EXT3_APPEND_FL   0x00000020 /* writes to file may only append */

Definition at line 211 of file ext3_fs.h.

◆ EXT3_BAD_INO

#define EXT3_BAD_INO   1 /* Bad blocks inode */

Definition at line 57 of file ext3_fs.h.

◆ EXT3_BLOCK_SIZE

#define EXT3_BLOCK_SIZE (   s)    (EXT3_MIN_BLOCK_SIZE << (s)->s_log_block_size)

Definition at line 81 of file ext3_fs.h.

◆ EXT3_BLOCK_SIZE_BITS

#define EXT3_BLOCK_SIZE_BITS (   s)    ((s)->s_log_block_size + 10)

Definition at line 87 of file ext3_fs.h.

◆ EXT3_BLOCKS_PER_GROUP

#define EXT3_BLOCKS_PER_GROUP (   s)    ((s)->s_blocks_per_group)

Definition at line 189 of file ext3_fs.h.

◆ EXT3_BOOT_LOADER_INO

#define EXT3_BOOT_LOADER_INO   5 /* Boot loader inode */

Definition at line 59 of file ext3_fs.h.

◆ ext3_clear_bit

#define ext3_clear_bit   ext2_clear_bit

Definition at line 465 of file ext3_fs.h.

◆ ext3_clear_bit_atomic

#define ext3_clear_bit_atomic   ext2_clear_bit_atomic

Definition at line 466 of file ext3_fs.h.

◆ EXT3_CLEAR_COMPAT_FEATURE

#define EXT3_CLEAR_COMPAT_FEATURE (   sb,
  mask 
)    EXT3_SB(sb)->s_es->s_feature_compat &= ~cpu_to_le32(mask)

Definition at line 657 of file ext3_fs.h.

◆ EXT3_CLEAR_INCOMPAT_FEATURE

#define EXT3_CLEAR_INCOMPAT_FEATURE (   sb,
  mask 
)    EXT3_SB(sb)->s_es->s_feature_incompat &= ~cpu_to_le32(mask)

Definition at line 661 of file ext3_fs.h.

◆ EXT3_CLEAR_RO_COMPAT_FEATURE

#define EXT3_CLEAR_RO_COMPAT_FEATURE (   sb,
  mask 
)    EXT3_SB(sb)->s_es->s_feature_ro_compat &= ~cpu_to_le32(mask)

Definition at line 659 of file ext3_fs.h.

◆ EXT3_COMPR_FL

#define EXT3_COMPR_FL   0x00000004 /* Compress file */

Definition at line 208 of file ext3_fs.h.

◆ EXT3_COMPRBLK_FL

#define EXT3_COMPRBLK_FL   0x00000200 /* One or more compressed clusters */

Definition at line 216 of file ext3_fs.h.

◆ EXT3_CURRENT_REV

#define EXT3_CURRENT_REV   EXT3_GOOD_OLD_REV

Definition at line 636 of file ext3_fs.h.

◆ ext3_debug

#define ext3_debug

Definition at line 51 of file ext3_fs.h.

◆ EXT3_DEF_RESGID

#define EXT3_DEF_RESGID   0

Definition at line 741 of file ext3_fs.h.

◆ EXT3_DEF_RESUID

#define EXT3_DEF_RESUID   0

Definition at line 740 of file ext3_fs.h.

◆ EXT3_DEFAULT_RESERVE_BLOCKS

#define EXT3_DEFAULT_RESERVE_BLOCKS   8

Definition at line 35 of file ext3_fs.h.

◆ EXT3_DEFM_ACL

#define EXT3_DEFM_ACL   0x0008

Definition at line 749 of file ext3_fs.h.

◆ EXT3_DEFM_BSDGROUPS

#define EXT3_DEFM_BSDGROUPS   0x0002

Definition at line 747 of file ext3_fs.h.

◆ EXT3_DEFM_DEBUG

#define EXT3_DEFM_DEBUG   0x0001

Definition at line 746 of file ext3_fs.h.

◆ EXT3_DEFM_JMODE

#define EXT3_DEFM_JMODE   0x0060

Definition at line 751 of file ext3_fs.h.

◆ EXT3_DEFM_JMODE_DATA

#define EXT3_DEFM_JMODE_DATA   0x0020

Definition at line 752 of file ext3_fs.h.

◆ EXT3_DEFM_JMODE_ORDERED

#define EXT3_DEFM_JMODE_ORDERED   0x0040

Definition at line 753 of file ext3_fs.h.

◆ EXT3_DEFM_JMODE_WBACK

#define EXT3_DEFM_JMODE_WBACK   0x0060

Definition at line 754 of file ext3_fs.h.

◆ EXT3_DEFM_UID16

#define EXT3_DEFM_UID16   0x0010

Definition at line 750 of file ext3_fs.h.

◆ EXT3_DEFM_XATTR_USER

#define EXT3_DEFM_XATTR_USER   0x0004

Definition at line 748 of file ext3_fs.h.

◆ EXT3_DESC_PER_BLOCK

#define EXT3_DESC_PER_BLOCK (   s)    (EXT3_BLOCK_SIZE(s) / sizeof (struct ext3_group_desc))

Definition at line 190 of file ext3_fs.h.

◆ EXT3_DFL_CHECKINTERVAL

#define EXT3_DFL_CHECKINTERVAL   0 /* Don't use interval check */

Definition at line 475 of file ext3_fs.h.

◆ EXT3_DFL_MAX_MNT_COUNT

#define EXT3_DFL_MAX_MNT_COUNT   20 /* Allow 20 mounts */

Definition at line 474 of file ext3_fs.h.

◆ EXT3_DIND_BLOCK

#define EXT3_DIND_BLOCK   (EXT3_IND_BLOCK + 1)

Definition at line 199 of file ext3_fs.h.

◆ EXT3_DIR_LINK_EMPTY

#define EXT3_DIR_LINK_EMPTY (   dir)    ((dir)->i_nlink == 2)

Definition at line 903 of file ext3_fs.h.

◆ EXT3_DIR_LINK_MAX

#define EXT3_DIR_LINK_MAX (   dir)    ((dir)->i_nlink >= EXT3_LINK_MAX)

Definition at line 902 of file ext3_fs.h.

◆ EXT3_DIR_PAD

#define EXT3_DIR_PAD   4

Definition at line 865 of file ext3_fs.h.

◆ EXT3_DIR_REC_LEN

#define EXT3_DIR_REC_LEN (   len)
Value:
(((len) + 8 + EXT3_DIR_ROUND) & \
~EXT3_DIR_ROUND)
GLenum GLsizei len
Definition: glext.h:6722
#define EXT3_DIR_ROUND
Definition: ext3_fs.h:866

Definition at line 867 of file ext3_fs.h.

◆ EXT3_DIR_ROUND

#define EXT3_DIR_ROUND   (EXT3_DIR_PAD - 1)

Definition at line 866 of file ext3_fs.h.

◆ EXT3_DIRENT_LUFID

#define EXT3_DIRENT_LUFID   0x10

Definition at line 859 of file ext3_fs.h.

◆ EXT3_DIRSYNC_FL

#define EXT3_DIRSYNC_FL   0x00010000 /* dirsync behaviour (directories only) */

Definition at line 224 of file ext3_fs.h.

◆ EXT3_DIRTY_FL

#define EXT3_DIRTY_FL   0x00000100

Definition at line 215 of file ext3_fs.h.

◆ EXT3_DYNAMIC_REV

#define EXT3_DYNAMIC_REV   1 /* V2 format w/ dynamic inode sizes */

Definition at line 634 of file ext3_fs.h.

◆ EXT3_ECOMPR_FL

#define EXT3_ECOMPR_FL   0x00000800 /* Compression error */

Definition at line 218 of file ext3_fs.h.

◆ EXT3_ERROR_FS

#define EXT3_ERROR_FS   0x0002 /* Errors detected */

Definition at line 420 of file ext3_fs.h.

◆ EXT3_ERRORS_CONTINUE

#define EXT3_ERRORS_CONTINUE   1 /* Continue execution */

Definition at line 480 of file ext3_fs.h.

◆ EXT3_ERRORS_DEFAULT

#define EXT3_ERRORS_DEFAULT   EXT3_ERRORS_CONTINUE

Definition at line 483 of file ext3_fs.h.

◆ EXT3_ERRORS_PANIC

#define EXT3_ERRORS_PANIC   3 /* Panic */

Definition at line 482 of file ext3_fs.h.

◆ EXT3_ERRORS_RO

#define EXT3_ERRORS_RO   2 /* Remount fs read-only */

Definition at line 481 of file ext3_fs.h.

◆ EXT3_FEATURE_COMPAT_DIR_INDEX

#define EXT3_FEATURE_COMPAT_DIR_INDEX   0x0020

Definition at line 669 of file ext3_fs.h.

◆ EXT3_FEATURE_COMPAT_DIR_PREALLOC

#define EXT3_FEATURE_COMPAT_DIR_PREALLOC   0x0001

Definition at line 664 of file ext3_fs.h.

◆ EXT3_FEATURE_COMPAT_EXT_ATTR

#define EXT3_FEATURE_COMPAT_EXT_ATTR   0x0008

Definition at line 667 of file ext3_fs.h.

◆ EXT3_FEATURE_COMPAT_HAS_JOURNAL

#define EXT3_FEATURE_COMPAT_HAS_JOURNAL   0x0004

Definition at line 666 of file ext3_fs.h.

◆ EXT3_FEATURE_COMPAT_IMAGIC_INODES

#define EXT3_FEATURE_COMPAT_IMAGIC_INODES   0x0002

Definition at line 665 of file ext3_fs.h.

◆ EXT3_FEATURE_COMPAT_RESIZE_INODE

#define EXT3_FEATURE_COMPAT_RESIZE_INODE   0x0010

Definition at line 668 of file ext3_fs.h.

◆ EXT3_FEATURE_COMPAT_SUPP

#define EXT3_FEATURE_COMPAT_SUPP   EXT2_FEATURE_COMPAT_EXT_ATTR

Definition at line 687 of file ext3_fs.h.

◆ EXT3_FEATURE_INCOMPAT_COMPRESSION

#define EXT3_FEATURE_INCOMPAT_COMPRESSION   0x0001

Definition at line 678 of file ext3_fs.h.

◆ EXT3_FEATURE_INCOMPAT_DIRDATA

#define EXT3_FEATURE_INCOMPAT_DIRDATA   0x1000

Definition at line 685 of file ext3_fs.h.

◆ EXT3_FEATURE_INCOMPAT_EXTENTS

#define EXT3_FEATURE_INCOMPAT_EXTENTS   0x0040 /* extents support */

Definition at line 683 of file ext3_fs.h.

◆ EXT3_FEATURE_INCOMPAT_FILETYPE

#define EXT3_FEATURE_INCOMPAT_FILETYPE   0x0002

Definition at line 679 of file ext3_fs.h.

◆ EXT3_FEATURE_INCOMPAT_JOURNAL_DEV

#define EXT3_FEATURE_INCOMPAT_JOURNAL_DEV   0x0008 /* Journal device */

Definition at line 681 of file ext3_fs.h.

◆ EXT3_FEATURE_INCOMPAT_META_BG

#define EXT3_FEATURE_INCOMPAT_META_BG   0x0010

Definition at line 682 of file ext3_fs.h.

◆ EXT3_FEATURE_INCOMPAT_MMP

#define EXT3_FEATURE_INCOMPAT_MMP   0x0100

Definition at line 684 of file ext3_fs.h.

◆ EXT3_FEATURE_INCOMPAT_RECOVER

#define EXT3_FEATURE_INCOMPAT_RECOVER   0x0004 /* Needs recovery */

Definition at line 680 of file ext3_fs.h.

◆ EXT3_FEATURE_RO_COMPAT_BTREE_DIR

#define EXT3_FEATURE_RO_COMPAT_BTREE_DIR   0x0004

Definition at line 673 of file ext3_fs.h.

◆ EXT3_FEATURE_RO_COMPAT_LARGE_FILE

#define EXT3_FEATURE_RO_COMPAT_LARGE_FILE   0x0002

Definition at line 672 of file ext3_fs.h.

◆ EXT3_FEATURE_RO_COMPAT_SPARSE_SUPER

#define EXT3_FEATURE_RO_COMPAT_SPARSE_SUPER   0x0001

Definition at line 671 of file ext3_fs.h.

◆ ext3_find_first_zero_bit

#define ext3_find_first_zero_bit   ext2_find_first_zero_bit

Definition at line 468 of file ext3_fs.h.

◆ ext3_find_next_zero_bit

#define ext3_find_next_zero_bit   ext2_find_next_zero_bit

Definition at line 469 of file ext3_fs.h.

◆ EXT3_FIRST_INO

#define EXT3_FIRST_INO (   s)
Value:
(((s)->s_rev_level == EXT3_GOOD_OLD_REV) ? \
EXT3_GOOD_OLD_FIRST_INO : \
__le32 s_first_ino
Definition: ext3_fs_sb.h:63
#define EXT3_GOOD_OLD_REV
Definition: ext3_fs.h:633
GLdouble s
Definition: gl.h:2039

Definition at line 97 of file ext3_fs.h.

◆ EXT3_FL_USER_MODIFIABLE

#define EXT3_FL_USER_MODIFIABLE   0x000380FF /* User modifiable flags */

Definition at line 229 of file ext3_fs.h.

◆ EXT3_FL_USER_VISIBLE

#define EXT3_FL_USER_VISIBLE   0x0003DFFF /* User visible flags */

Definition at line 228 of file ext3_fs.h.

◆ EXT3_FRAG_SIZE

#define EXT3_FRAG_SIZE (   s)    (EXT3_MIN_FRAG_SIZE << (s)->s_log_frag_size)

Definition at line 112 of file ext3_fs.h.

◆ EXT3_FRAGS_PER_BLOCK

#define EXT3_FRAGS_PER_BLOCK (   s)    (EXT3_BLOCK_SIZE(s) / EXT3_FRAG_SIZE(s))

Definition at line 113 of file ext3_fs.h.

◆ EXT3_FT_BLKDEV

#define EXT3_FT_BLKDEV   4

Definition at line 790 of file ext3_fs.h.

◆ EXT3_FT_CHRDEV

#define EXT3_FT_CHRDEV   3

Definition at line 789 of file ext3_fs.h.

◆ EXT3_FT_DIR

#define EXT3_FT_DIR   2

Definition at line 788 of file ext3_fs.h.

◆ EXT3_FT_FIFO

#define EXT3_FT_FIFO   5

Definition at line 791 of file ext3_fs.h.

◆ EXT3_FT_MASK

#define EXT3_FT_MASK   0xf

Definition at line 796 of file ext3_fs.h.

◆ EXT3_FT_MAX

#define EXT3_FT_MAX   8

Definition at line 795 of file ext3_fs.h.

◆ EXT3_FT_REG_FILE

#define EXT3_FT_REG_FILE   1

Definition at line 787 of file ext3_fs.h.

◆ EXT3_FT_SOCK

#define EXT3_FT_SOCK   6

Definition at line 792 of file ext3_fs.h.

◆ EXT3_FT_SYMLINK

#define EXT3_FT_SYMLINK   7

Definition at line 793 of file ext3_fs.h.

◆ EXT3_FT_UNKNOWN

#define EXT3_FT_UNKNOWN   0

Definition at line 786 of file ext3_fs.h.

◆ EXT3_GOOD_OLD_FIRST_INO

#define EXT3_GOOD_OLD_FIRST_INO   11

Definition at line 65 of file ext3_fs.h.

◆ EXT3_GOOD_OLD_INODE_SIZE

#define EXT3_GOOD_OLD_INODE_SIZE   128

Definition at line 639 of file ext3_fs.h.

◆ EXT3_GOOD_OLD_REV

#define EXT3_GOOD_OLD_REV   0 /* The good old (original) format */

Definition at line 633 of file ext3_fs.h.

◆ EXT3_HAS_COMPAT_FEATURE

#define EXT3_HAS_COMPAT_FEATURE (   sb,
  mask 
)    ( EXT3_SB(sb)->s_es->s_feature_compat & cpu_to_le32(mask) )

Definition at line 645 of file ext3_fs.h.

◆ EXT3_HAS_INCOMPAT_FEATURE

#define EXT3_HAS_INCOMPAT_FEATURE (   sb,
  mask 
)    ( EXT3_SB(sb)->s_es->s_feature_incompat & cpu_to_le32(mask) )

Definition at line 649 of file ext3_fs.h.

◆ EXT3_HAS_RO_COMPAT_FEATURE

#define EXT3_HAS_RO_COMPAT_FEATURE (   sb,
  mask 
)    ( EXT3_SB(sb)->s_es->s_feature_ro_compat & cpu_to_le32(mask) )

Definition at line 647 of file ext3_fs.h.

◆ EXT3_IMAGIC_FL

#define EXT3_IMAGIC_FL   0x00002000 /* AFS directory */

Definition at line 221 of file ext3_fs.h.

◆ EXT3_IMMUTABLE_FL

#define EXT3_IMMUTABLE_FL   0x00000010 /* Immutable file */

Definition at line 210 of file ext3_fs.h.

◆ EXT3_IND_BLOCK

#define EXT3_IND_BLOCK   EXT3_NDIR_BLOCKS

Definition at line 198 of file ext3_fs.h.

◆ EXT3_INDEX_FL

#define EXT3_INDEX_FL   0x00001000 /* hash-indexed directory */

Definition at line 220 of file ext3_fs.h.

◆ EXT3_INODE_SIZE

#define EXT3_INODE_SIZE (   s)
Value:
(((s)->s_rev_level == EXT3_GOOD_OLD_REV) ? \
EXT3_GOOD_OLD_INODE_SIZE : \
(s)->s_inode_size)
#define EXT3_GOOD_OLD_REV
Definition: ext3_fs.h:633
GLdouble s
Definition: gl.h:2039

Definition at line 94 of file ext3_fs.h.

◆ EXT3_INODES_PER_GROUP

#define EXT3_INODES_PER_GROUP (   s)    ((s)->s_inodes_per_group)

Definition at line 191 of file ext3_fs.h.

◆ EXT3_IOC32_GETFLAGS

#define EXT3_IOC32_GETFLAGS   FS_IOC32_GETFLAGS

Definition at line 314 of file ext3_fs.h.

◆ EXT3_IOC32_GETRSVSZ

#define EXT3_IOC32_GETRSVSZ   _IOR('f', 5, int)

Definition at line 318 of file ext3_fs.h.

◆ EXT3_IOC32_GETVERSION

#define EXT3_IOC32_GETVERSION   _IOR('f', 3, int)

Definition at line 316 of file ext3_fs.h.

◆ EXT3_IOC32_GETVERSION_OLD

#define EXT3_IOC32_GETVERSION_OLD   FS_IOC32_GETVERSION

Definition at line 324 of file ext3_fs.h.

◆ EXT3_IOC32_GROUP_EXTEND

#define EXT3_IOC32_GROUP_EXTEND   _IOW('f', 7, unsigned int)

Definition at line 320 of file ext3_fs.h.

◆ EXT3_IOC32_SETFLAGS

#define EXT3_IOC32_SETFLAGS   FS_IOC32_SETFLAGS

Definition at line 315 of file ext3_fs.h.

◆ EXT3_IOC32_SETRSVSZ

#define EXT3_IOC32_SETRSVSZ   _IOW('f', 6, int)

Definition at line 319 of file ext3_fs.h.

◆ EXT3_IOC32_SETVERSION

#define EXT3_IOC32_SETVERSION   _IOW('f', 4, int)

Definition at line 317 of file ext3_fs.h.

◆ EXT3_IOC32_SETVERSION_OLD

#define EXT3_IOC32_SETVERSION_OLD   FS_IOC32_SETVERSION

Definition at line 325 of file ext3_fs.h.

◆ EXT3_IOC_GETFLAGS

#define EXT3_IOC_GETFLAGS   FS_IOC_GETFLAGS

Definition at line 297 of file ext3_fs.h.

◆ EXT3_IOC_GETRSVSZ

#define EXT3_IOC_GETRSVSZ   _IOR('f', 5, long)

Definition at line 308 of file ext3_fs.h.

◆ EXT3_IOC_GETVERSION

#define EXT3_IOC_GETVERSION   _IOR('f', 3, long)

Definition at line 299 of file ext3_fs.h.

◆ EXT3_IOC_GETVERSION_OLD

#define EXT3_IOC_GETVERSION_OLD   FS_IOC_GETVERSION

Definition at line 303 of file ext3_fs.h.

◆ EXT3_IOC_GROUP_ADD

#define EXT3_IOC_GROUP_ADD   _IOW('f', 8,struct ext3_new_group_input)

Definition at line 302 of file ext3_fs.h.

◆ EXT3_IOC_GROUP_EXTEND

#define EXT3_IOC_GROUP_EXTEND   _IOW('f', 7, unsigned long)

Definition at line 301 of file ext3_fs.h.

◆ EXT3_IOC_SETFLAGS

#define EXT3_IOC_SETFLAGS   FS_IOC_SETFLAGS

Definition at line 298 of file ext3_fs.h.

◆ EXT3_IOC_SETRSVSZ

#define EXT3_IOC_SETRSVSZ   _IOW('f', 6, long)

Definition at line 309 of file ext3_fs.h.

◆ EXT3_IOC_SETVERSION

#define EXT3_IOC_SETVERSION   _IOW('f', 4, long)

Definition at line 300 of file ext3_fs.h.

◆ EXT3_IOC_SETVERSION_OLD

#define EXT3_IOC_SETVERSION_OLD   FS_IOC_SETVERSION

Definition at line 304 of file ext3_fs.h.

◆ EXT3_JOURNAL_DATA_FL

#define EXT3_JOURNAL_DATA_FL   0x00004000 /* file data should be journaled */

Definition at line 222 of file ext3_fs.h.

◆ EXT3_JOURNAL_INO

#define EXT3_JOURNAL_INO   8 /* Journal inode */

Definition at line 62 of file ext3_fs.h.

◆ EXT3_LINK_MAX

#define EXT3_LINK_MAX   32000

Definition at line 70 of file ext3_fs.h.

◆ EXT3_LUFID_MAGIC

#define EXT3_LUFID_MAGIC   0xAD200907UL

Definition at line 802 of file ext3_fs.h.

◆ EXT3_MAX_BLOCK_SIZE

#define EXT3_MAX_BLOCK_SIZE   65536

Definition at line 76 of file ext3_fs.h.

◆ EXT3_MAX_FRAG_SIZE

#define EXT3_MAX_FRAG_SIZE   4096

Definition at line 106 of file ext3_fs.h.

◆ EXT3_MAX_REC_LEN

#define EXT3_MAX_REC_LEN   ((1<<16)-1)

Definition at line 869 of file ext3_fs.h.

◆ EXT3_MAX_RESERVE_BLOCKS

#define EXT3_MAX_RESERVE_BLOCKS   1027

Definition at line 37 of file ext3_fs.h.

◆ EXT3_MAX_SUPP_REV

#define EXT3_MAX_SUPP_REV   EXT3_DYNAMIC_REV

Definition at line 637 of file ext3_fs.h.

◆ EXT3_MIN_BLOCK_LOG_SIZE

#define EXT3_MIN_BLOCK_LOG_SIZE   10

Definition at line 77 of file ext3_fs.h.

◆ EXT3_MIN_BLOCK_SIZE

#define EXT3_MIN_BLOCK_SIZE   1024

Definition at line 75 of file ext3_fs.h.

◆ EXT3_MIN_FRAG_LOG_SIZE

#define EXT3_MIN_FRAG_LOG_SIZE   10

Definition at line 107 of file ext3_fs.h.

◆ EXT3_MIN_FRAG_SIZE

#define EXT3_MIN_FRAG_SIZE   1024

Definition at line 105 of file ext3_fs.h.

◆ EXT3_MOUNT_ABORT

#define EXT3_MOUNT_ABORT   0x00200 /* Fatal error detected */

Definition at line 435 of file ext3_fs.h.

◆ EXT3_MOUNT_BARRIER

#define EXT3_MOUNT_BARRIER   0x20000 /* Use block barriers */

Definition at line 445 of file ext3_fs.h.

◆ EXT3_MOUNT_CHECK

#define EXT3_MOUNT_CHECK   0x00001 /* Do mount-time checks */

Definition at line 426 of file ext3_fs.h.

◆ EXT3_MOUNT_DATA_FLAGS

#define EXT3_MOUNT_DATA_FLAGS   0x00C00 /* Mode for data writes: */

Definition at line 436 of file ext3_fs.h.

◆ EXT3_MOUNT_DEBUG

#define EXT3_MOUNT_DEBUG   0x00008 /* Some debugging messages */

Definition at line 429 of file ext3_fs.h.

◆ EXT3_MOUNT_ERRORS_CONT

#define EXT3_MOUNT_ERRORS_CONT   0x00010 /* Continue on errors */

Definition at line 430 of file ext3_fs.h.

◆ EXT3_MOUNT_ERRORS_PANIC

#define EXT3_MOUNT_ERRORS_PANIC   0x00040 /* Panic on errors */

Definition at line 432 of file ext3_fs.h.

◆ EXT3_MOUNT_ERRORS_RO

#define EXT3_MOUNT_ERRORS_RO   0x00020 /* Remount fs ro on errors */

Definition at line 431 of file ext3_fs.h.

◆ EXT3_MOUNT_GRPID

#define EXT3_MOUNT_GRPID   0x00004 /* Create files with directory's group */

Definition at line 428 of file ext3_fs.h.

◆ EXT3_MOUNT_GRPQUOTA

#define EXT3_MOUNT_GRPQUOTA   0x200000 /* "old" group quota */

Definition at line 449 of file ext3_fs.h.

◆ EXT3_MOUNT_JOURNAL_DATA

#define EXT3_MOUNT_JOURNAL_DATA   0x00400 /* Write data to journal */

Definition at line 437 of file ext3_fs.h.

◆ EXT3_MOUNT_MINIX_DF

#define EXT3_MOUNT_MINIX_DF   0x00080 /* Mimics the Minix statfs */

Definition at line 433 of file ext3_fs.h.

◆ EXT3_MOUNT_NO_UID32

#define EXT3_MOUNT_NO_UID32   0x02000 /* Disable 32-bit UIDs */

Definition at line 441 of file ext3_fs.h.

◆ EXT3_MOUNT_NOBH

#define EXT3_MOUNT_NOBH   0x40000 /* No bufferheads */

Definition at line 446 of file ext3_fs.h.

◆ EXT3_MOUNT_NOLOAD

#define EXT3_MOUNT_NOLOAD   0x00100 /* Don't use existing journal*/

Definition at line 434 of file ext3_fs.h.

◆ EXT3_MOUNT_OLDALLOC

#define EXT3_MOUNT_OLDALLOC   0x00002 /* Don't use the new Orlov allocator */

Definition at line 427 of file ext3_fs.h.

◆ EXT3_MOUNT_ORDERED_DATA

#define EXT3_MOUNT_ORDERED_DATA   0x00800 /* Flush data before commit */

Definition at line 438 of file ext3_fs.h.

◆ EXT3_MOUNT_POSIX_ACL

#define EXT3_MOUNT_POSIX_ACL   0x08000 /* POSIX Access Control Lists */

Definition at line 443 of file ext3_fs.h.

◆ EXT3_MOUNT_QUOTA

#define EXT3_MOUNT_QUOTA   0x80000 /* Some quota option set */

Definition at line 447 of file ext3_fs.h.

◆ EXT3_MOUNT_RESERVATION

#define EXT3_MOUNT_RESERVATION   0x10000 /* Preallocation */

Definition at line 444 of file ext3_fs.h.

◆ EXT3_MOUNT_UPDATE_JOURNAL

#define EXT3_MOUNT_UPDATE_JOURNAL   0x01000 /* Update the journal format */

Definition at line 440 of file ext3_fs.h.

◆ EXT3_MOUNT_USRQUOTA

#define EXT3_MOUNT_USRQUOTA   0x100000 /* "old" user quota */

Definition at line 448 of file ext3_fs.h.

◆ EXT3_MOUNT_WRITEBACK_DATA

#define EXT3_MOUNT_WRITEBACK_DATA   0x00C00 /* No data ordering */

Definition at line 439 of file ext3_fs.h.

◆ EXT3_MOUNT_XATTR_USER

#define EXT3_MOUNT_XATTR_USER   0x04000 /* Extended user attributes */

Definition at line 442 of file ext3_fs.h.

◆ EXT3_N_BLOCKS

#define EXT3_N_BLOCKS   (EXT3_TIND_BLOCK + 1)

Definition at line 201 of file ext3_fs.h.

◆ EXT3_NAME_LEN

#define EXT3_NAME_LEN   255

Definition at line 759 of file ext3_fs.h.

◆ EXT3_NDIR_BLOCKS

#define EXT3_NDIR_BLOCKS   12

Definition at line 197 of file ext3_fs.h.

◆ EXT3_NOATIME_FL

#define EXT3_NOATIME_FL   0x00000080 /* do not update atime */

Definition at line 213 of file ext3_fs.h.

◆ EXT3_NOCOMPR_FL

#define EXT3_NOCOMPR_FL   0x00000400 /* Don't compress */

Definition at line 217 of file ext3_fs.h.

◆ EXT3_NODUMP_FL

#define EXT3_NODUMP_FL   0x00000040 /* do not dump file */

Definition at line 212 of file ext3_fs.h.

◆ EXT3_NOTAIL_FL

#define EXT3_NOTAIL_FL   0x00008000 /* file tail should not be merged */

Definition at line 223 of file ext3_fs.h.

◆ EXT3_ORPHAN_FS

#define EXT3_ORPHAN_FS   0x0004 /* Orphans being recovered */

Definition at line 421 of file ext3_fs.h.

◆ EXT3_OS_FREEBSD

#define EXT3_OS_FREEBSD   3

Definition at line 627 of file ext3_fs.h.

◆ EXT3_OS_HURD

#define EXT3_OS_HURD   1

Definition at line 625 of file ext3_fs.h.

◆ EXT3_OS_LINUX

#define EXT3_OS_LINUX   0

Definition at line 624 of file ext3_fs.h.

◆ EXT3_OS_LITES

#define EXT3_OS_LITES   4

Definition at line 628 of file ext3_fs.h.

◆ EXT3_OS_MASIX

#define EXT3_OS_MASIX   2

Definition at line 626 of file ext3_fs.h.

◆ EXT3_RESERVE_WINDOW_NOT_ALLOCATED

#define EXT3_RESERVE_WINDOW_NOT_ALLOCATED   0

Definition at line 38 of file ext3_fs.h.

◆ EXT3_RESERVED_FL

#define EXT3_RESERVED_FL   0x80000000 /* reserved for ext3 lib */

Definition at line 226 of file ext3_fs.h.

◆ EXT3_RESIZE_INO

#define EXT3_RESIZE_INO   7 /* Reserved group descriptors inode */

Definition at line 61 of file ext3_fs.h.

◆ EXT3_ROOT_INO

#define EXT3_ROOT_INO   2 /* Root inode */

Definition at line 58 of file ext3_fs.h.

◆ EXT3_SB

#define EXT3_SB (   sb)    (sb)

Definition at line 615 of file ext3_fs.h.

◆ EXT3_SECRM_FL

#define EXT3_SECRM_FL   0x00000001 /* Secure deletion */

Definition at line 206 of file ext3_fs.h.

◆ ext3_set_bit

#define ext3_set_bit   ext2_set_bit

Definition at line 463 of file ext3_fs.h.

◆ ext3_set_bit_atomic

#define ext3_set_bit_atomic   ext2_set_bit_atomic

Definition at line 464 of file ext3_fs.h.

◆ EXT3_SET_COMPAT_FEATURE

#define EXT3_SET_COMPAT_FEATURE (   sb,
  mask 
)    EXT3_SB(sb)->s_es->s_feature_compat |= cpu_to_le32(mask)

Definition at line 651 of file ext3_fs.h.

◆ EXT3_SET_INCOMPAT_FEATURE

#define EXT3_SET_INCOMPAT_FEATURE (   sb,
  mask 
)    EXT3_SB(sb)->s_es->s_feature_incompat |= cpu_to_le32(mask)

Definition at line 655 of file ext3_fs.h.

◆ EXT3_SET_RO_COMPAT_FEATURE

#define EXT3_SET_RO_COMPAT_FEATURE (   sb,
  mask 
)    EXT3_SB(sb)->s_es->s_feature_ro_compat |= cpu_to_le32(mask)

Definition at line 653 of file ext3_fs.h.

◆ EXT3_STATE_JDATA

#define EXT3_STATE_JDATA   0x00000001 /* journaled data exists */

Definition at line 234 of file ext3_fs.h.

◆ EXT3_STATE_NEW

#define EXT3_STATE_NEW   0x00000002 /* inode is newly created */

Definition at line 235 of file ext3_fs.h.

◆ EXT3_STATE_XATTR

#define EXT3_STATE_XATTR   0x00000004 /* has in-inode xattrs */

Definition at line 236 of file ext3_fs.h.

◆ EXT3_SYNC_FL

#define EXT3_SYNC_FL   0x00000008 /* Synchronous updates */

Definition at line 209 of file ext3_fs.h.

◆ ext3_test_bit

#define ext3_test_bit   ext2_test_bit

Definition at line 467 of file ext3_fs.h.

◆ EXT3_TIND_BLOCK

#define EXT3_TIND_BLOCK   (EXT3_DIND_BLOCK + 1)

Definition at line 200 of file ext3_fs.h.

◆ EXT3_TOPDIR_FL

#define EXT3_TOPDIR_FL   0x00020000 /* Top of directory hierarchies*/

Definition at line 225 of file ext3_fs.h.

◆ EXT3_UNDEL_DIR_INO

#define EXT3_UNDEL_DIR_INO   6 /* Undelete directory inode */

Definition at line 60 of file ext3_fs.h.

◆ EXT3_UNRM_FL

#define EXT3_UNRM_FL   0x00000002 /* Undelete */

Definition at line 207 of file ext3_fs.h.

◆ EXT3_VALID_FS

#define EXT3_VALID_FS   0x0001 /* Unmounted cleanly */

Definition at line 419 of file ext3_fs.h.

◆ EXT4_APPEND_FL

#define EXT4_APPEND_FL   0x00000020 /* writes to file may only append */

Definition at line 247 of file ext3_fs.h.

◆ EXT4_BG_BLOCK_UNINIT [1/2]

#define EXT4_BG_BLOCK_UNINIT   0x0002 /* Block bitmap not in use */

Definition at line 734 of file ext3_fs.h.

◆ EXT4_BG_BLOCK_UNINIT [2/2]

#define EXT4_BG_BLOCK_UNINIT   0x0002 /* Block bitmap not in use */

Definition at line 734 of file ext3_fs.h.

◆ EXT4_BG_INODE_UNINIT [1/2]

#define EXT4_BG_INODE_UNINIT   0x0001 /* Inode table/bitmap not in use */

Definition at line 733 of file ext3_fs.h.

◆ EXT4_BG_INODE_UNINIT [2/2]

#define EXT4_BG_INODE_UNINIT   0x0001 /* Inode table/bitmap not in use */

Definition at line 733 of file ext3_fs.h.

◆ EXT4_BG_INODE_ZEROED [1/2]

#define EXT4_BG_INODE_ZEROED   0x0004 /* On-disk itable initialized to zero */

Definition at line 735 of file ext3_fs.h.

◆ EXT4_BG_INODE_ZEROED [2/2]

#define EXT4_BG_INODE_ZEROED   0x0004 /* On-disk itable initialized to zero */

Definition at line 735 of file ext3_fs.h.

◆ EXT4_COMPR_FL

#define EXT4_COMPR_FL   0x00000004 /* Compress file */

Definition at line 244 of file ext3_fs.h.

◆ EXT4_COMPRBLK_FL

#define EXT4_COMPRBLK_FL   0x00000200 /* One or more compressed clusters */

Definition at line 252 of file ext3_fs.h.

◆ EXT4_DESC_SIZE

#define EXT4_DESC_SIZE (   s)    (EXT3_SB(s)->s_desc_size)

Definition at line 174 of file ext3_fs.h.

◆ EXT4_DIRSYNC_FL

#define EXT4_DIRSYNC_FL   0x00010000 /* dirsync behaviour (directories only) */

Definition at line 260 of file ext3_fs.h.

◆ EXT4_DIRTY_FL

#define EXT4_DIRTY_FL   0x00000100

Definition at line 251 of file ext3_fs.h.

◆ EXT4_ECOMPR_FL

#define EXT4_ECOMPR_FL   0x00000800 /* Compression error */

Definition at line 254 of file ext3_fs.h.

◆ EXT4_EXT_MIGRATE

#define EXT4_EXT_MIGRATE   0x00100000 /* Inode is migrating */

Definition at line 264 of file ext3_fs.h.

◆ EXT4_EXTENTS_FL

#define EXT4_EXTENTS_FL   0x00080000 /* Inode uses extents */

Definition at line 263 of file ext3_fs.h.

◆ EXT4_FEATURE_COMPAT_DIR_INDEX

#define EXT4_FEATURE_COMPAT_DIR_INDEX   0x0020

Definition at line 694 of file ext3_fs.h.

◆ EXT4_FEATURE_COMPAT_DIR_PREALLOC

#define EXT4_FEATURE_COMPAT_DIR_PREALLOC   0x0001

Definition at line 689 of file ext3_fs.h.

◆ EXT4_FEATURE_COMPAT_EXT_ATTR

#define EXT4_FEATURE_COMPAT_EXT_ATTR   0x0008

Definition at line 692 of file ext3_fs.h.

◆ EXT4_FEATURE_COMPAT_HAS_JOURNAL

#define EXT4_FEATURE_COMPAT_HAS_JOURNAL   0x0004

Definition at line 691 of file ext3_fs.h.

◆ EXT4_FEATURE_COMPAT_IMAGIC_INODES

#define EXT4_FEATURE_COMPAT_IMAGIC_INODES   0x0002

Definition at line 690 of file ext3_fs.h.

◆ EXT4_FEATURE_COMPAT_RESIZE_INODE

#define EXT4_FEATURE_COMPAT_RESIZE_INODE   0x0010

Definition at line 693 of file ext3_fs.h.

◆ EXT4_FEATURE_INCOMPAT_64BIT

#define EXT4_FEATURE_INCOMPAT_64BIT   0x0080

Definition at line 710 of file ext3_fs.h.

◆ EXT4_FEATURE_INCOMPAT_BG_USE_META_CSUM

#define EXT4_FEATURE_INCOMPAT_BG_USE_META_CSUM   0x2000 /* use crc32c for bg */

Definition at line 714 of file ext3_fs.h.

◆ EXT4_FEATURE_INCOMPAT_COMPRESSION

#define EXT4_FEATURE_INCOMPAT_COMPRESSION   0x0001

Definition at line 704 of file ext3_fs.h.

◆ EXT4_FEATURE_INCOMPAT_DIRDATA

#define EXT4_FEATURE_INCOMPAT_DIRDATA   0x1000 /* used by Lustre - ldiskfs */

Definition at line 713 of file ext3_fs.h.

◆ EXT4_FEATURE_INCOMPAT_EXTENTS

#define EXT4_FEATURE_INCOMPAT_EXTENTS   0x0040 /* extents support */

Definition at line 709 of file ext3_fs.h.

◆ EXT4_FEATURE_INCOMPAT_FILETYPE

#define EXT4_FEATURE_INCOMPAT_FILETYPE   0x0002

Definition at line 705 of file ext3_fs.h.

◆ EXT4_FEATURE_INCOMPAT_FLEX_BG

#define EXT4_FEATURE_INCOMPAT_FLEX_BG   0x0200

Definition at line 712 of file ext3_fs.h.

◆ EXT4_FEATURE_INCOMPAT_INLINEDATA

#define EXT4_FEATURE_INCOMPAT_INLINEDATA   0x8000 /* data in inode */

Definition at line 716 of file ext3_fs.h.

◆ EXT4_FEATURE_INCOMPAT_JOURNAL_DEV

#define EXT4_FEATURE_INCOMPAT_JOURNAL_DEV   0x0008 /* Journal device */

Definition at line 707 of file ext3_fs.h.

◆ EXT4_FEATURE_INCOMPAT_LARGEDIR

#define EXT4_FEATURE_INCOMPAT_LARGEDIR   0x4000 /* >2GB or 3-lvl htree */

Definition at line 715 of file ext3_fs.h.

◆ EXT4_FEATURE_INCOMPAT_META_BG

#define EXT4_FEATURE_INCOMPAT_META_BG   0x0010

Definition at line 708 of file ext3_fs.h.

◆ EXT4_FEATURE_INCOMPAT_MMP

#define EXT4_FEATURE_INCOMPAT_MMP   0x0100

Definition at line 711 of file ext3_fs.h.

◆ EXT4_FEATURE_INCOMPAT_RECOVER

#define EXT4_FEATURE_INCOMPAT_RECOVER   0x0004 /* Needs recovery */

Definition at line 706 of file ext3_fs.h.

◆ EXT4_FEATURE_INCOMPAT_SUPP

#define EXT4_FEATURE_INCOMPAT_SUPP
Value:
( \
EXT4_FEATURE_INCOMPAT_FILETYPE| \
EXT4_FEATURE_INCOMPAT_RECOVER| \
EXT4_FEATURE_INCOMPAT_META_BG| \
EXT4_FEATURE_INCOMPAT_EXTENTS| \
EXT4_FEATURE_INCOMPAT_FLEX_BG)

Definition at line 718 of file ext3_fs.h.

◆ EXT4_FEATURE_RO_COMPAT_BTREE_DIR

#define EXT4_FEATURE_RO_COMPAT_BTREE_DIR   0x0004

Definition at line 698 of file ext3_fs.h.

◆ EXT4_FEATURE_RO_COMPAT_DIR_NLINK [1/2]

#define EXT4_FEATURE_RO_COMPAT_DIR_NLINK   0x0020

Definition at line 701 of file ext3_fs.h.

◆ EXT4_FEATURE_RO_COMPAT_DIR_NLINK [2/2]

#define EXT4_FEATURE_RO_COMPAT_DIR_NLINK   0x0020

Definition at line 701 of file ext3_fs.h.

◆ EXT4_FEATURE_RO_COMPAT_EXTRA_ISIZE [1/2]

#define EXT4_FEATURE_RO_COMPAT_EXTRA_ISIZE   0x0040

Definition at line 702 of file ext3_fs.h.

◆ EXT4_FEATURE_RO_COMPAT_EXTRA_ISIZE [2/2]

#define EXT4_FEATURE_RO_COMPAT_EXTRA_ISIZE   0x0040

Definition at line 702 of file ext3_fs.h.

◆ EXT4_FEATURE_RO_COMPAT_GDT_CSUM [1/2]

#define EXT4_FEATURE_RO_COMPAT_GDT_CSUM   0x0010

Definition at line 700 of file ext3_fs.h.

◆ EXT4_FEATURE_RO_COMPAT_GDT_CSUM [2/2]

#define EXT4_FEATURE_RO_COMPAT_GDT_CSUM   0x0010

Definition at line 700 of file ext3_fs.h.

◆ EXT4_FEATURE_RO_COMPAT_HUGE_FILE

#define EXT4_FEATURE_RO_COMPAT_HUGE_FILE   0x0008

Definition at line 699 of file ext3_fs.h.

◆ EXT4_FEATURE_RO_COMPAT_LARGE_FILE

#define EXT4_FEATURE_RO_COMPAT_LARGE_FILE   0x0002

Definition at line 697 of file ext3_fs.h.

◆ EXT4_FEATURE_RO_COMPAT_SPARSE_SUPER

#define EXT4_FEATURE_RO_COMPAT_SPARSE_SUPER   0x0001

Definition at line 696 of file ext3_fs.h.

◆ EXT4_FEATURE_RO_COMPAT_SUPP

#define EXT4_FEATURE_RO_COMPAT_SUPP
Value:
( \
EXT4_FEATURE_RO_COMPAT_SPARSE_SUPER| \
EXT4_FEATURE_RO_COMPAT_LARGE_FILE| \
EXT4_FEATURE_RO_COMPAT_GDT_CSUM| \
EXT4_FEATURE_RO_COMPAT_DIR_NLINK | \
EXT4_FEATURE_RO_COMPAT_EXTRA_ISIZE | \
EXT4_FEATURE_RO_COMPAT_BTREE_DIR | \
EXT4_FEATURE_RO_COMPAT_HUGE_FILE)

Definition at line 724 of file ext3_fs.h.

◆ EXT4_FL_USER_MODIFIABLE

#define EXT4_FL_USER_MODIFIABLE   0x000B80FF /* User modifiable flags */

Definition at line 268 of file ext3_fs.h.

◆ EXT4_FL_USER_VISIBLE

#define EXT4_FL_USER_VISIBLE   0x000BDFFF /* User visible flags */

Definition at line 267 of file ext3_fs.h.

◆ EXT4_HUGE_FILE_FL

#define EXT4_HUGE_FILE_FL   0x00040000 /* Set to each huge file */

Definition at line 262 of file ext3_fs.h.

◆ EXT4_IMAGIC_FL

#define EXT4_IMAGIC_FL   0x00002000 /* AFS directory */

Definition at line 257 of file ext3_fs.h.

◆ EXT4_IMMUTABLE_FL

#define EXT4_IMMUTABLE_FL   0x00000010 /* Immutable file */

Definition at line 246 of file ext3_fs.h.

◆ EXT4_INDEX_FL

#define EXT4_INDEX_FL   0x00001000 /* hash-indexed directory */

Definition at line 256 of file ext3_fs.h.

◆ EXT4_JOURNAL_DATA_FL

#define EXT4_JOURNAL_DATA_FL   0x00004000 /* file data should be journaled */

Definition at line 258 of file ext3_fs.h.

◆ EXT4_MAX_DESC_SIZE

#define EXT4_MAX_DESC_SIZE   EXT4_MIN_BLOCK_SIZE

Definition at line 172 of file ext3_fs.h.

◆ EXT4_MIN_BLOCK_SIZE

#define EXT4_MIN_BLOCK_SIZE   1024

Definition at line 169 of file ext3_fs.h.

◆ EXT4_MIN_DESC_SIZE

#define EXT4_MIN_DESC_SIZE   32

Definition at line 170 of file ext3_fs.h.

◆ EXT4_MIN_DESC_SIZE_64BIT

#define EXT4_MIN_DESC_SIZE_64BIT   64

Definition at line 171 of file ext3_fs.h.

◆ EXT4_NOATIME_FL

#define EXT4_NOATIME_FL   0x00000080 /* do not update atime */

Definition at line 249 of file ext3_fs.h.

◆ EXT4_NOCOMPR_FL

#define EXT4_NOCOMPR_FL   0x00000400 /* Don't compress */

Definition at line 253 of file ext3_fs.h.

◆ EXT4_NODUMP_FL

#define EXT4_NODUMP_FL   0x00000040 /* do not dump file */

Definition at line 248 of file ext3_fs.h.

◆ EXT4_NOTAIL_FL

#define EXT4_NOTAIL_FL   0x00008000 /* file tail should not be merged */

Definition at line 259 of file ext3_fs.h.

◆ EXT4_RESERVED_FL

#define EXT4_RESERVED_FL   0x80000000 /* reserved for ext4 lib */

Definition at line 265 of file ext3_fs.h.

◆ EXT4_SECRM_FL

#define EXT4_SECRM_FL   0x00000001 /* Secure deletion */

Definition at line 242 of file ext3_fs.h.

◆ EXT4_SYNC_FL

#define EXT4_SYNC_FL   0x00000008 /* Synchronous updates */

Definition at line 245 of file ext3_fs.h.

◆ EXT4_TOPDIR_FL

#define EXT4_TOPDIR_FL   0x00020000 /* Top of directory hierarchies*/

Definition at line 261 of file ext3_fs.h.

◆ EXT4_UNRM_FL

#define EXT4_UNRM_FL   0x00000002 /* Undelete */

Definition at line 243 of file ext3_fs.h.

◆ i_disk_version

#define i_disk_version   osd1.linux1.l_i_version

Definition at line 404 of file ext3_fs.h.

◆ is_dx

#define is_dx (   dir)    0

Definition at line 901 of file ext3_fs.h.

◆ NEXT_ORPHAN

#define NEXT_ORPHAN (   inode)    EXT3_I(inode)->i_dtime

Definition at line 619 of file ext3_fs.h.

◆ set_opt

#define set_opt (   o,
  opt 
)    o |= EXT3_MOUNT_##opt

Definition at line 454 of file ext3_fs.h.

◆ test_opt

#define test_opt (   sb,
  opt 
)
Value:
(EXT3_SB(sb)->s_mount_opt & \
EXT3_MOUNT_##opt)
superblock * sb
Definition: btrfs.c:4137
#define EXT3_SB(sb)
Definition: ext3_fs.h:615

Definition at line 455 of file ext3_fs.h.

Function Documentation

◆ __attribute__()

Definition at line 52 of file framebased-gcchack.c.

57 {
58  return trampoline_->STR_MovEcx == 0xb9 && trampoline_->STR_Jmp == 0xe9;
59 }

◆ ext3_dentry_get_data()

static unsigned char* ext3_dentry_get_data ( struct super_block sb,
struct ext3_dentry_param p 
)
inlinestatic

Definition at line 812 of file ext3_fs.h.

815 {
817  return NULL;
818  if (p && p->edp_magic == EXT3_LUFID_MAGIC)
819  return &p->edp_len;
820  else
821  return NULL;
822 }
superblock * sb
Definition: btrfs.c:4137
#define EXT3_LUFID_MAGIC
Definition: ext3_fs.h:802
#define EXT3_FEATURE_INCOMPAT_DIRDATA
Definition: ext3_fs.h:685
smooth NULL
Definition: ftsmooth.c:416
#define EXT3_HAS_INCOMPAT_FEATURE(sb, mask)
Definition: ext3_fs.h:649
GLfloat GLfloat p
Definition: glext.h:8902

◆ ext3_get_dirent_data_len()

static int ext3_get_dirent_data_len ( struct ext3_dir_entry_2 de)
inlinestatic

Definition at line 831 of file ext3_fs.h.

832 {
833  char *len = de->name + de->name_len + 1 /* NUL terminator */;
834  int dlen = 0;
835  __u8 extra_data_flags = (de->file_type & ~EXT3_FT_MASK) >> 4;
836 
837  while (extra_data_flags) {
838  if (extra_data_flags & 1) {
839  dlen += *len + (dlen == 0);
840  len += *len;
841  }
842  extra_data_flags >>= 1;
843  }
844  return dlen;
845 }
unsigned char __u8
Definition: compat.h:88
char name[EXT3_NAME_LEN]
Definition: ext3_fs.h:779
__u8 file_type
Definition: ext3_fs.h:778
GLenum GLsizei len
Definition: glext.h:6722
__u8 name_len
Definition: ext3_fs.h:777
#define EXT3_FT_MASK
Definition: ext3_fs.h:796

◆ ext3_rec_len_from_disk()

static unsigned ext3_rec_len_from_disk ( __le16  dlen)
inlinestatic

Definition at line 871 of file ext3_fs.h.

872 {
873  unsigned len = le16_to_cpu(dlen);
874 
875  if (len == EXT3_MAX_REC_LEN || len == 0)
876  return 1 << 16;
877  return len;
878 }
#define EXT3_MAX_REC_LEN
Definition: ext3_fs.h:869
#define le16_to_cpu
Definition: module.h:149
GLenum GLsizei len
Definition: glext.h:6722

Referenced by add_dirent_to_buf(), Ext2QueryDirectory(), ext3_check_dir_entry(), ext3_delete_entry(), ext3_is_dir_empty(), ext3_next_entry(), and search_dirblock().

◆ ext3_rec_len_to_disk()

static __le16 ext3_rec_len_to_disk ( unsigned  len)
inlinestatic

Definition at line 880 of file ext3_fs.h.

881 {
882  if (len == (1 << 16))
884  else if (len > (1 << 16))
885  BUG();
886  return cpu_to_le16(len);
887 }
#define EXT3_MAX_REC_LEN
Definition: ext3_fs.h:869
GLenum GLsizei len
Definition: glext.h:6722
#define BUG()
Definition: types.h:115
#define cpu_to_le16
Definition: module.h:148

Referenced by add_dirent_to_buf(), ext3_add_entry(), and ext3_delete_entry().

Variable Documentation

◆ edp_data

char edp_data[0]

Definition at line 513 of file ext3_fs.h.

◆ edp_len

char edp_len

Definition at line 512 of file ext3_fs.h.

◆ edp_magic

__u32 edp_magic

Definition at line 511 of file ext3_fs.h.