Function report |
Source Code:block\bio.c |
Create Date:2022-07-28 16:55:19 |
| Last Modify:2020-03-17 23:13:58 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:_add_page - attempt to add page(s) to bio*@bio: destination bio*@page: start page to add*@len: vec entry length, may cross pages*@offset: vec entry offset relative to @page, may cross pages* Attempt to add page(s) to the bio_vec maplist
Proto:int bio_add_page(struct bio *bio, struct page *page, unsigned int len, unsigned int offset)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bio * | bio | |
| struct page * | page | |
| unsigned int | len | |
| unsigned int | offset |
| 864 | bool same_page = false |
| 871 | Return len |
| Name | Describe |
|---|---|
| __bio_iov_bvec_add_pages | |
| __blkdev_issue_zero_pages | |
| dio_bio_add_page | Attempt to put the current chunk of 'cur_page' into the current BIO. If* that was successful then update final_block_in_bio and take a ref against* the just-added page.* Return zero on success. Non-zero means the caller needs to start a new BIO. |
| do_mpage_readpage | This is the worker routine which does all the work of mapping the disk* blocks and constructs largest possible bios, submits them for IO if the* blocks are not contiguous on the disk |
| __mpage_writepage | |
| fscrypt_zeroout_range | |
| iomap_readpage_actor | |
| iomap_add_to_ioend | Test to see if we have an existing ioend structure that we could append to* first, otherwise finish off the current ioend and start another. |
| 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 |