|
PatchworkOS
da8a090
A non-POSIX operating system.
|
Directory entry structure. More...
#include <dentry.h>
Public Member Functions | |
| _Atomic (dentry_flags_t) flags | |
| _Atomic (uint64_t) mountCount | |
| Number of mounts targeting this dentry. | |
Data Fields | |
| ref_t | ref |
| dentry_id_t | id |
| char | name [MAX_NAME] |
| Constant after creation. | |
| inode_t * | inode |
Will be NULL if the dentry is negative, once positive it will never be NULL. | |
| dentry_t * | parent |
| list_entry_t | siblingEntry |
| list_t | children |
| superblock_t * | superblock |
| const dentry_ops_t * | ops |
| void * | private |
| map_entry_t | mapEntry |
| list_entry_t | otherEntry |
| Made available for use by any other subsystems for convenience. | |
Directory entry structure.
A dentry structure is protected by the mutex of its inode.
| dentry_t::_Atomic | ( | dentry_flags_t | ) |
| dentry_t::_Atomic | ( | uint64_t | ) |
Number of mounts targeting this dentry.
| dentry_id_t dentry_t::id |
| inode_t* dentry_t::inode |
| list_entry_t dentry_t::siblingEntry |
| superblock_t* dentry_t::superblock |
| const dentry_ops_t* dentry_t::ops |
| map_entry_t dentry_t::mapEntry |
| list_entry_t dentry_t::otherEntry |