Function report |
Source Code:block\bio.c |
Create Date:2022-07-28 16:55:30 |
Last Modify:2020-03-17 23:13:58 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:_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)
Proto: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 |
985 | is_bvec = iov_iter_is_bvec(iter) |
988 | If WARN_ON_ONCE( how many bio_vec's ) Then Return -EINVAL |
991 | Do |
992 | If is_bvec Then ret = __bio_iov_bvec_add_pages(bio, iter) |
998 | If is_bvec Then bio_set_flag(bio, BIO_NO_PAGE_REF) |
1000 | Return If how many bio_vec's Then 0 Else ret |
Name | Describe |
---|---|
__blkdev_direct_IO | |
iomap_dio_bio_actor |
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 |