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:generic_file_splice_read - splice data from file to a pipe*@in: file to splice from*@ppos: position in @in*@pipe: pipe to splice to*@len: number of bytes to splice*@flags: splice modifier flags* Description:
Proto:ssize_t generic_file_splice_read(struct file *in, loff_t *ppos, struct pipe_inode_info *pipe, size_t len, unsigned int flags)
Type:ssize_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | in | |
| loff_t * | ppos | |
| struct pipe_inode_info * | pipe | |
| size_t | len | |
| unsigned int | flags |
| 309 | iov_iter_pipe( & to, generic data direction definitions , pipe, len) |
| 311 | init_sync_kiocb( & kiocb, in) |
| 313 | ret = call_read_iter(in, & kiocb, & to) |
| 314 | If ret > 0 Then |
| 317 | Else if ret < 0 Then |
| 319 | iov_offset = 0 |
| 320 | iov_iter_advance( & to, 0) |
| 329 | Return ret |
| 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 |