|
AquilaOS documentation
How it works, and its code
|
A mounted ext2 filesystem. More...
#include <ext2.h>
Data Fields | |
| struct vnode * | supernode |
| struct ext2_superblock * | superblock |
| struct ext2_group * | groups |
| size_t | ngroups |
| number of block group descriptors | |
| size_t | bs |
| the block size | |
| size_t | inode_size |
| an inode's size on the disk (revision 0's, or the superblock's) | |
| int | filetype |
| directory entries have their file's type (EXT2_INCOMPAT_FILETYPE); without it, the byte is 0 | |
| struct vcache * | vcache |
| its vnodes in use, by inode number | |
| size_t ext2::bs |
the block size
Definition at line 177 of file ext2.h.
Referenced by block_tree(), dentry_update(), ext2_bgd_table_rewrite(), ext2_block_alloc(), ext2_block_free(), ext2_block_read(), ext2_block_write(), ext2_blocks_free(), ext2_dentry_create(), ext2_dentry_find(), ext2_indirect_block_get(), ext2_inode_alloc(), ext2_inode_block_alloc(), ext2_inode_block_read(), ext2_inode_free(), ext2_inode_off(), ext2_load(), ext2_read(), ext2_readdir(), ext2_trunc(), ext2_vmknod(), ext2_write(), free_tree(), and tree_span().
| int ext2::filetype |
directory entries have their file's type (EXT2_INCOMPAT_FILETYPE); without it, the byte is 0
Definition at line 184 of file ext2.h.
Referenced by ext2_dentry_create(), ext2_load(), and ext2_vmknod().
| struct ext2_group* ext2::groups |
Definition at line 171 of file ext2.h.
Referenced by ext2_bgd_table_rewrite(), ext2_block_alloc(), ext2_block_free(), ext2_inode_alloc(), ext2_inode_free(), ext2_inode_off(), ext2_load(), and ext2_vmknod().
| size_t ext2::inode_size |
an inode's size on the disk (revision 0's, or the superblock's)
Definition at line 180 of file ext2.h.
Referenced by ext2_inode_off(), and ext2_load().
| size_t ext2::ngroups |
number of block group descriptors
Definition at line 174 of file ext2.h.
Referenced by ext2_bgd_table_rewrite(), ext2_block_alloc(), ext2_inode_alloc(), and ext2_load().
| struct ext2_superblock* ext2::superblock |
Definition at line 170 of file ext2.h.
Referenced by ext2_block_alloc(), ext2_block_free(), ext2_inode_alloc(), ext2_inode_free(), ext2_inode_off(), ext2_load(), ext2_superblock_rewrite(), and ext2_vmknod().
| struct vnode* ext2::supernode |
Definition at line 169 of file ext2.h.
Referenced by ext2_io(), and ext2_load().
| struct vcache* ext2::vcache |
its vnodes in use, by inode number
Definition at line 187 of file ext2.h.
Referenced by ext2_close(), ext2_inode_build(), and ext2_load().