Function report |
Source Code:mm\filemap.c |
Create Date:2022-07-28 14:02:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:do_read_cache_page
Proto:static struct page *do_read_cache_page(struct address_space *mapping, unsigned long index, int (*filler)(void *, struct page *), void *data, gfp_t gfp)
Type:struct page
Parameter:
Type | Parameter | Name |
---|---|---|
struct address_space * | mapping | |
unsigned long | index | |
int (* | filler | |
void * | data | |
gfp_t | gfp |
2764 | repeat : |
2766 | If Not page Then |
2767 | page = __page_cache_alloc(gfp) |
2779 | filler : |
2785 | If err < 0 Then |
2790 | page = wait_on_page_read(page) |
2793 | Go to out |
2795 | If PageUptodate(page) Then Go to out |
2830 | If PageUptodate(page) Then Go to out |
2837 | If Not See page-flags.h for PAGE_MAPPING_FLAGS Then |
2840 | Go to repeat |
2844 | If PageUptodate(page) Then |
2846 | Go to out |
2848 | Go to filler |
2850 | out : |
2851 | mark_page_accessed(page) |
2852 | Return page |
Name | Describe |
---|---|
read_cache_page | ad_cache_page - read into page cache, fill it if needed*@mapping: the page's address_space*@index: the page index*@filler: function to perform the read*@data: first arg to filler(data, page) function, often left as NULL* Read into the page cache |
read_cache_page_gfp | ad_cache_page_gfp - read into page cache, using specified page allocation flags |
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 |