函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:path_pts

函数原型:int path_pts(struct path *path)

返回类型:int

参数:

类型参数名称
struct path *path
2594  ret等于path_parent_directory(path)
2595  如果ret则返回:ret
2598  parent等于dentry
2599  name等于"pts"
2600  len等于3
2601  child等于d_hash_and_lookup - hash the qstr then search for a dentry*@dir: Directory to search in*@name: qstr of name we wish to find* On lookup failure NULL is returned; on bad name - ERR_PTR(-error)
2602  如果非child则返回:负ENOENT
2605  dentry等于child
2606  dput(parent)
2607  Skip to top of mountpoint pile in refwalk mode for follow_dotdot()
2608  返回:0
调用者
名称描述
devpts_ptmx_path