|
PatchworkOS
|
#include <kernel/fs/superblock.h>#include <kernel/fs/vfs.h>#include <kernel/mem/pmm.h>#include <stdlib.h>Go to the source code of this file.
Functions | |
| static void | superblock_free (superblock_t *superblock) |
| superblock_t * | superblock_new (const filesystem_t *fs, const char *deviceName, const superblock_ops_t *ops, const dentry_ops_t *dentryOps) |
| Create a new superblock. | |
| void | superblock_inc_mount_count (superblock_t *superblock) |
| Increment the mount count of a superblock. | |
| void | superblock_dec_mount_count (superblock_t *superblock) |
| Decrement the mount count of a superblock. | |
|
static |
Definition at line 8 of file superblock.c.
References assert, atomic_load, superblock_ops_t::cleanup, DEREF, free(), superblock_t::mountCount, NULL, superblock_t::ops, superblock_t::root, and vfs_remove_superblock().
Referenced by superblock_new().