|
PatchworkOS
19e446b
A non-POSIX operating system.
|
#include <kernel/fs/vnode.h>#include <kernel/fs/vfs.h>#include <kernel/mem/cache.h>#include <kernel/sched/clock.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 | vnode_free (vnode_t *vnode) |
| static void | vnode_ctor (void *ptr) |
| vnode_t * | vnode_new (superblock_t *superblock, vtype_t type, const vnode_ops_t *ops, const file_ops_t *fileOps) |
| Create a new vnode. | |
| void | vnode_truncate (vnode_t *vnode) |
| Truncate the vnode. | |
Variables | |
| static cache_t | cache = CACHE_CREATE(cache, "vnode", sizeof(vnode_t), CACHE_LINE, vnode_ctor, NULL) |
|
static |
|
static |
|
static |