函数逻辑报告

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

函数名称:mntput

函数原型:void mntput(struct vfsmount *mnt)

返回类型:void

参数:

类型参数名称
struct vfsmount *mnt
1190  如果mnt
1191  m等于real_mount(mnt)
1193  如果此条件成立可能性小(为编译器优化)( true if marked for expiry )则 true if marked for expiry 等于0
1195  mntput_no_expire(m)
调用者
名称描述
acct_on
path_putpath_put - put a reference to a path*@path: path to put the reference to* Given a path decrement the reference count to the dentry and the vfsmount.
path_put_conditional
path_to_nameidata
follow_upllow_up - Find the mountpoint of path's vfsmount* Given a path, find the mountpoint of its source file system
follow_managedHandle a dentry that is managed in some way.* - Flagged for transit management (autofs)* - Flagged as mountpoint* - Flagged as automount point* This may only be called in refwalk mode.* On success path->dentry is known positive.
follow_down_one
follow_downFollow down to the covering mount currently visible to userspace. At each* point, the filesystem owning that dentry may be queried as to whether the* caller is permitted to proceed or not.
follow_mountSkip to top of mountpoint pile in refwalk mode for follow_dotdot()
legitimize_mntall under rcu_read_lock
cleanup_mnt
namespace_unlock
open_detached_copy
do_new_mount_fcCreate a new mount using a superblock configuration and request it* be added to the namespace tree.
finish_automount
copy_mnt_ns
mount_subtree
kern_unmount
simple_pin_fs
simple_release_fs
do_handle_to_path
devpts_mntgetTry to find a suitable devpts filesystem. We support the following* scenarios:* - The ptmx device node is located in the same directory as the devpts* mount where the pts device nodes are located.* This is e