函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lazy_child - try to switch to ref-walk mode

函数原型:static int unlazy_child(struct nameidata *nd, struct dentry *dentry, unsigned seq)

返回类型:int

参数:

类型参数名称
struct nameidata *nd
struct dentry *dentry
unsignedseq
712  BUG_ON(!(flags & RCU pathwalk mode; semi-internal ))
714  flags与等于RCU pathwalk mode; semi-internal 的反
715  如果此条件成立可能性小(为编译器优化)(!legitimize_links(nd))则转到:out2
717  如果此条件成立可能性小(为编译器优化)(!legitimize_mnt(mnt, m_seq))则转到:out2
719  如果此条件成立可能性小(为编译器优化)(! 有引用则递增计数)则转到:out1
729  如果此条件成立可能性小(为编译器优化)(! 有引用则递增计数)则转到:out
731  如果此条件成立可能性小(为编译器优化)(ad_seqcount_retry - end a seq-read critical section*@s: pointer to seqcount_t*@start: count, from read_seqcount_begin* Returns: 1 if retry is required, else 0* read_seqcount_retry closes a read critical section of the given seqcount)则转到:out_dput
737  如果此条件成立可能性小(为编译器优化)(!legitimize_root(nd))则转到:out_dput
739  _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()
740  返回:0
742  out2 :
743  mnt = NULL
744  out1 :
745  dentry = NULL
746  out :
747  _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()
748  返回:负ECHILD
749  out_dput :
750  _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()
751  dput(dentry)
752  返回:负ECHILD
调用者
名称描述
lookup_fast