MOS Source Code
Loading...
Searching...
No Matches
mount.h File Reference
+ Include dependency graph for mount.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

mount_tdentry_get_mount (const dentry_t *dentry)
 
dentry_tdentry_root_get_mountpoint (dentry_t *dentry)
 Given a mounted root dentry, return the mountpoint dentry that points to it.
 

Variables

list_head vfs_mountpoint_list
 

Function Documentation

◆ dentry_get_mount()

mount_t * dentry_get_mount ( const dentry_t * dentry)

Definition at line 56 of file mount.c.

Referenced by dentry_dump_refstat(), dentry_resolve_lastseg(), dentry_resolve_to_parent(), dentry_root_get_mountpoint(), and dentry_unmount().

+ Here is the call graph for this function:

◆ 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.

Parameters
dentryThe mounted root dentry
Returns
dentry_t* The mountpoint dentry

Definition at line 28 of file mount.c.

Referenced by dentry_path(), dentry_ref_up_to(), dentry_resolve_lastseg(), dentry_resolve_to_parent(), dentry_unmount(), and dentry_unref_one_norelease().

+ Here is the call graph for this function:

Variable Documentation

◆ vfs_mountpoint_list

list_head vfs_mountpoint_list
extern

Definition at line 20 of file mount.c.

Referenced by dentry_mount(), and vfs_sysfs_mountpoints().