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:lookup_mnt - Return the first child mount mounted at path* "First" means first mounted chronologically

Proto:struct vfsmount *lookup_mnt(const struct path *path)

Type:struct vfsmount

Parameter:

TypeParameterName
const struct path *path
641  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
642  Do
643  seq = Read side functions for starting and finalizing a read side section.
644  child_mnt = d the first mount at @dentry on vfsmount @mnt.* call under rcu_read_lock()
645  m = child_mnt ? & mnt : NULL
646  When Not all under rcu_read_lock cycle
647  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
648  Return m
Caller
NameDescribe
follow_down_one
follow_downFollow down to the covering mount currently visible to userspace. At each* point, the filesystem owning that dentry may be queried as to whether the* caller is permitted to proceed or not.
follow_mountSkip to top of mountpoint pile in refwalk mode for follow_dotdot()
lock_mount