函数逻辑报告 |
Source Code:mm\filemap.c |
Create Date:2022-07-27 15:24:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:d_get_pages_range_tag - find and return pages in given range matching @tag*@mapping: the address_space to search*@index: the starting page index*@end: The final page index (inclusive)*@tag: the tag index*@nr_pages: the maximum number of pages*@pages:
函数原型:unsigned find_get_pages_range_tag(struct address_space *mapping, unsigned long *index, unsigned long end, xa_mark_t tag, unsigned int nr_pages, struct page **pages)
返回类型:unsigned
参数:
类型 | 参数 | 名称 |
---|---|---|
struct address_space * | mapping | |
unsigned long * | index | |
unsigned long | end | |
xa_mark_t | tag | |
unsigned int | nr_pages | |
struct page ** | pages |
1919 | ret等于0 |
1921 | 如果此条件成立可能性小(为编译器优化)(!nr_pages)则返回:0 |
1936 | 如果非page_cache_get_speculative(page)则转到:retry |
1943 | pages[ret]等于find_subpage(page, xa_index) |
1948 | 继续下一循环 |
1949 | put_page : |
1951 | retry : |
1961 | 如果end恒等于The type of an index into the pagecache.减1则index等于The type of an index into the pagecache.减1 |
1965 | out : |
1968 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |