函数逻辑报告

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

函数原型:void mnt_set_mountpoint(struct mount *mnt, struct mountpoint *mp, struct mount *child_mnt)

返回类型:void

参数:

类型参数名称
struct mount *mnt
struct mountpoint *mp
struct mount *child_mnt
832  m_count自加
833  vfsmount lock must be held for read
834  mnt_mountpoint等于m_dentry
835  mnt_parent等于mnt
836  where is it mounted 等于mp
837  hlist_add_head( & list mounts with the same mountpoint , & m_list)
调用者
名称描述
attach_mntvfsmount 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
propagate_one