Function report |
Source Code:block\bio.c |
Create Date:2022-07-28 16:55:18 |
| Last Modify:2020-03-17 23:13:58 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__bio_add_page - add page(s) to a bio in a new segment*@bio: destination bio*@page: start page to add*@len: length of the data to add, may cross pages*@off: offset of the data relative to @page, may cross pages
Proto:void __bio_add_page(struct bio *bio, struct page *page, unsigned int len, unsigned int off)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bio * | bio | |
| struct page * | page | |
| unsigned int | len | |
| unsigned int | off |
| 834 | bv = the actual vec list [ how many bio_vec's ] |
| 836 | WARN_ON_ONCE(bio_flagged(bio, BIO_CLONED)) |
| 843 | residual I/O count += len |
| 844 | how many bio_vec's ++ |
| 846 | If Not bio_flagged(bio, BIO_WORKINGSET) && Value for the false possibility is greater at compile time(PageWorkingset(page)) Then bio_set_flag(bio, BIO_WORKINGSET) |
| Name | Describe |
|---|---|
| bio_add_page | _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 |
| __bio_iov_iter_get_pages | __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 |
| iomap_dio_zero |
| 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 |