ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

Mke2fs.c File Reference
#include "Mke2fs.h"
#include <debug.h>

Go to the source code of this file.

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 []

Generated on Sat May 26 2012 06:03:37 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.