|
PatchworkOS
|
#include <kernel/fs/inode.h>#include <kernel/fs/vfs.h>#include <kernel/sched/thread.h>#include <kernel/sched/timer.h>#include <stdlib.h>Go to the source code of this file.
Functions | |
| static void | inode_free (inode_t *inode) |
| 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. | |
|
static |
Definition at line 9 of file inode.c.
References inode_ops_t::cleanup, DEREF, free(), superblock_ops_t::freeInode, NULL, inode_t::ops, superblock_t::ops, inode_t::superblock, and vfs_remove_inode().
Referenced by inode_new().