![]() |
MOS Source Code
|
#include "mos/lib/sync/mutex.hpp"#include "mos/mm/mm.hpp"#include "mos/mm/physical/pmm.hpp"#include <abi-bits/stat.h>#include <cstddef>#include <mos/allocator.hpp>#include <mos/filesystem/fs_types.h>#include <mos/hashmap.hpp>#include <mos/io/io.hpp>#include <mos/io/io_types.h>#include <mos/lib/structures/hashmap.hpp>#include <mos/lib/structures/list.hpp>#include <mos/lib/structures/tree.hpp>#include <mos/lib/sync/spinlock.hpp>#include <mos/platform/platform.hpp>#include <mos/string.hpp>#include <mos/types.hpp>Go to the source code of this file.
Classes | |
| struct | vfs_listdir_entry_t |
| struct | vfs_listdir_state_t |
| struct | inode_ops_t |
| struct | file_ops_t |
| struct | superblock_ops_t |
| struct | superblock_t |
| struct | dentry_t |
| struct | inode_cache_ops_t |
| struct | inode_cache_t |
| struct | inode_t |
| struct | filesystem_t |
| struct | mount_t |
| struct | FsBaseFile |
| struct | FsFile |
| struct | FsDir |
Macros | |
| #define | FILESYSTEM_DEFINE(var, fsname, mountfn, unmountfn) |
| #define | FILESYSTEM_AUTOREGISTER(fs) |
Typedefs | |
| typedef struct _inode_cache | inode_cache_t |
| typedef void | dentry_iterator_op(vfs_listdir_state_t *state, u64 ino, mos::string_view name, file_type_t type) |
Functions | |
| MOS_ENUM_FLAGS (open_flags, OpenFlags) | |
| MOS_ENUM_FLAGS (fstatat_flags, FStatAtFlags) | |
| mos::string | dentry_name (const dentry_t *dentry) |
Variables | |
| dentry_t * | root_dentry |
| #define FILESYSTEM_DEFINE | ( | var, | |
| fsname, | |||
| mountfn, | |||
| unmountfn ) |
Definition at line 27 of file vfs_types.hpp.
| #define FILESYSTEM_AUTOREGISTER | ( | fs | ) |
Definition at line 34 of file vfs_types.hpp.
| typedef struct _inode_cache inode_cache_t |
Definition at line 42 of file vfs_types.hpp.
| typedef void dentry_iterator_op(vfs_listdir_state_t *state, u64 ino, mos::string_view name, file_type_t type) |
Definition at line 64 of file vfs_types.hpp.
| MOS_ENUM_FLAGS | ( | open_flags | , |
| OpenFlags | ) |
| MOS_ENUM_FLAGS | ( | fstatat_flags | , |
| FStatAtFlags | ) |
|
inline |
Definition at line 129 of file vfs_types.hpp.
Referenced by dentry_check_refstat(), dentry_lookup_child(), dentry_ref(), dentry_ref_up_to(), dentry_unref_one_norelease(), elf_create_process(), elf_do_fill_process(), elf_fill_process(), elf_map_interpreter(), stat_receiver(), userfs_iop_hardlink(), userfs_iop_iterate_dir(), userfs_iop_lookup(), userfs_iop_mkdir(), userfs_iop_mknode(), userfs_iop_newfile(), userfs_iop_readlink(), userfs_iop_rename(), userfs_iop_rmdir(), userfs_iop_symlink(), userfs_iop_unlink(), and vfs_sysfs_dentry_stats_stat_receiver().