|
PatchworkOS
966e257
A non-POSIX operating system.
|
#include <kernel/fs/path.h>#include <kernel/utils/map.h>#include <kernel/utils/ref.h>#include <sys/list.h>#include <stdatomic.h>#include <stdint.h>Go to the source code of this file.
Data Structures | |
| struct | mount_t |
| Mount structure. More... | |
Macros | |
| #define | MOUNT_IS_ROOT(mount) ((mount)->parent == (mount)) |
| Macro to check if a mount is the root filesystem. | |
Typedefs | |
| typedef struct mount | mount_t |
| typedef struct superblock | superblock_t |
| typedef struct dentry | dentry_t |
| typedef struct path | path_t |
| typedef uint64_t | mount_id_t |
| Mount ID type. | |
Functions | |
| mount_t * | mount_new (superblock_t *superblock, dentry_t *source, dentry_t *target, mount_t *parent, mode_t mode) |
| Create a new mount. | |
| typedef struct superblock superblock_t |