函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:devpts_ptmx_path

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

返回类型:int

参数:

类型参数名称
struct path *path
137  err等于path_pts(path)
138  如果err则返回:err
142  sb等于mnt_sb
143  如果s_magic不等于DEVPTS_SUPER_MAGICmnt_root不等于s_root则返回:负ENODEV
147  返回:0
调用者
名称描述
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