Data Structures |
| struct | mke2fs_defaults |
Defines |
| #define | ZAP_BOOTBLOCK |
| #define | STRIDE_LENGTH 8 |
| #define | BSD_DISKMAGIC (0x82564557UL) /* The disk magic number */ |
| #define | BSD_MAGICDISK (0x57455682UL) /* The disk magic number reversed */ |
| #define | BSD_LABEL_OFFSET 64 |
| #define | BLOCK_BITS (Ext2Sys->ext2_sb->s_log_block_size + 10) |
Functions |
| int | int_log2 (int arg) |
| int | int_log10 (unsigned int arg) |
| void | set_fs_defaults (const char *fs_type, PEXT2_SUPER_BLOCK super, int blocksize, int *inode_ratio) |
| bool | zero_blocks (PEXT2_FILESYS fs, ULONG blk, ULONG num, ULONG *ret_blk, ULONG *ret_count) |
| bool | zap_sector (PEXT2_FILESYS Ext2Sys, int sect, int nsect) |
| bool | ext2_mkdir (PEXT2_FILESYS fs, ULONG parent, ULONG inum, char *name, ULONG *no, PEXT2_INODE pid) |
| bool | create_root_dir (PEXT2_FILESYS fs) |
| bool | create_lost_and_found (PEXT2_FILESYS Ext2Sys) |
| bool | write_primary_superblock (PEXT2_FILESYS Ext2Sys, PEXT2_SUPER_BLOCK super) |
| void | ext2_update_dynamic_rev (PEXT2_FILESYS fs) |
| bool | ext2_flush (PEXT2_FILESYS fs) |
| bool | create_journal_dev (PEXT2_FILESYS fs) |
| ULONG | Ext2DataBlocks (PEXT2_FILESYS Ext2Sys, ULONG TotalBlocks) |
| ULONG | Ext2TotalBlocks (PEXT2_FILESYS Ext2Sys, ULONG DataBlocks) |
| NTSTATUS NTAPI | Ext2Format (IN PUNICODE_STRING DriveRoot, IN FMIFS_MEDIA_FLAG MediaFlag, IN PUNICODE_STRING Label, IN BOOLEAN QuickFormat, IN ULONG ClusterSize, IN PFMIFSCALLBACK Callback) |
| NTSTATUS WINAPI | Ext2Chkdsk (IN PUNICODE_STRING DriveRoot, IN BOOLEAN FixErrors, IN BOOLEAN Verbose, IN BOOLEAN CheckOnlyIfDirty, IN BOOLEAN ScanDrive, IN PFMIFSCALLBACK Callback) |
Variables |
| int | inode_ratio = 4096 |
| BOOLEAN | bLocked = FALSE |
| static char | default_str [] = "default" |
| struct mke2fs_defaults | settings [] |