Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Try to skip to top of mountpoint pile in rcuwalk mode. Fail if* we meet a managed dentry that would need blocking.

Proto:static bool __follow_mount_rcu(struct nameidata *nd, struct path *path, struct inode **inode, unsigned *seqp)

Type:bool

Parameter:

TypeParameterName
struct nameidata *nd
struct path *path
struct inode **inode
unsigned *seqp
1314  cycle
1321  Case managed_dentry_rcu(path) == -ECHILD
1322  Default
1323  Return false
1324  Case managed_dentry_rcu(path) == -EISDIR
1325  Return true
1326  Case managed_dentry_rcu(path) == 0
1327  Break
1330  If Not d_mountpoint(dentry) Then Return Not ( protected by d_lock & handle automount on this dir )
1333  mounted = __lookup_mnt(mnt, dentry)
1334  If Not mounted Then Break
1336  mnt = mnt
1337  dentry = root of the mounted tree
1338  flags |= LOOKUP_JUMPED
1339  seqp = ad_seqcount_begin - begin a seq-read critical section*@s: pointer to seqcount_t* Returns: count to be passed to read_seqcount_retry* read_seqcount_begin opens a read critical section of the given seqcount
1345  inode = Where the name belongs to - NULL is * negative
1347  Return Not read_seqretry( & mount_lock, m_seq) && Not ( protected by d_lock & handle automount on this dir )
Caller
NameDescribe
lookup_fast
handle_lookup_down