函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:d the first mount at @dentry on vfsmount @mnt.* call under rcu_read_lock()

函数原型:struct mount *__lookup_mnt(struct vfsmount *mnt, struct dentry *dentry)

返回类型:struct mount

参数:

类型参数名称
struct vfsmount *mnt
struct dentry *dentry
610  head等于m_hash(mnt, dentry)
613  hlist_for_each_entry_rcu - iterate over rcu list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the hlist_node within the struct.(p, head, mnt_hash)
614  如果mnt恒等于mntmnt_mountpoint恒等于dentry则返回:p
616  返回:NULL
调用者
名称描述
follow_dotdot_rcu
lookup_mntlookup_mnt - Return the first child mount mounted at path* "First" means first mounted chronologically
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_mount_busyheck if the mount 'mnt' can be unmounted successfully.*@mnt: the mount to be checked for unmount* NOTE: unmounting 'mnt' would naturally propagate to all* other mounts its parent propagates to.* Check if any of these mounts that **do not have submounts**
propagate_mount_unlockClear MNT_LOCKED when it can be shown to be safe.* mount_lock lock must be held for write
propagate_umountllect all mounts that receive propagation from the mount in @list,* and return these additional mounts in the same list.*@list: the list of mounts to be unmounted.* vfsmount lock must be held for write