Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\namespace.c Create Date:2022-07-28 20:09:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:d the first mount at @dentry on vfsmount @mnt.* call under rcu_read_lock()

Proto:struct mount *__lookup_mnt(struct vfsmount *mnt, struct dentry *dentry)

Type:struct mount

Parameter:

TypeParameterName
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  If mnt == mnt && mnt_mountpoint == dentry Then Return p
616  Return NULL
Caller
NameDescribe
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