函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\namespace.c Create Date:2022-07-29 10:39:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mntget

函数原型:struct vfsmount *mntget(struct vfsmount *mnt)

返回类型:struct vfsmount

参数:

类型参数名称
struct vfsmount *mnt
1202  如果mntvfsmount lock must be held for read
1204  返回:mnt
调用者
名称描述
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
trace_automount