MOS Source Code
Loading...
Searching...
No Matches
mount.h
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.h
"
6
7
extern
list_head
vfs_mountpoint_list
;
8
9
mount_t
*
dentry_get_mount
(
const
dentry_t
*dentry);
10
11
dentry_t
*
dentry_root_get_mountpoint
(
dentry_t
*dentry);
list_head
list_node_t list_head
A linked list head.
Definition
list.h:23
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.c:28
dentry_get_mount
mount_t * dentry_get_mount(const dentry_t *dentry)
Definition
mount.c:56
vfs_mountpoint_list
list_head vfs_mountpoint_list
Definition
mount.c:20
dentry_t
Definition
vfs_types.h:113
mount_t
Definition
vfs_types.h:189
vfs_types.h
kernel
include
private
mos
filesystem
mount.h
Generated on Sun Sep 1 2024 18:22:52 for MOS Source Code by
1.12.0