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:path_to_nameidata

Proto:static inline void path_to_nameidata(const struct path *path, struct nameidata *nd)

Type:void

Parameter:

TypeParameterName
const struct path *path
struct nameidata *nd
829  If Not (flags & RCU pathwalk mode; semi-internal ) Then
830  dput(dentry)
831  If mnt != mnt Then mntput(mnt)
834  mnt = mnt
835  dentry = dentry
Caller
NameDescribe
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()