| 函数逻辑报告 | 
| Source Code: fs\pipe.c | Create Date:2022-07-29 10:34:19 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:create_pipe_files
函数原型:int create_pipe_files(struct file **res, int flags)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct file ** | res | |
| int | flags | 
| 883 | inode等于get_pipe_inode() | 
| 889 | f等于alloc_file_pseudo(inode, pipe_mnt, "", O_WRONLY | (flags & (O_NONBLOCK | O_DIRECT)), & pipe.c) | 
| 892 | 如果是错误则 | 
| 900 | res[0]等于alloc_file_clone(f, O_RDONLY | (flags & O_NONBLOCK), & pipe.c) | 
| 902 | 如果是错误则 | 
| 911 | 返回:0 | 
| 名称 | 描述 | 
|---|---|
| umh_pipe_setup | |
| __do_pipe_flags | |
| umh_pipe_setup | mh_pipe_setup* helper function to customize the process used* to collect the core in userspace. Specifically* it sets up a pipe and installs it as fd 0 (stdin)* for the process. Returns 0 on success, or* PTR_ERR on failure. | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |