Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:path_is_mountpoint() - Check if path is a mount in the current* namespace

Proto:bool path_is_mountpoint(const struct path *path)

Type:bool

Parameter:

TypeParameterName
const struct path *path
1223  If Not d_mountpoint(dentry) Then Return false
1226  _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
1227  Do
1228  seq = Read side functions for starting and finalizing a read side section.
1229  res = __path_is_mountpoint(path)
1230  When read_seqretry( & vfsmount lock may be taken for read to prevent changes to the* vfsmount hash, ie. during mountpoint lookups or walking back* up the tree.* It should be taken for write in all cases where the vfsmount, seq) cycle
1231  _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()
1233  Return res