Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\namei.c Create Date:2022-07-28 20:05:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:path_pts

Proto:int path_pts(struct path *path)

Type:int

Parameter:

TypeParameterName
struct path *path
2594  ret = path_parent_directory(path)
2595  If ret Then Return 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  If Not child Then Return -ENOENT
2605  dentry = child
2606  dput(parent)
2607  Skip to top of mountpoint pile in refwalk mode for follow_dotdot()
2608  Return 0
Caller
NameDescribe
devpts_ptmx_path