Function report |
Source Code:mm\readahead.c |
Create Date:2022-07-28 14:11:53 |
| Last Modify:2020-03-17 21:13:07 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ad_cache_pages - 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* pages have their ->index populated and are otherwise uninitialised.
Proto:int read_cache_pages(struct address_space *mapping, struct list_head *pages, int (*filler)(void *, struct page *), void *data)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct address_space * | mapping | |
| struct list_head * | pages | |
| int (* | filler | |
| void * | data |
| 92 | ret = 0 |
| 95 | page = lru_to_page(pages) |
| 97 | If add_to_page_cache_lru(page, mapping, Our offset within mapping. , readahead_gfp_mask(mapping)) Then |
| 111 | Return ret |
| 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 |