|
#define | E2FSBLK "%lu" |
|
#define | rsv_start rsv_window._rsv_start |
|
#define | rsv_end rsv_window._rsv_end |
|
#define | EXT2_DEFAULT_RESERVE_BLOCKS 8 |
|
#define | EXT2_MAX_RESERVE_BLOCKS 1027 |
|
#define | EXT2_RESERVE_WINDOW_NOT_ALLOCATED 0 |
|
#define | EXT2FS_DATE "95/08/09" |
|
#define | EXT2FS_VERSION "0.5b" |
|
#define | ext2_debug(f, a...) |
|
#define | EXT2_BAD_INO 1 /* Bad blocks inode */ |
|
#define | EXT2_ROOT_INO 2 /* Root inode */ |
|
#define | EXT2_BOOT_LOADER_INO 5 /* Boot loader inode */ |
|
#define | EXT2_UNDEL_DIR_INO 6 /* Undelete directory inode */ |
|
#define | EXT2_GOOD_OLD_FIRST_INO 11 |
|
#define | EXT2_MIN_BLOCK_SIZE 1024 |
|
#define | EXT2_MAX_BLOCK_SIZE 4096 |
|
#define | EXT2_MIN_BLOCK_LOG_SIZE 10 |
|
#define | EXT2_BLOCK_SIZE(s) ((s)->s_blocksize) |
|
#define | EXT2_ADDR_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (__u32)) |
|
#define | EXT2_BLOCK_SIZE_BITS(s) ((s)->s_blocksize_bits) |
|
#define | EXT2_ADDR_PER_BLOCK_BITS(s) (EXT2_SB(s)->s_addr_per_block_bits) |
|
#define | EXT2_INODE_SIZE(s) (EXT2_SB(s)->s_inode_size) |
|
#define | EXT2_FIRST_INO(s) (EXT2_SB(s)->s_first_ino) |
|
#define | EXT2_MIN_FRAG_SIZE 1024 |
|
#define | EXT2_MAX_FRAG_SIZE 4096 |
|
#define | EXT2_MIN_FRAG_LOG_SIZE 10 |
|
#define | EXT2_FRAG_SIZE(s) (EXT2_SB(s)->s_frag_size) |
|
#define | EXT2_FRAGS_PER_BLOCK(s) (EXT2_SB(s)->s_frags_per_block) |
|
#define | EXT2_BLOCKS_PER_GROUP(s) (EXT2_SB(s)->s_blocks_per_group) |
|
#define | EXT2_DESC_PER_BLOCK(s) (EXT2_SB(s)->s_desc_per_block) |
|
#define | EXT2_INODES_PER_GROUP(s) (EXT2_SB(s)->s_inodes_per_group) |
|
#define | EXT2_DESC_PER_BLOCK_BITS(s) (EXT2_SB(s)->s_desc_per_block_bits) |
|
#define | EXT2_NDIR_BLOCKS 12 |
|
#define | EXT2_IND_BLOCK EXT2_NDIR_BLOCKS |
|
#define | EXT2_DIND_BLOCK (EXT2_IND_BLOCK + 1) |
|
#define | EXT2_TIND_BLOCK (EXT2_DIND_BLOCK + 1) |
|
#define | EXT2_N_BLOCKS (EXT2_TIND_BLOCK + 1) |
|
#define | EXT2_SECRM_FL FS_SECRM_FL /* Secure deletion */ |
|
#define | EXT2_UNRM_FL FS_UNRM_FL /* Undelete */ |
|
#define | EXT2_COMPR_FL FS_COMPR_FL /* Compress file */ |
|
#define | EXT2_SYNC_FL FS_SYNC_FL /* Synchronous updates */ |
|
#define | EXT2_IMMUTABLE_FL FS_IMMUTABLE_FL /* Immutable file */ |
|
#define | EXT2_APPEND_FL FS_APPEND_FL /* writes to file may only append */ |
|
#define | EXT2_NODUMP_FL FS_NODUMP_FL /* do not dump file */ |
|
#define | EXT2_NOATIME_FL FS_NOATIME_FL /* do not update atime */ |
|
#define | EXT2_DIRTY_FL FS_DIRTY_FL |
|
#define | EXT2_COMPRBLK_FL FS_COMPRBLK_FL /* One or more compressed clusters */ |
|
#define | EXT2_NOCOMP_FL FS_NOCOMP_FL /* Don't compress */ |
|
#define | EXT2_ECOMPR_FL FS_ECOMPR_FL /* Compression error */ |
|
#define | EXT2_BTREE_FL FS_BTREE_FL /* btree format dir */ |
|
#define | EXT2_INDEX_FL FS_INDEX_FL /* hash-indexed directory */ |
|
#define | EXT2_IMAGIC_FL FS_IMAGIC_FL /* AFS directory */ |
|
#define | EXT2_JOURNAL_DATA_FL FS_JOURNAL_DATA_FL /* Reserved for ext3 */ |
|
#define | EXT2_NOTAIL_FL FS_NOTAIL_FL /* file tail should not be merged */ |
|
#define | EXT2_DIRSYNC_FL FS_DIRSYNC_FL /* dirsync behaviour (directories only) */ |
|
#define | EXT2_TOPDIR_FL FS_TOPDIR_FL /* Top of directory hierarchies*/ |
|
#define | EXT2_RESERVED_FL FS_RESERVED_FL /* reserved for ext2 lib */ |
|
#define | EXT2_FL_USER_VISIBLE FS_FL_USER_VISIBLE /* User visible flags */ |
|
#define | EXT2_FL_USER_MODIFIABLE FS_FL_USER_MODIFIABLE /* User modifiable flags */ |
|
#define | EXT2_FL_INHERITED |
|
#define | EXT2_REG_FLMASK (~(EXT2_DIRSYNC_FL | EXT2_TOPDIR_FL)) |
|
#define | EXT2_OTHER_FLMASK (EXT2_NODUMP_FL | EXT2_NOATIME_FL) |
|
#define | EXT2_IOC_GETFLAGS FS_IOC_GETFLAGS |
|
#define | EXT2_IOC_SETFLAGS FS_IOC_SETFLAGS |
|
#define | EXT2_IOC_GETVERSION FS_IOC_GETVERSION |
|
#define | EXT2_IOC_SETVERSION FS_IOC_SETVERSION |
|
#define | EXT2_IOC_GETRSVSZ _IOR('f', 5, long) |
|
#define | EXT2_IOC_SETRSVSZ _IOW('f', 6, long) |
|
#define | EXT2_IOC32_GETFLAGS FS_IOC32_GETFLAGS |
|
#define | EXT2_IOC32_SETFLAGS FS_IOC32_SETFLAGS |
|
#define | EXT2_IOC32_GETVERSION FS_IOC32_GETVERSION |
|
#define | EXT2_IOC32_SETVERSION FS_IOC32_SETVERSION |
|
#define | i_size_high i_dir_acl |
|
#define | i_reserved1 osd1.linux1.l_i_reserved1 |
|
#define | i_frag osd2.linux2.l_i_frag |
|
#define | i_fsize osd2.linux2.l_i_fsize |
|
#define | i_uid_low i_uid |
|
#define | i_gid_low i_gid |
|
#define | i_uid_high osd2.linux2.l_i_uid_high |
|
#define | i_gid_high osd2.linux2.l_i_gid_high |
|
#define | i_reserved2 osd2.linux2.l_i_reserved2 |
|
#define | EXT2_VALID_FS 0x0001 /* Unmounted cleanly */ |
|
#define | EXT2_ERROR_FS 0x0002 /* Errors detected */ |
|
#define | EXT2_MOUNT_CHECK 0x000001 /* Do mount-time checks */ |
|
#define | EXT2_MOUNT_OLDALLOC 0x000002 /* Don't use the new Orlov allocator */ |
|
#define | EXT2_MOUNT_GRPID 0x000004 /* Create files with directory's group */ |
|
#define | EXT2_MOUNT_DEBUG 0x000008 /* Some debugging messages */ |
|
#define | EXT2_MOUNT_ERRORS_CONT 0x000010 /* Continue on errors */ |
|
#define | EXT2_MOUNT_ERRORS_RO 0x000020 /* Remount fs ro on errors */ |
|
#define | EXT2_MOUNT_ERRORS_PANIC 0x000040 /* Panic on errors */ |
|
#define | EXT2_MOUNT_MINIX_DF 0x000080 /* Mimics the Minix statfs */ |
|
#define | EXT2_MOUNT_NOBH 0x000100 /* No buffer_heads */ |
|
#define | EXT2_MOUNT_NO_UID32 0x000200 /* Disable 32-bit UIDs */ |
|
#define | EXT2_MOUNT_XATTR_USER 0x004000 /* Extended user attributes */ |
|
#define | EXT2_MOUNT_POSIX_ACL 0x008000 /* POSIX Access Control Lists */ |
|
#define | EXT2_MOUNT_XIP 0x010000 /* Execute in place */ |
|
#define | EXT2_MOUNT_USRQUOTA 0x020000 /* user quota */ |
|
#define | EXT2_MOUNT_GRPQUOTA 0x040000 /* group quota */ |
|
#define | EXT2_MOUNT_RESERVATION 0x080000 /* Preallocation */ |
|
#define | clear_opt(o, opt) o &= ~EXT2_MOUNT_##opt |
|
#define | set_opt(o, opt) o |= EXT2_MOUNT_##opt |
|
#define | test_opt(sb, opt) |
|
#define | EXT2_DFL_MAX_MNT_COUNT 20 /* Allow 20 mounts */ |
|
#define | EXT2_DFL_CHECKINTERVAL 0 /* Don't use interval check */ |
|
#define | EXT2_ERRORS_CONTINUE 1 /* Continue execution */ |
|
#define | EXT2_ERRORS_RO 2 /* Remount fs read-only */ |
|
#define | EXT2_ERRORS_PANIC 3 /* Panic */ |
|
#define | EXT2_ERRORS_DEFAULT EXT2_ERRORS_CONTINUE |
|
#define | EXT2_OS_LINUX 0 |
|
#define | EXT2_OS_HURD 1 |
|
#define | EXT2_OS_MASIX 2 |
|
#define | EXT2_OS_FREEBSD 3 |
|
#define | EXT2_OS_LITES 4 |
|
#define | EXT2_GOOD_OLD_REV 0 /* The good old (original) format */ |
|
#define | EXT2_DYNAMIC_REV 1 /* V2 format w/ dynamic inode sizes */ |
|
#define | EXT2_CURRENT_REV EXT2_GOOD_OLD_REV |
|
#define | EXT2_MAX_SUPP_REV EXT2_DYNAMIC_REV |
|
#define | EXT2_GOOD_OLD_INODE_SIZE 128 |
|
#define | EXT2_HAS_COMPAT_FEATURE(sb, mask) ( EXT2_SB(sb)->s_es->s_feature_compat & cpu_to_le32(mask) ) |
|
#define | EXT2_HAS_RO_COMPAT_FEATURE(sb, mask) ( EXT2_SB(sb)->s_es->s_feature_ro_compat & cpu_to_le32(mask) ) |
|
#define | EXT2_HAS_INCOMPAT_FEATURE(sb, mask) ( EXT2_SB(sb)->s_es->s_feature_incompat & cpu_to_le32(mask) ) |
|
#define | EXT2_SET_COMPAT_FEATURE(sb, mask) EXT2_SB(sb)->s_es->s_feature_compat |= cpu_to_le32(mask) |
|
#define | EXT2_SET_RO_COMPAT_FEATURE(sb, mask) EXT2_SB(sb)->s_es->s_feature_ro_compat |= cpu_to_le32(mask) |
|
#define | EXT2_SET_INCOMPAT_FEATURE(sb, mask) EXT2_SB(sb)->s_es->s_feature_incompat |= cpu_to_le32(mask) |
|
#define | EXT2_CLEAR_COMPAT_FEATURE(sb, mask) EXT2_SB(sb)->s_es->s_feature_compat &= ~cpu_to_le32(mask) |
|
#define | EXT2_CLEAR_RO_COMPAT_FEATURE(sb, mask) EXT2_SB(sb)->s_es->s_feature_ro_compat &= ~cpu_to_le32(mask) |
|
#define | EXT2_CLEAR_INCOMPAT_FEATURE(sb, mask) EXT2_SB(sb)->s_es->s_feature_incompat &= ~cpu_to_le32(mask) |
|
#define | EXT2_FEATURE_COMPAT_DIR_PREALLOC 0x0001 |
|
#define | EXT2_FEATURE_COMPAT_IMAGIC_INODES 0x0002 |
|
#define | EXT3_FEATURE_COMPAT_HAS_JOURNAL 0x0004 |
|
#define | EXT2_FEATURE_COMPAT_EXT_ATTR 0x0008 |
|
#define | EXT2_FEATURE_COMPAT_RESIZE_INO 0x0010 |
|
#define | EXT2_FEATURE_COMPAT_DIR_INDEX 0x0020 |
|
#define | EXT2_FEATURE_COMPAT_ANY 0xffffffff |
|
#define | EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER 0x0001 |
|
#define | EXT2_FEATURE_RO_COMPAT_LARGE_FILE 0x0002 |
|
#define | EXT2_FEATURE_RO_COMPAT_BTREE_DIR 0x0004 |
|
#define | EXT2_FEATURE_RO_COMPAT_ANY 0xffffffff |
|
#define | EXT2_FEATURE_INCOMPAT_COMPRESSION 0x0001 |
|
#define | EXT2_FEATURE_INCOMPAT_FILETYPE 0x0002 |
|
#define | EXT3_FEATURE_INCOMPAT_RECOVER 0x0004 |
|
#define | EXT3_FEATURE_INCOMPAT_JOURNAL_DEV 0x0008 |
|
#define | EXT2_FEATURE_INCOMPAT_META_BG 0x0010 |
|
#define | EXT2_FEATURE_INCOMPAT_ANY 0xffffffff |
|
#define | EXT2_FEATURE_COMPAT_SUPP EXT2_FEATURE_COMPAT_EXT_ATTR |
|
#define | EXT2_FEATURE_INCOMPAT_SUPP |
|
#define | EXT2_FEATURE_RO_COMPAT_SUPP |
|
#define | EXT2_FEATURE_RO_COMPAT_UNSUPPORTED ~EXT2_FEATURE_RO_COMPAT_SUPP |
|
#define | EXT2_FEATURE_INCOMPAT_UNSUPPORTED ~EXT2_FEATURE_INCOMPAT_SUPP |
|
#define | EXT2_DEF_RESUID 0 |
|
#define | EXT2_DEF_RESGID 0 |
|
#define | EXT2_DEFM_DEBUG 0x0001 |
|
#define | EXT2_DEFM_BSDGROUPS 0x0002 |
|
#define | EXT2_DEFM_XATTR_USER 0x0004 |
|
#define | EXT2_DEFM_ACL 0x0008 |
|
#define | EXT2_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 | EXT2_DIR_PAD 4 |
|
#define | EXT2_DIR_ROUND (EXT2_DIR_PAD - 1) |
|
#define | EXT2_DIR_REC_LEN(name_len) |
|
#define | EXT2_MAX_REC_LEN ((1<<16)-1) |
|
#define | A(x, y) BUILD_BUG_ON(x != offsetof(struct ext2_super_block, y)); |
|
#define | EXT2_STATE_NEW 0x00000001 /* inode is newly created */ |
|
#define | ext2_set_bit __test_and_set_bit_le |
|
#define | ext2_clear_bit __test_and_clear_bit_le |
|
#define | ext2_test_bit test_bit_le |
|
#define | ext2_find_first_zero_bit find_first_zero_bit_le |
|
#define | ext2_find_next_zero_bit find_next_zero_bit_le |
|
|
int | ext2_bg_has_super (struct super_block *sb, int group) |
|
unsigned long | ext2_bg_num_gdb (struct super_block *sb, int group) |
|
ext2_fsblk_t | ext2_new_block (struct inode *, unsigned long, int *) |
|
ext2_fsblk_t | ext2_new_blocks (struct inode *, unsigned long, unsigned long *, int *) |
|
void | ext2_free_blocks (struct inode *, unsigned long, unsigned long) |
|
unsigned long | ext2_count_free_blocks (struct super_block *) |
|
unsigned long | ext2_count_dirs (struct super_block *) |
|
void | ext2_check_blocks_bitmap (struct super_block *) |
|
struct ext2_group_desc * | ext2_get_group_desc (struct super_block *sb, unsigned int block_group, struct buffer_head **bh) |
|
void | ext2_discard_reservation (struct inode *) |
|
int | ext2_should_retry_alloc (struct super_block *sb, int *retries) |
|
void | ext2_init_block_alloc_info (struct inode *) |
|
void | ext2_rsv_window_add (struct super_block *sb, struct ext2_reserve_window_node *rsv) |
|
int | ext2_add_link (struct dentry *, struct inode *) |
|
ino_t | ext2_inode_by_name (struct inode *, struct qstr *) |
|
int | ext2_make_empty (struct inode *, struct inode *) |
|
struct ext2_dir_entry_2 * | ext2_find_entry (struct inode *, struct qstr *, struct page **) |
|
int | ext2_delete_entry (struct ext2_dir_entry_2 *, struct page *) |
|
int | ext2_empty_dir (struct inode *) |
|
struct ext2_dir_entry_2 * | ext2_dotdot (struct inode *, struct page **) |
|
void | ext2_set_link (struct inode *, struct ext2_dir_entry_2 *, struct page *, struct inode *, int) |
|
struct inode * | ext2_new_inode (struct inode *, umode_t, const struct qstr *) |
|
void | ext2_free_inode (struct inode *) |
|
unsigned long | ext2_count_free_inodes (struct super_block *) |
|
void | ext2_check_inodes_bitmap (struct super_block *) |
|
unsigned long | ext2_count_free (struct buffer_head *, unsigned) |
|
struct inode * | ext2_iget (struct super_block *, unsigned long) |
|
int | ext2_write_inode (struct inode *, struct writeback_control *) |
|
void | ext2_evict_inode (struct inode *) |
|
int | ext2_get_block (struct inode *, sector_t, struct buffer_head *, int) |
|
int | ext2_setattr (struct dentry *, struct iattr *) |
|
void | ext2_set_inode_flags (struct inode *inode) |
|
void | ext2_get_inode_flags (struct ext2_inode_info *) |
|
int | ext2_fiemap (struct inode *inode, struct fiemap_extent_info *fieinfo, u64 start, u64 len) |
|
long | ext2_ioctl (struct file *, unsigned int, unsigned long) |
|
long | ext2_compat_ioctl (struct file *, unsigned int, unsigned long) |
|
struct dentry * | ext2_get_parent (struct dentry *child) |
|
| __printf (3, 4) void ext2_error(struct super_block * |
|
const char const char const
char const char void | ext2_update_dynamic_rev (struct super_block *sb) |
|
void | ext2_write_super (struct super_block *) |
|
int | ext2_fsync (struct file *file, loff_t start, loff_t end, int datasync) |
|