Function report |
Source Code:block\bio.c |
Create Date:2022-07-28 16:55:23 |
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_bvec_add_pages
Proto:static int __bio_iov_bvec_add_pages(struct bio *bio, struct iov_iter *iter)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct bio * | bio | |
struct iov_iter * | iter |
896 | If WARN_ON_ONCE(iov_offset > bv_len) Then Return -EINVAL |
899 | 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, bv_len - iov_offset, count) |
902 | If Value for the false possibility is greater at compile time(size != len) Then Return -EINVAL |
904 | iov_iter_advance(iter, size) |
905 | 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 |