MOS Source Code
Loading...
Searching...
No Matches
mount.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: GPL-3.0-or-later
2
3
#pragma once
4
5
#include "
mos/filesystem/vfs_types.hpp
"
6
7
#include <
mos/shared_ptr.hpp
>
8
9
extern
list_head
vfs_mountpoint_list
;
10
11
ptr<mount_t>
dentry_get_mount
(
const
dentry_t
*dentry);
12
13
dentry_t
*
dentry_root_get_mountpoint
(
dentry_t
*dentry);
list_head
list_node_t list_head
A linked list head.
Definition
list.hpp:23
vfs_mountpoint_list
list_head vfs_mountpoint_list
Definition
mount.cpp:14
dentry_root_get_mountpoint
dentry_t * dentry_root_get_mountpoint(dentry_t *dentry)
Given a mounted root dentry, return the mountpoint dentry that points to it.
Definition
mount.cpp:22
dentry_get_mount
ptr< mount_t > dentry_get_mount(const dentry_t *dentry)
Definition
mount.cpp:50
shared_ptr.hpp
ptr
mos::shared_ptr< T > ptr
Definition
shared_ptr.hpp:354
dentry_t
Definition
vfs_types.hpp:114
vfs_types.hpp
kernel
include
private
mos
filesystem
mount.hpp
Generated on Tue Feb 18 2025 16:41:40 for MOS Source Code by
1.13.2