Function report |
Source Code:fs\splice.c |
Create Date:2022-07-28 20:11:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:splice_from_pipe_feed - feed available data from a pipe to a file*@pipe: pipe to splice from*@sd: information to @actor*@actor: handler that splices the data* Description:* This function loops over the pipe and calls @actor to do the* actual moving of a
Proto:static int splice_from_pipe_feed(struct pipe_inode_info *pipe, struct splice_desc *sd, splice_actor *actor)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct pipe_inode_info * | pipe | |
struct splice_desc * | sd | |
splice_actor * | actor |
501 | current length = len |
502 | If current length > maining length Then current length = maining length |
505 | ret = pipe_buf_confirm - verify contents of the pipe buffer*@pipe: the pipe that the buffer belongs to*@buf: the buffer to confirm |
520 | current length -= ret |
521 | le position += ret |
522 | maining length -= ret |
524 | If Not len Then |
526 | tail++ |
528 | If files Then d to wake up writer = true |
532 | If Not maining length Then Return 0 |
536 | Return 1 |
Name | Describe |
---|---|
__splice_from_pipe | __splice_from_pipe - splice data from a pipe to given actor*@pipe: pipe to splice from*@sd: information to @actor*@actor: handler that splices the data* Description:* This function does little more than loop over the pipe and call*@actor to do the actual |
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 |