|
PatchworkOS
19e446b
A non-POSIX operating system.
|
Filesystem structure, represents a filesystem type, e.g. fat32, tmpfs, devfs, etc. More...
#include <filesystem.h>
Data Fields | |
| list_entry_t | entry |
| Used internally. | |
| map_entry_t | mapEntry |
| Used internally. | |
| list_t | superblocks |
| Used internally. | |
| rwlock_t | lock |
| Used internally. | |
| const char * | name |
| dentry_t *(* | mount )(filesystem_t *fs, const char *details, void *data) |
| Mount a filesystem. | |
Filesystem structure, represents a filesystem type, e.g. fat32, tmpfs, devfs, etc.
Definition at line 52 of file filesystem.h.
| list_entry_t filesystem_t::entry |
Used internally.
Definition at line 54 of file filesystem.h.
| map_entry_t filesystem_t::mapEntry |
Used internally.
Definition at line 55 of file filesystem.h.
| list_t filesystem_t::superblocks |
Used internally.
Definition at line 56 of file filesystem.h.
| rwlock_t filesystem_t::lock |
Used internally.
Definition at line 57 of file filesystem.h.
| const char* filesystem_t::name |
Definition at line 58 of file filesystem.h.
| dentry_t *(* filesystem_t::mount) (filesystem_t *fs, const char *details, void *data) |
Mount a filesystem.
| fs | The filesystem to mount. |
| details | A string containing filesystem defined key=value pairs, with multiple options separated by commas, or NULL. |
| private | Private data for the filesystem's mount function. |
NULL and errno is set. Definition at line 68 of file filesystem.h.