函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:path_is_mountpoint() - Check if path is a mount in the current* namespace

函数原型:bool path_is_mountpoint(const struct path *path)

返回类型:bool

参数:

类型参数名称
const struct path *path
1223  如果非d_mountpoint(dentry)则返回: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  循环
1228  seq等于Read side functions for starting and finalizing a read side section.
1229  res等于__path_is_mountpoint(path)
1230 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)循环
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  返回:res