Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:devpts_ptmx_path

Proto:static int devpts_ptmx_path(struct path *path)

Type:int

Parameter:

TypeParameterName
struct path *path
137  err = path_pts(path)
138  If err Then Return err
142  sb = mnt_sb
143  If s_magic != DEVPTS_SUPER_MAGIC || mnt_root != s_root Then Return -ENODEV
147  Return 0
Caller
NameDescribe
devpts_mntgetTry to find a suitable devpts filesystem. We support the following* scenarios:* - The ptmx device node is located in the same directory as the devpts* mount where the pts device nodes are located.* This is e
devpts_acquire