Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:follow_dotdot_rcu

Proto:static int follow_dotdot_rcu(struct nameidata *nd)

Type:int

Parameter:

TypeParameterName
struct nameidata *nd
1353  inode = path.dentry.d_inode
1355  When 1 cycle
1356  If path_equal( & path, & root) Then Break
1358  If dentry != mnt_root Then
1359  old = dentry
1367  dentry = parent
1368  seq = seq
1371  Break
1372  Else
1373  mnt = real_mount(mnt)
1374  mparent = mnt_parent
1380  If mnt == mnt Then Break
1383  dentry = mountpoint
1384  mnt = mnt
1385  inode = inode2
1386  seq = seq
1389  When Value for the false possibility is greater at compile time(d_mountpoint(dentry)) cycle
1391  mounted = __lookup_mnt(mnt, dentry)
1392  If Value for the false possibility is greater at compile time(read_seqretry( & mount_lock, m_seq)) Then Return -ECHILD
1394  If Not mounted Then Break
1396  mnt = mnt
1397  dentry = root of the mounted tree
1398  inode = d_inode
1399  seq = 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
1401  path.dentry.d_inode = inode
1402  Return 0
Caller
NameDescribe
handle_dots