ApertureOS
Data Structures | Macros | Enumerations
ext2_structs.h File Reference
#include "types.h"
Include dependency graph for ext2_structs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  EXT2_SuperBlock_Ext
 
struct  EXT2_SuperBlock
 
struct  EXT2_BlockGroupDescriptor
 
struct  EXT2_Inode
 
struct  EXT2_DriverData
 
struct  EXT2_DirectoryEntry
 

Macros

#define EXT2_SIG   0xEF53
 
#define ROOT_INODE_INDEX   0x2
 
#define GET_BLOCK_INDEX_FROM_INODE(inode_index, inodes_per_group)   ( (inode_index - 1)/inodes_per_group )
 
#define GET_BLOCK_INODE_INDEX_FROM_INODE(inode_index, inodes_per_group)   ( (inode_index - 1)%inodes_per_group )
 

Enumerations

enum  EXT2_INODE_EntryTypes { EXT2_INODE_FILE = 0x8, EXT2_INODE_DIR = 0x4 }
 
enum  EXT2_DIR_TABLE_EntryTypes { EXT2_DIRT_FILE = 1, EXT2_DIRT_DIR = 2 }
 

Macro Definition Documentation

#define EXT2_SIG   0xEF53
#define GET_BLOCK_INDEX_FROM_INODE (   inode_index,
  inodes_per_group 
)    ( (inode_index - 1)/inodes_per_group )
#define GET_BLOCK_INODE_INDEX_FROM_INODE (   inode_index,
  inodes_per_group 
)    ( (inode_index - 1)%inodes_per_group )
#define ROOT_INODE_INDEX   0x2

Enumeration Type Documentation

Enumerator
EXT2_DIRT_FILE 
EXT2_DIRT_DIR 
Enumerator
EXT2_INODE_FILE 
EXT2_INODE_DIR