|
PatchworkOS
|
#include <kernel/fs/path.h>#include <kernel/sync/mutex.h>#include <kernel/utils/map.h>#include <kernel/utils/ref.h>#include <stdatomic.h>#include <stdint.h>#include <sys/io.h>#include <sys/proc.h>#include <time.h>Go to the source code of this file.
Data Structures | |
| struct | inode_t |
| Inode structure. More... | |
| struct | inode_ops_t |
Typedefs | |
| typedef struct inode | inode_t |
| typedef struct inode_ops | inode_ops_t |
| typedef struct superblock | superblock_t |
| typedef struct file_ops | file_ops_t |
| typedef struct dentry | dentry_t |
Enumerations | |
| enum | inode_flags_t { INODE_NONE = 0 } |
| Inode flags. More... | |
Functions | |
| inode_t * | inode_new (superblock_t *superblock, inode_number_t number, inode_type_t type, const inode_ops_t *ops, const file_ops_t *fileOps) |
| Create a new inode. | |
| void | inode_notify_access (inode_t *inode) |
| Notify the inode that it has been accessed. | |
| void | inode_notify_modify (inode_t *inode) |
| Notify the inode that its content has been modified. | |
| void | inode_notify_change (inode_t *inode) |
| Notify the inode that its metadata has changed. | |
| void | inode_truncate (inode_t *inode) |
| Truncate the inode. | |
| typedef struct file_ops file_ops_t |
| typedef struct inode_ops inode_ops_t |
| typedef struct superblock superblock_t |