| Function report | 
| 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 activity | Download SCCT | Chinese | 
Name:Try 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
Proto:struct vfsmount *devpts_mntget(struct file *filp, struct pts_fs_info *fsi)
Type:struct vfsmount
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct file * | filp | |
| struct pts_fs_info * | fsi | 
| 171 | err = 0 | 
| 180 | If llow_up - Find the mountpoint of path's vfsmount* Given a path, find the mountpoint of its source file system == 0 Then Break | 
| 184 | If s_magic != DEVPTS_SUPER_MAGIC || DEVPTS_SB(mnt_sb) != fsi Then err = devpts_ptmx_path( & path) | 
| 188 | If Not err Then | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |