函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:path_parent_directory

函数原型:static int path_parent_directory(struct path *path)

返回类型:int

参数:

类型参数名称
struct path *path
1472  old等于dentry
1474  dentry等于dget_parent(dentry)
1475  dput(old)
1476  如果此条件成立可能性小(为编译器优化)(!path_connected - Verify that a path->dentry is below path->mnt.mnt_root*@path: nameidate to verify* Rename can sometimes move a file or directory outside of a bind* mount, path_connected allows those cases to be detected.)则返回:负ENOENT
1478  返回:0
调用者
名称描述
follow_dotdot
path_pts