Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lazy_child - try to switch to ref-walk mode

Proto:static int unlazy_child(struct nameidata *nd, struct dentry *dentry, unsigned seq)

Type:int

Parameter:

TypeParameterName
struct nameidata *nd
struct dentry *dentry
unsignedseq
712  BUG_ON(!(flags & RCU pathwalk mode; semi-internal ))
714  flags &= ~RCU pathwalk mode; semi-internal
715  If Value for the false possibility is greater at compile time(!legitimize_links(nd)) Then Go to out2
717  If Value for the false possibility is greater at compile time(!legitimize_mnt(mnt, m_seq)) Then Go to out2
719  If Value for the false possibility is greater at compile time(!lockref_get_not_dead - Increments count unless the ref is dead*@lockref: pointer to lockref structure* Return: 1 if count updated successfully or 0 if lockref was dead) Then Go to out1
729  If Value for the false possibility is greater at compile time(!lockref_get_not_dead - Increments count unless the ref is dead*@lockref: pointer to lockref structure* Return: 1 if count updated successfully or 0 if lockref was dead) Then Go to out
731  If Value for the false possibility is greater at compile time(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) Then Go to out_dput
737  If Value for the false possibility is greater at compile time(!legitimize_root(nd)) Then Go to 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  Return 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  Return -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  Return -ECHILD
Caller
NameDescribe
lookup_fast