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:Check if we need to grow the arrays holding pages and partial page* descriptions.
Proto:int splice_grow_spd(const struct pipe_inode_info *pipe, struct splice_pipe_desc *spd)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct pipe_inode_info * | pipe | |
| struct splice_pipe_desc * | spd |
| 263 | If max_usage <= PIPE_DEF_BUFFERS Then Return 0 |
| 266 | page map = kmalloc_array - allocate memory for an array.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
| 267 | pages[] may not be contig = kmalloc_array - allocate memory for an array.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
| 270 | If page map && pages[] may not be contig Then Return 0 |
| 275 | Return -ENOMEM |
| Name | Describe |
|---|---|
| tracing_splice_read_pipe | |
| tracing_buffers_splice_read |
| 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 |