|
PatchworkOS
966e257
A non-POSIX operating system.
|
Inode structure. More...
#include <inode.h>
Public Member Functions | |
| _Atomic (uint64_t) dentryCount | |
| The number of dentries pointing to this inode. | |
Data Fields | |
| ref_t | ref |
| inode_number_t | number |
| Constant after creation. | |
| inode_type_t | type |
| Constant after creation. | |
| inode_flags_t | flags |
| uint64_t | size |
| uint64_t | blocks |
| time_t | accessTime |
| Unix time stamp for the last inode access. | |
| time_t | modifyTime |
| Unix time stamp for last file content alteration. | |
| time_t | changeTime |
| Unix time stamp for the last file metadata alteration. | |
| time_t | createTime |
| Unix time stamp for the inode creation. | |
| void * | private |
| superblock_t * | superblock |
| Constant after creation. | |
| const inode_ops_t * | ops |
| Constant after creation. | |
| const file_ops_t * | fileOps |
| Constant after creation. | |
| mutex_t | mutex |
Inode structure.
Inodes are owned by the filesystem, not the VFS.
| inode_t::_Atomic | ( | uint64_t | ) |
The number of dentries pointing to this inode.
| inode_number_t inode_t::number |
| inode_type_t inode_t::type |
| inode_flags_t inode_t::flags |
| time_t inode_t::accessTime |
| time_t inode_t::modifyTime |
| time_t inode_t::changeTime |
| time_t inode_t::createTime |
| superblock_t* inode_t::superblock |
| const inode_ops_t* inode_t::ops |
| const file_ops_t* inode_t::fileOps |