Function report |
Source Code:kernel\relay.c |
Create Date:2022-07-28 11:47:42 |
| Last Modify:2020-03-17 19:20:22 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:relay_file_splice_read
Proto:static ssize_t relay_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 |
| 1293 | nonpad_ret = 0 |
| 1295 | ret = 0 |
| 1296 | spliced = 0 |
| 1300 | If ret < 0 Then Break |
| 1302 | Else if Not ret Then |
| 1303 | If flags & don't block on the pipe splicing (but Then ret = -EAGAIN |
| 1305 | Break |
| 1313 | spliced += nonpad_ret |
| 1314 | nonpad_ret = 0 |
| 1320 | 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 |