函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:static bool __follow_mount_rcu(struct nameidata *nd, struct path *path, struct inode **inode, unsigned *seqp)

返回类型:bool

参数:

类型参数名称
struct nameidata *nd
struct path *path
struct inode **inode
unsigned *seqp
1314  循环
1321  :managed_dentry_rcu(path)恒等于负ECHILD
1322  默认
1323  返回:false
1324  :managed_dentry_rcu(path)恒等于负EISDIR
1325  返回:true
1326  :managed_dentry_rcu(path)恒等于0
1327  退出
1330  如果非d_mountpoint(dentry)则返回:非 protected by d_lock 按位与handle automount on this dir 的值
1333  mounted等于__lookup_mnt(mnt, dentry)
1334  如果非mounted退出
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  返回:非read_seqretry( & mount_lock, m_seq)且非 protected by d_lock 按位与handle automount on this dir 的值
调用者
名称描述
lookup_fast
handle_lookup_down