函数逻辑报告 |
Source Code:fs\devpts\inode.c |
Create Date:2022-07-29 11:11:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:devpts_pty_new -- create a new inode in /dev/pts/*@ptmx_inode: inode of the master*@device: major+minor of the node to be created*@index: used as a name of the node*@priv: what's given back by devpts_get_priv* The created inode is returned
函数原型:struct dentry *devpts_pty_new(struct pts_fs_info *fsi, int index, void *priv)
返回类型:struct dentry
参数:
类型 | 参数 | 名称 |
---|---|---|
struct pts_fs_info * | fsi | |
int | index | |
void * | priv |
572 | opts等于mount_opts |
579 | i_uid等于如果setuid则uid否则current_fsuid() |
580 | i_gid等于如果setgid则gid否则current_fsgid() |
582 | init_special_inode(inode, S_IFCHR | mode, MKDEV(UNIX98_PTY_SLAVE_MAJOR, index)) |
584 | 输出格式化串 |
586 | dentry等于d_alloc_name(root, s) |
587 | 如果dentry则 |
591 | 否则 |
596 | 返回:dentry |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |