函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:unlock_mount

函数原型:static void unlock_mount(struct mountpoint *where)

返回类型:void

参数:

类型参数名称
struct mountpoint *where
2160  dentry等于m_dentry
2162  A locking reader exclusively locks out other writers and locking readers,* but doesn't update the sequence number. Acts like a normal spin_lock/unlock.* Don't need preempt_disable() because that is in the spin_lock already.
2163  alled with namespace_lock and vfsmount lock
2164  read_sequnlock_excl( & vfsmount lock may be taken for read to prevent changes to the* vfsmount hash, ie. during mountpoint lookups or walking back* up the tree.* It should be taken for write in all cases where the vfsmount)
2166  namespace_unlock()
2167  inode_unlock( Where the name belongs to - NULL is * negative )
调用者
名称描述
do_loopbackdo loopback mount.
do_move_mount
do_add_mountadd a mount into a namespace's mount tree
SYSCALL_DEFINE2pivot_root Semantics:* Moves the root file system of the current process to the directory put_old,* makes new_root as the new root file system of the current process, and sets* root/cwd of all processes which had them on the current root to new_root