Function report |
Source Code:lib\iov_iter.c |
Create Date:2022-07-28 06:22:55 |
| Last Modify:2022-05-21 11:43:54 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pipe_get_pages
Proto:static ssize_t pipe_get_pages(struct iov_iter *i, struct page **pages, size_t maxsize, unsigned maxpages, size_t *start)
Type:ssize_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct iov_iter * | i | |
| struct page ** | pages | |
| size_t | maxsize | |
| unsigned | maxpages | |
| size_t * | start |
| 1296 | If Not maxsize Then Return 0 |
| 1302 | data_start(i, & iter_head, start) |
| 1304 | npages = pipe_space_for_user - Return number of slots available to userspace*@head: The pipe ring head pointer*@tail: The pipe ring tail pointer*@pipe: The pipe info structure |
| 1305 | capacity = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(npages, maxpages) * PAGE_SIZE - start |
| 1307 | Return __pipe_get_pages(i, min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(maxsize, capacity), pages, iter_head, start) |
| Name | Describe |
|---|---|
| iov_iter_get_pages |
| 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 |