函数逻辑报告 |
Source Code:mm\filemap.c |
Create Date:2022-07-27 15:25:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:do_read_cache_page
函数原型:static struct page *do_read_cache_page(struct address_space *mapping, unsigned long index, int (*filler)(void *, struct page *), void *data, gfp_t gfp)
返回类型:struct page
参数:
类型 | 参数 | 名称 |
---|---|---|
struct address_space * | mapping | |
unsigned long | index | |
int (* | filler | |
void * | data | |
gfp_t | gfp |
2764 | repeat : |
2766 | 如果非page则 |
2767 | page等于__page_cache_alloc(gfp) |
2771 | 如果此条件成立可能性小(为编译器优化)(err)则 |
2779 | filler : |
2785 | 如果err小于0则 |
2790 | page等于wait_on_page_read(page) |
2793 | 转到:out |
2795 | 如果PageUptodate(page)则转到:out |
2830 | 如果PageUptodate(page)则转到:out |
2837 | 如果非 See page-flags.h for PAGE_MAPPING_FLAGS 则 |
2840 | 转到:repeat |
2844 | 如果PageUptodate(page)则 |
2846 | 转到:out |
2848 | 转到:filler |
2850 | out : |
2851 | mark_page_accessed(page) |
2852 | 返回:page |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |