Function report |
Source Code:block\bio.c |
Create Date:2022-07-28 16:55:27 |
Last Modify:2020-03-17 23:13:58 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__bio_iov_iter_get_pages - pin user or kernel pages and add them to a bio*@bio: bio to add pages to*@iter: iov iterator describing the region to be mapped* Pins pages from *iter and appends them to @bio's bvec array. The
Proto:static int __bio_iov_iter_get_pages(struct bio *bio, struct iov_iter *iter)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct bio * | bio | |
struct iov_iter * | iter |
924 | bv = the actual vec list + how many bio_vec's |
926 | bool same_page = false |
937 | pages += entries_left * (PAGE_PTRS_PER_BVEC - 1) |
940 | If Value for the false possibility is greater at compile time(size <= 0) Then Return If size Then size Else -EFAULT |
946 | len = min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(size_t, PAGE_SIZE - offset, left) |
951 | Else |
956 | offset = 0 |
959 | iov_iter_advance(iter, size) |
960 | Return 0 |
Name | Describe |
---|---|
bio_iov_iter_get_pages | _iov_iter_get_pages - add user or kernel pages to a bio*@bio: bio to add pages to*@iter: iov iterator describing the region to be added* This takes either an iterator pointing to user memory, or one pointing to* kernel pages (BVEC iterator) |
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 |