函数逻辑报告

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

函数名称:path_to_nameidata

函数原型:static inline void path_to_nameidata(const struct path *path, struct nameidata *nd)

返回类型:void

参数:

类型参数名称
const struct path *path
struct nameidata *nd
829  如果非flags按位与RCU pathwalk mode; semi-internal 的值则
830  dput(dentry)
831  如果mnt不等于mntmntput(mnt)
834  mnt等于mnt
835  dentry等于dentry
调用者
名称描述
pick_link
step_intoDo we need to follow links? We _really_ want to be able* to do this check without having to look at inode->i_op,* so we keep a cache of "no, this doesn't need follow_link"* for the common case.
handle_lookup_down
do_lastHandle the last step of open()