函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:terminate_walk

函数原型:static void terminate_walk(struct nameidata *nd)

返回类型:void

参数:

类型参数名称
struct nameidata *nd
593  drop_links(nd)
594  如果非flags按位与RCU pathwalk mode; semi-internal 的值则
596  path_put - put a reference to a path*@path: path to put the reference to* Given a path decrement the reference count to the dentry and the vfsmount.
597 i小于depth循环path_put - put a reference to a path*@path: path to put the reference to* Given a path decrement the reference count to the dentry and the vfsmount.
599  如果flags按位与LOOKUP_ROOT_GRABBED
601  flags与等于LOOKUP_ROOT_GRABBED的反
603  否则
604  flags与等于RCU pathwalk mode; semi-internal 的反
605  _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()
607  depth等于0
调用者
名称描述
path_lookupatReturns 0 and nd will be valid on success; Retuns error, otherwise.
path_parentatReturns 0 and nd will be valid on success; Retuns error, otherwise.
path_mountpointpath_mountpoint - look up a path to be umounted*@nd: lookup context*@flags: lookup flags*@path: pointer to container for result* Look up the given name, but don't attempt to revalidate the last component.
path_openat