ReactOS 0.4.16-dev-303-g11d5cb8
|
Go to the source code of this file.
Classes | |
struct | _GUID |
struct | _ext2fs_bitmap |
struct | ext2_struct_badblocks_list |
struct | _ext2_filesys |
struct | _EXT2_BDL |
#define ext2_mark_block_bitmap ext2_mark_bitmap |
#define ext2_mark_inode_bitmap ext2_mark_bitmap |
#define ext2_unmark_block_bitmap ext2_unmark_bitmap |
#define ext2_unmark_inode_bitmap ext2_unmark_bitmap |
#define LINUX_S_ISBLK | ( | m | ) | (((m) & LINUX_S_IFMT) == LINUX_S_IFBLK) |
#define LINUX_S_ISCHR | ( | m | ) | (((m) & LINUX_S_IFMT) == LINUX_S_IFCHR) |
#define LINUX_S_ISDIR | ( | m | ) | (((m) & LINUX_S_IFMT) == LINUX_S_IFDIR) |
#define LINUX_S_ISFIFO | ( | m | ) | (((m) & LINUX_S_IFMT) == LINUX_S_IFIFO) |
#define LINUX_S_ISLNK | ( | m | ) | (((m) & LINUX_S_IFMT) == LINUX_S_IFLNK) |
#define LINUX_S_ISREG | ( | m | ) | (((m) & LINUX_S_IFMT) == LINUX_S_IFREG) |
#define LINUX_S_ISSOCK | ( | m | ) | (((m) & LINUX_S_IFMT) == LINUX_S_IFSOCK) |
typedef struct ext2_acl_entry EXT2_ACL_ENTRY |
typedef struct ext2_acl_header EXT2_ACL_HEADER |
typedef struct _ext2fs_bitmap EXT2_BITMAP |
typedef EXT2_BITMAP EXT2_BLOCK_BITMAP |
typedef struct ext2_dir_entry EXT2_DIR_ENTRY |
typedef struct ext2_dir_entry_2 EXT2_DIR_ENTRY2 |
typedef struct ext2_dx_countlimit EXT2_DX_CL |
typedef struct ext2_dx_entry EXT2_DX_ENTRY |
typedef struct ext2_dx_root_info EXT2_DX_RI |
typedef struct _ext2_filesys EXT2_FILESYS |
typedef EXT2_BITMAP EXT2_GENERIC_BITMAP |
typedef struct ext2_group_desc EXT2_GROUP_DESC |
typedef struct ext2_inode EXT2_INODE |
typedef EXT2_BITMAP EXT2_INODE_BITMAP |
typedef struct ext2_super_block EXT2_SUPER_BLOCK |
typedef struct ext2_acl_entry * PEXT2_ACL_ENTRY |
typedef struct ext2_acl_header * PEXT2_ACL_HEADER |
typedef struct _ext2fs_bitmap * PEXT2_BITMAP |
typedef EXT2_BITMAP * PEXT2_BLOCK_BITMAP |
typedef struct ext2_dir_entry * PEXT2_DIR_ENTRY |
typedef struct ext2_dir_entry_2 * PEXT2_DIR_ENTRY2 |
typedef struct ext2_dx_countlimit * PEXT2_DX_CL |
typedef struct ext2_dx_entry * PEXT2_DX_ENTRY |
typedef struct ext2_dx_root_info * PEXT2_DX_RI |
typedef struct _ext2_filesys * PEXT2_FILESYS |
typedef EXT2_BITMAP * PEXT2_GENERIC_BITMAP |
typedef struct ext2_group_desc * PEXT2_GROUP_DESC |
typedef struct ext2_inode * PEXT2_INODE |
typedef EXT2_BITMAP * PEXT2_INODE_BITMAP |
typedef struct ext2_super_block * PEXT2_SUPER_BLOCK |
bool create_bad_block_inode | ( | PEXT2_FILESYS | fs, |
PEXT2_BADBLK_LIST | bb_list | ||
) |
Definition at line 16 of file Badblock.c.
Referenced by Ext2Format().
bool ext2_add_entry | ( | PEXT2_FILESYS | pExt2Sys, |
ULONG | parent, | ||
ULONG | inode, | ||
int | filetype, | ||
char * | name | ||
) |
Definition at line 619 of file Inode.c.
Referenced by ext2_mkdir().
bool ext2_alloc_block | ( | PEXT2_FILESYS | fs, |
ULONG | goal, | ||
ULONG * | ret | ||
) |
Definition at line 293 of file Memory.c.
Referenced by create_lost_and_found(), ext2_expand_block(), ext2_expand_inode(), and ext2_write_inode().
bool ext2_allocate_block_bitmap | ( | PEXT2_FILESYS | pExt2Sys | ) |
Definition at line 100 of file Bitmap.c.
Referenced by ext2_initialize_sb(), and read_bitmaps().
bool ext2_allocate_group_desc | ( | PEXT2_FILESYS | pExt2Sys | ) |
Definition at line 43 of file Group.c.
Referenced by ext2_initialize_sb().
bool ext2_allocate_group_table | ( | PEXT2_FILESYS | fs, |
ULONG | group, | ||
PEXT2_BLOCK_BITMAP | bmap | ||
) |
Definition at line 92 of file Memory.c.
Referenced by ext2_allocate_tables().
bool ext2_allocate_inode_bitmap | ( | PEXT2_FILESYS | pExt2Sys | ) |
Definition at line 140 of file Bitmap.c.
Referenced by ext2_initialize_sb(), and read_bitmaps().
bool ext2_allocate_tables | ( | PEXT2_FILESYS | pExt2Sys | ) |
Definition at line 75 of file Memory.c.
Referenced by Ext2Format().
bool ext2_bg_has_super | ( | PEXT2_SUPER_BLOCK | pExt2Sb, |
int | group_block | ||
) |
Definition at line 30 of file Group.c.
Referenced by ext2_flush(), and ext2_initialize_sb().
void ext2_block_alloc_stats | ( | PEXT2_FILESYS | fs, |
ULONG | blk, | ||
int | inuse | ||
) |
Definition at line 61 of file Memory.c.
Referenced by ext2_alloc_block(), and ext2_mkdir().
Definition at line 30 of file Bitmap.c.
Referenced by ext2_unmark_bitmap().
bool ext2_expand_inode | ( | PEXT2_FILESYS | pExt2Sys, |
PEXT2_INODE | Inode, | ||
ULONG | newBlk | ||
) |
Definition at line 212 of file Inode.c.
Referenced by create_lost_and_found(), and ext2_write_inode().
void ext2_free_block_bitmap | ( | PEXT2_FILESYS | pExt2Sys | ) |
Definition at line 205 of file Bitmap.c.
Referenced by ext2_initialize_sb(), Ext2Format(), and read_bitmaps().
void ext2_free_group_desc | ( | PEXT2_FILESYS | pExt2Sys | ) |
Definition at line 61 of file Group.c.
Referenced by ext2_initialize_sb(), and Ext2Format().
void ext2_free_inode_bitmap | ( | PEXT2_FILESYS | pExt2Sys | ) |
Definition at line 194 of file Bitmap.c.
Referenced by ext2_initialize_sb(), Ext2Format(), and read_bitmaps().
bool ext2_get_free_blocks | ( | PEXT2_FILESYS | fs, |
ULONG | start, | ||
ULONG | finish, | ||
int | num, | ||
PEXT2_BLOCK_BITMAP | map, | ||
ULONG * | ret | ||
) |
Definition at line 182 of file Memory.c.
Referenced by ext2_allocate_group_table().
bool ext2_get_inode_lba | ( | PEXT2_FILESYS | pExt2Sys, |
ULONG | no, | ||
LONGLONG * | offset | ||
) |
Definition at line 20 of file Inode.c.
Referenced by ext2_load_inode(), and ext2_save_inode().
int ext2_group_of_blk | ( | PEXT2_FILESYS | fs, |
ULONG | blk | ||
) |
int ext2_group_of_ino | ( | PEXT2_FILESYS | fs, |
ULONG | ino | ||
) |
Definition at line 23 of file Memory.c.
Referenced by ext2_inode_alloc_stats2(), and ext2_reserve_inodes().
bool ext2_initialize_sb | ( | PEXT2_FILESYS | pExt2Sys | ) |
Definition at line 74 of file Super.c.
Referenced by Ext2Format().
void ext2_inode_alloc_stats | ( | PEXT2_FILESYS | fs, |
ULONG | ino, | ||
int | inuse | ||
) |
Definition at line 56 of file Memory.c.
void ext2_inode_alloc_stats2 | ( | PEXT2_FILESYS | fs, |
ULONG | ino, | ||
int | inuse, | ||
int | isdir | ||
) |
Definition at line 37 of file Memory.c.
Referenced by ext2_inode_alloc_stats(), and ext2_mkdir().
bool ext2_load_inode | ( | PEXT2_FILESYS | pExt2Sys, |
ULONG | no, | ||
PEXT2_INODE | pInode | ||
) |
Definition at line 41 of file Inode.c.
Referenced by ext2_add_entry(), ext2_mkdir(), ext2_read_inode(), and ext2_write_inode().
bool ext2_mark_bitmap | ( | PEXT2_BITMAP | bitmap, |
ULONG | bitno | ||
) |
Definition at line 52 of file Bitmap.c.
Referenced by ext2_initialize_sb().
bool ext2_new_block | ( | PEXT2_FILESYS | fs, |
ULONG | goal, | ||
PEXT2_BLOCK_BITMAP | map, | ||
ULONG * | ret | ||
) |
Definition at line 254 of file Memory.c.
Referenced by ext2_alloc_block(), and ext2_mkdir().
bool ext2_new_dir_block | ( | PEXT2_FILESYS | fs, |
ULONG | dir_ino, | ||
ULONG | parent_ino, | ||
char ** | block | ||
) |
Definition at line 349 of file Memory.c.
Referenced by ext2_mkdir().
bool ext2_new_inode | ( | PEXT2_FILESYS | fs, |
ULONG | dir, | ||
int | mode, | ||
PEXT2_INODE_BITMAP | map, | ||
ULONG * | ret | ||
) |
Definition at line 84 of file Inode.c.
Referenced by ext2_mkdir().
void ext2_print_super | ( | PEXT2_SUPER_BLOCK | pExt2Sb | ) |
Definition at line 20 of file Super.c.
Referenced by Ext2Format().
bool ext2_read_bitmaps | ( | PEXT2_FILESYS | fs | ) |
bool ext2_read_block | ( | PEXT2_FILESYS | fs, |
ULONG | block, | ||
void * | inbuf | ||
) |
Definition at line 406 of file Memory.c.
Referenced by ext2_expand_block(), and ext2_get_block().
bool ext2_read_block_bitmap | ( | PEXT2_FILESYS | fs | ) |
Definition at line 487 of file Bitmap.c.
Referenced by ext2_alloc_block().
bool ext2_read_inode | ( | PEXT2_FILESYS | pExt2Sys, |
ULONG | ino, | ||
ULONG | offset, | ||
PVOID | Buffer, | ||
ULONG | size, | ||
PULONG | dwReturn | ||
) |
Definition at line 494 of file Inode.c.
Referenced by ext2_add_entry().
bool ext2_read_inode_bitmap | ( | PEXT2_FILESYS | fs | ) |
bool ext2_reserve_inodes | ( | PEXT2_FILESYS | fs | ) |
Definition at line 681 of file Inode.c.
Referenced by Ext2Format().
bool ext2_save_inode | ( | PEXT2_FILESYS | pExt2Sys, |
ULONG | no, | ||
PEXT2_INODE | pInode | ||
) |
Definition at line 59 of file Inode.c.
Referenced by create_bad_block_inode(), create_lost_and_found(), create_root_dir(), ext2_mkdir(), and ext2_write_inode().
Definition at line 18 of file Bitmap.c.
Referenced by ext2_mark_bitmap(), and ext2_write_block_bitmap().
Definition at line 41 of file Bitmap.c.
Referenced by ext2_test_block_bitmap(), and ext2_test_inode_bitmap().
bool ext2_test_block_bitmap | ( | PEXT2_BLOCK_BITMAP | bitmap, |
ULONG | block | ||
) |
Definition at line 73 of file Bitmap.c.
Referenced by ext2_new_block(), and ext2_test_block_bitmap_range().
bool ext2_test_block_bitmap_range | ( | PEXT2_BLOCK_BITMAP | bitmap, |
ULONG | block, | ||
int | num | ||
) |
bool ext2_test_inode_bitmap | ( | PEXT2_BLOCK_BITMAP | bitmap, |
ULONG | inode | ||
) |
Definition at line 93 of file Bitmap.c.
Referenced by ext2_new_inode().
bool ext2_unmark_bitmap | ( | PEXT2_BITMAP | bitmap, |
ULONG | bitno | ||
) |
bool ext2_write_bitmaps | ( | PEXT2_FILESYS | fs | ) |
Definition at line 342 of file Bitmap.c.
Referenced by ext2_flush().
bool ext2_write_block | ( | PEXT2_FILESYS | fs, |
ULONG | block, | ||
void * | inbuf | ||
) |
Definition at line 394 of file Memory.c.
Referenced by create_lost_and_found(), ext2_expand_block(), and ext2_mkdir().
bool ext2_write_block_bitmap | ( | PEXT2_FILESYS | fs | ) |
Definition at line 270 of file Bitmap.c.
Referenced by ext2_write_bitmaps().
bool ext2_write_inode | ( | PEXT2_FILESYS | pExt2Sys, |
ULONG | ino, | ||
ULONG | offset, | ||
PVOID | Buffer, | ||
ULONG | size, | ||
PULONG | dwReturn | ||
) |
Definition at line 541 of file Inode.c.
Referenced by ext2_add_entry().
bool ext2_write_inode_bitmap | ( | PEXT2_FILESYS | fs | ) |
Definition at line 216 of file Bitmap.c.
Referenced by ext2_write_bitmaps().
NTSTATUS Ext2CloseDevice | ( | PEXT2_FILESYS | Ext2Sys | ) |
Definition at line 1342 of file Disk.c.
Referenced by Ext2Format().
ULONG Ext2DataBlocks | ( | PEXT2_FILESYS | Ext2Sys, |
ULONG | TotalBlocks | ||
) |
Definition at line 698 of file Mke2fs.c.
Referenced by create_lost_and_found(), ext2_expand_inode(), and ext2_write_inode().
NTSTATUS Ext2DisMountVolume | ( | PEXT2_FILESYS | Ext2Sys | ) |
Definition at line 1260 of file Disk.c.
Referenced by Ext2Format().
NTSTATUS Ext2GetMediaInfo | ( | PEXT2_FILESYS | Ext2Sys | ) |
Definition at line 1162 of file Disk.c.
Referenced by Ext2Format().
NTSTATUS Ext2LockVolume | ( | PEXT2_FILESYS | Ext2Sys | ) |
Definition at line 1212 of file Disk.c.
NTSTATUS Ext2OpenDevice | ( | PEXT2_FILESYS | Ext2Sys, |
PUNICODE_STRING | DeviceName | ||
) |
Definition at line 1282 of file Disk.c.
Referenced by Ext2Format().
NTSTATUS Ext2ReadDisk | ( | PEXT2_FILESYS | Ext2Sys, |
ULONGLONG | Offset, | ||
ULONG | Length, | ||
PVOID | Buffer | ||
) |
Definition at line 964 of file Disk.c.
ULONG Ext2TotalBlocks | ( | PEXT2_FILESYS | Ext2Sys, |
ULONG | DataBlocks | ||
) |
Definition at line 750 of file Mke2fs.c.
Referenced by create_lost_and_found().
NTSTATUS Ext2UnLockVolume | ( | PEXT2_FILESYS | Ext2Sys | ) |
Definition at line 1237 of file Disk.c.
Referenced by Ext2Format().
NTSTATUS Ext2WriteDisk | ( | PEXT2_FILESYS | Ext2Sys, |
ULONGLONG | Offset, | ||
ULONG | Length, | ||
PVOID | Buffer | ||
) |
Definition at line 1059 of file Disk.c.
Referenced by create_journal_dev(), ext2_alloc_block(), ext2_flush(), ext2_save_inode(), ext2_write_block(), ext2_write_block_bitmap(), ext2_write_inode(), ext2_write_inode_bitmap(), write_primary_superblock(), zap_sector(), and zero_blocks().
bool parase_cmd | ( | int | argc, |
char * | argv[], | ||
PEXT2_FILESYS | pExt2Sys | ||
) |
Definition at line 17 of file Uuid.c.
Referenced by Ext2Format().
bool write_inode_tables | ( | PEXT2_FILESYS | fs | ) |
Definition at line 221 of file Memory.c.
Referenced by Ext2Format().
Definition at line 122 of file Mke2fs.c.
Referenced by create_journal_dev(), Ext2Format(), and write_inode_tables().