Function report |
Source Code:fs\splice.c |
Create Date:2022-07-28 20:11:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Make sure there's data to read. Wait for input if we can, otherwise* return an appropriate error.
Proto:static int ipipe_prep(struct pipe_inode_info *pipe, unsigned int flags)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct pipe_inode_info * | pipe | |
unsigned int | flags |
1470 | If Not pipe_empty - Return true if the pipe is empty*@head: The pipe ring head pointer*@tail: The pipe ring tail pointer Then Return 0 |
1473 | ret = 0 |
1477 | If signal_pending(current process) Then |
1479 | Break |
1481 | If Not writers Then Break |
1483 | If flags & don't block on the pipe splicing (but Then |
1490 | pipe_unlock(pipe) |
1491 | Return ret |
Name | Describe |
---|---|
splice_pipe_to_pipe | |
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 |