Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\dcache.c Create Date:2022-07-28 20:07:31
Last Modify:2020-03-18 10:27:32 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:is new dentry a subdirectory of old_dentry

Proto:bool is_subdir(struct dentry *new_dentry, struct dentry *old_dentry)

Type:bool

Parameter:

TypeParameterName
struct dentry *new_dentry
struct dentry *old_dentry
3072  If new_dentry == old_dentry Then Return true
3075  Do
3077  seq = Read side functions for starting and finalizing a read side section.
3082  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
3083  If d_ancestor - search for an ancestor*@p1: ancestor dentry*@p2: child dentry* Returns the ancestor dentry of p2 which is a child of p1, if p1 is* an ancestor of p2, else NULL. Then result = true
3085  Else result = false
3087  _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()
3088  When read_seqretry( & rename_lock, seq) cycle
3090  Return result
Caller
NameDescribe
copy_tree
has_locked_children
is_path_reachableReturn true if path is reachable from root* namespace_sem or mount_lock is held
propagate_one