| Function report | 
| Source Code: fs\mpage.c | Create Date:2022-07-28 20:15:32 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:mpage_readpages - populate an address space with some pages & start reads against them*@mapping: the address_space*@pages: The address of a list_head which contains the target pages. These
Proto:int mpage_readpages(struct address_space *mapping, struct list_head *pages, unsigned nr_pages, get_block_t get_block)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct address_space * | mapping | |
| struct list_head * | pages | |
| unsigned | nr_pages | |
| get_block_t | get_block | 
| 388 | struct mpage_readpage_args args = {get_block = get_block, is_readahead = true, } | 
| 395 | page = lru_to_page(pages) | 
| 399 | If Not add_to_page_cache_lru(page, mapping, Our offset within mapping. , readahead_gfp_mask(mapping)) Then | 
| 409 | If bio Then mpage_bio_submit(REQ_OP_READ, REQ_RAHEAD, bio) | 
| 411 | Return 0 | 
| 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 |