|
Data Structures |
| struct | ext2_acl_header |
| | < Header of Access Control Lists More...
|
| struct | ext2_acl_entry |
| | < Access Control List Entry More...
|
| struct | ext2_old_group_desc |
| struct | ext2_group_desc |
| struct | ext2_inode |
| struct | ext2_super_block |
| struct | ext2_dir_entry |
Defines |
| #define | DONT_USE_DCACHE |
| #define | EXT2_PREALLOCATE |
| #define | EXT2FS_DATE "94/03/10" |
| #define | EXT2FS_VERSION "0.5" |
| #define | ext2_debug(f, a...) |
| #define | EXT2_BAD_INO 1 |
| | Bad blocks inode.
|
| #define | EXT2_ROOT_INO 2 |
| | Root inode.
|
| #define | EXT2_ACL_IDX_INO 3 |
| | ACL inode.
|
| #define | EXT2_ACL_DATA_INO 4 |
| | ACL inode.
|
| #define | EXT2_BOOT_LOADER_INO 5 |
| | Boot loader inode.
|
| #define | EXT2_UNDEL_DIR_INO 6 |
| | Undelete directory inode.
|
| #define | EXT2_FIRST_INO 11 |
| | First non reserved inode.
|
| #define | EXT2_PRE_02B_MAGIC 0xEF51 |
| #define | EXT2_SUPER_MAGIC 0xEF53 |
| #define | EXT2_LINK_MAX 32000 |
| #define | EXT2_MIN_BLOCK_SIZE 1024 |
| #define | EXT2_MAX_BLOCK_SIZE 4096 |
| #define | EXT2_MIN_BLOCK_LOG_SIZE 10 |
| #define | EXT2_BLOCK_SIZE(s) (EXT2_MIN_BLOCK_SIZE << (s)->s_log_block_size) |
| #define | EXT2_ACLE_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (struct ext2_acl_entry)) |
| #define | EXT2_ADDR_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (unsigned long)) |
| #define | EXT2_BLOCK_SIZE_BITS(s) ((s)->s_log_block_size + 10) |
| #define | EXT2_INODES_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (struct ext2_inode)) |
| #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_MIN_FRAG_SIZE << (s)->s_log_frag_size) |
| #define | EXT2_FRAGS_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / EXT2_FRAG_SIZE(s)) |
| #define | EXT2_BLOCKS_PER_GROUP(s) ((s)->s_blocks_per_group) |
| #define | EXT2_DESC_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (struct ext2_group_desc)) |
| #define | EXT2_INODES_PER_GROUP(s) ((s)->s_inodes_per_group) |
| #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 0x0001 |
| | Secure deletion.
|
| #define | EXT2_UNRM_FL 0x0002 |
| | Undelete.
|
| #define | EXT2_COMPR_FL 0x0004 |
| | Compress file.
|
| #define | EXT2_SYNC_FL 0x0008 |
| | Synchronous updates.
|
| #define | EXT2_IOC_GETFLAGS _IOR('f', 1, long) |
| #define | EXT2_IOC_SETFLAGS _IOW('f', 2, long) |
| #define | EXT2_IOC_GETVERSION _IOR('v', 1, long) |
| #define | EXT2_IOC_SETVERSION _IOW('v', 2, long) |
| #define | EXT2_VALID_FS 0x0001 |
| | Unmounted cleany.
|
| #define | EXT2_ERROR_FS 0x0002 |
| | Errors detected.
|
| #define | EXT2_MOUNT_CHECK_NORMAL 0x0001 |
| | Do some more checks.
|
| #define | EXT2_MOUNT_CHECK_STRICT 0x0002 |
| | Do again more checks.
|
| #define | EXT2_MOUNT_CHECK |
| #define | EXT2_MOUNT_GRPID 0x0004 |
| | Create files with directory's group.
|
| #define | EXT2_MOUNT_DEBUG 0x0008 |
| | Some debugging messages.
|
| #define | EXT2_MOUNT_ERRORS_CONT 0x0010 |
| | Continue on errors.
|
| #define | EXT2_MOUNT_ERRORS_RO 0x0020 |
| | Remount fs ro on errors.
|
| #define | EXT2_MOUNT_ERRORS_PANIC 0x0040 |
| | Panic on errors.
|
| #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_NAME_LEN 255 |
| #define | EXT2_DIR_PAD 4 |
| #define | EXT2_DIR_ROUND (EXT2_DIR_PAD - 1) |
| #define | EXT2_DIR_REC_LEN(name_len) |