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 writeable room. Wait for room if we can, otherwise* return an appropriate error.
Proto:static int opipe_prep(struct pipe_inode_info *pipe, unsigned int flags)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct pipe_inode_info * | pipe | |
unsigned int | flags |
1506 | If pipe_full - Return true if the pipe is full*@head: The pipe ring head pointer*@tail: The pipe ring tail pointer*@limit: The maximum amount of slots available. Then Return 0 |
1509 | ret = 0 |
1513 | If Not readers Then |
1518 | If flags & don't block on the pipe splicing (but Then |
1522 | If signal_pending(current process) Then |
1529 | pipe_unlock(pipe) |
1530 | 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 |