Function report |
Source Code:fs\pipe.c |
Create Date:2022-07-28 20:04:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:After the inode slimming patch, i_pipe/i_bdev/i_cdev share the same* location, so checking ->i_pipe is not enough to verify that this is a* pipe.
Proto:struct pipe_inode_info *get_pipe_info(struct file *file)
Type:struct pipe_inode_info
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | file |
1269 | Return f_op == & pipefifo_fops ? needed for tty driver, and maybe others : NULL |
Name | Describe |
---|---|
pipe_fcntl | |
do_splice | Determine where to splice to/from. |
vmsplice_to_user | For lack of a better implementation, implement vmsplice() to userspace* as a simple copy of the pipes pages to the user iov. |
vmsplice_to_pipe | vmsplice splices a user address range into a pipe. It can be thought of* as splice-from-memory, where the regular splice is splice-from-file (or* to file). In both cases the output is a pipe, naturally. |
do_tee | This is a tee(1) implementation that works on pipes. It doesn't copy* any data, it simply references the 'in' pages on the 'out' pipe.* The 'flags' used are the SPLICE_F_* variants, currently the only* applicable one is SPLICE_F_NONBLOCK. |
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 |