函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:vfsmount lock must be held for write

函数原型:static void touch_mnt_namespace(struct mnt_namespace *ns)

返回类型:void

参数:

类型参数名称
struct mnt_namespace *ns
784  如果ns
785  event等于event先自加
786  wake_up_interruptible( & poll)
调用者
名称描述
commit_treevfsmount lock must be held for write
attach_recursive_mnt@source_mnt : mount tree to be attached*@nd : place the mount tree @source_mnt is attached*@parent_nd : if non-null, detach the source_mnt from its parent and* store the parent mount and mountpoint dentry
set_mount_attributesUpdate the user-settable attributes on a mount. The caller must hold* sb->s_umount for writing.
mark_mounts_for_expiryprocess a list of expirable mountpoints with the intent of discarding any* mountpoints that aren't in use and haven't been touched since last we came* here
shrink_submounts
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