|
PatchworkOS
966e257
A non-POSIX operating system.
|
Superblock structure. More...
#include <superblock.h>
Data Fields | |
| ref_t | ref |
| list_entry_t | entry |
| superblock_id_t | id |
| uint64_t | blockSize |
| uint64_t | maxFileSize |
| void * | private |
| dentry_t * | root |
| const superblock_ops_t * | ops |
| const dentry_ops_t * | dentryOps |
| filesystem_t * | fs |
| char | deviceName [MAX_NAME] |
| atomic_uint64_t | mountCount |
Superblock structure.
Superblocks are owned by the VFS, not the filesystem.
Definition at line 43 of file superblock.h.
| ref_t superblock_t::ref |
Definition at line 45 of file superblock.h.
| list_entry_t superblock_t::entry |
Definition at line 46 of file superblock.h.
| superblock_id_t superblock_t::id |
Definition at line 47 of file superblock.h.
| uint64_t superblock_t::blockSize |
Definition at line 48 of file superblock.h.
| uint64_t superblock_t::maxFileSize |
Definition at line 49 of file superblock.h.
| void* superblock_t::private |
Definition at line 50 of file superblock.h.
| dentry_t* superblock_t::root |
Definition at line 51 of file superblock.h.
| const superblock_ops_t* superblock_t::ops |
Definition at line 52 of file superblock.h.
| const dentry_ops_t* superblock_t::dentryOps |
Definition at line 53 of file superblock.h.
| filesystem_t* superblock_t::fs |
Definition at line 54 of file superblock.h.
| char superblock_t::deviceName[MAX_NAME] |
Definition at line 55 of file superblock.h.
| atomic_uint64_t superblock_t::mountCount |
The number of mounts of this superblock.
Note that this does need to be separate from the reference count as a superblock is referenced by mounts, but it can also be referenced by other things like open files.
Definition at line 62 of file superblock.h.