Function report |
Source Code:fs\pipe.c |
Create Date:2022-07-28 20:04:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:create_pipe_files
Proto:int create_pipe_files(struct file **res, int flags)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
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) |
900 | res[0] = alloc_file_clone(f, O_RDONLY | (flags & O_NONBLOCK), & pipe.c) |
911 | Return 0 |
Name | Describe |
---|---|
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. |
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 |