Function report |
Source Code:lib\iov_iter.c |
Create Date:2022-07-28 06:23:08 |
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_alloc
Proto:static ssize_t pipe_get_pages_alloc(struct iov_iter *i, struct page ***pages, size_t maxsize, size_t *start)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct iov_iter * | i | |
struct page *** | pages | |
size_t | maxsize | |
size_t * | start |
1364 | If Not maxsize Then Return 0 |
1370 | data_start(i, & iter_head, start) |
1372 | 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 |
1376 | Else npages = DIV_ROUND_UP(maxsize + * start, PAGE_SIZE) |
1378 | p = get_pages_array(npages) |
1386 | Return n |
Name | Describe |
---|---|
iov_iter_get_pages_alloc |
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 |