AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
ext2 Struct Reference

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

Detailed Description

A mounted ext2 filesystem.

Definition at line 168 of file ext2.h.

Field Documentation

◆ bs

◆ filetype

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().

◆ groups

◆ inode_size

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().

◆ ngroups

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().

◆ superblock

◆ supernode

struct vnode* ext2::supernode

Definition at line 169 of file ext2.h.

Referenced by ext2_io(), and ext2_load().

◆ vcache

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().


The documentation for this struct was generated from the following file: