函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\dcache.c Create Date:2022-07-29 10:37:36
Last Modify:2020-03-18 10:27:32 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:是子目录

函数原型:bool is_subdir(struct dentry *new_dentry, struct dentry *old_dentry)

返回类型:bool

参数:

类型参数名称
struct dentry *new_dentry
struct dentry *old_dentry
3072  如果new_dentry恒等于old_dentry则返回:true
3075  循环
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  如果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.result = true
3085  否则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 read_seqretry( & rename_lock, seq)循环
3090  返回:result
调用者
名称描述
copy_tree
has_locked_children
is_path_reachableReturn true if path is reachable from root* namespace_sem or mount_lock is held
propagate_one