|
PatchworkOS
|
Mount structure. More...
#include <mount.h>
Data Fields | |
| ref_t | ref |
| mount_id_t | id |
| map_entry_t | mapEntry |
| superblock_t * | superblock |
| The superblock of the mounted filesystem. | |
| dentry_t * | mountpoint |
The dentry that this filesystem is mounted on, can be NULL for the root filesystem. | |
| dentry_t * | root |
| The root dentry of the mounted filesystem. | |
| mount_t * | parent |
The parent mount, can be NULL for the root filesystem. | |
Mount structure.
Mounts are owned by the VFS, not the filesystem.
| mount_id_t mount_t::id |
Definition at line 38 of file mount.h.
Referenced by mount_new(), namespace_bind(), namespace_mount(), and namespace_traverse_mount().
| map_entry_t mount_t::mapEntry |
Definition at line 39 of file mount.h.
Referenced by mount_new(), namespace_bind(), and namespace_mount().
| dentry_t* mount_t::mountpoint |
The dentry that this filesystem is mounted on, can be NULL for the root filesystem.
Definition at line 41 of file mount.h.
Referenced by mount_free(), mount_new(), path_handle_dotdot(), and path_to_name().
| mount_t* mount_t::parent |
The parent mount, can be NULL for the root filesystem.
Definition at line 43 of file mount.h.
Referenced by mount_free(), mount_new(), path_handle_dotdot(), and path_to_name().
| ref_t mount_t::ref |
Definition at line 37 of file mount.h.
Referenced by mount_new().
| dentry_t* mount_t::root |
The root dentry of the mounted filesystem.
Definition at line 42 of file mount.h.
Referenced by acpi_get_sysfs_root(), mount_free(), mount_new(), namespace_get_root_path(), namespace_traverse_mount(), path_handle_dotdot(), process_dir_init(), process_procfs_init(), socket_family_register(), socket_new(), sysfs_dir_new(), sysfs_file_new(), sysfs_get_dev(), and sysfs_mount_new().
| superblock_t* mount_t::superblock |
The superblock of the mounted filesystem.
Definition at line 40 of file mount.h.
Referenced by mount_free(), mount_new(), namespace_get_root_path(), namespace_traverse_mount(), and socket_new().