Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\namespace.c Create Date:2022-07-28 20:09:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mntget

Proto:struct vfsmount *mntget(struct vfsmount *mnt)

Type:struct vfsmount

Parameter:

TypeParameterName
struct vfsmount *mnt
1202  If mnt Then vfsmount lock must be held for read
1204  Return mnt
Caller
NameDescribe
policy_get_link
path_getpath_get - get a reference to a path*@path: path to get the reference to* Given a path increment the reference count to the dentry and the vfsmount.
follow_upllow_up - Find the mountpoint of path's vfsmount* Given a path, find the mountpoint of its source file system
follow_automountPerform an automount* - return -EISDIR to tell follow_managed() to stop and return the path we* were called with.
pick_link
open_detached_copy
copy_mnt_ns
SYSCALL_DEFINE3Create a kernel mount representation for a new, prepared superblock* (specified by fs_fd) and attach to an open_tree-like file descriptor.
simple_pin_fs
__ns_get_path
get_vfsmount_from_fd