函数逻辑报告 |
Source Code:mm\filemap.c |
Create Date:2022-07-27 15:24:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:d_get_pages_range - gang pagecache lookup*@mapping: The address_space to search*@start: The starting page index*@end: The final page index (inclusive)*@nr_pages: The maximum number of pages*@pages: Where the resulting pages are placed*
函数原型:unsigned find_get_pages_range(struct address_space *mapping, unsigned long *start, unsigned long end, unsigned int nr_pages, struct page **pages)
返回类型:unsigned
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct address_space * | mapping | |
| unsigned long * | start | |
| unsigned long | end | |
| unsigned int | nr_pages | |
| struct page ** | pages |
| 1797 | ret等于0 |
| 1799 | 如果此条件成立可能性小(为编译器优化)(!nr_pages)则返回:0 |
| 1810 | 如果非page_cache_get_speculative(page)则转到:retry |
| 1817 | pages[ret]等于find_subpage(page, xa_index) |
| 1822 | 继续下一循环 |
| 1823 | put_page : |
| 1825 | retry : |
| 1835 | 如果end恒等于The type of an index into the pagecache.减1则start等于The type of an index into the pagecache.减1 |
| 1839 | out : |
| 1842 | 返回:ret |
| 名称 | 描述 |
|---|---|
| pagevec_lookup_range | pagevec_lookup_range - gang pagecache lookup*@pvec: Where the resulting pages are placed*@mapping: The address_space to search*@start: The starting page index*@end: The final page index* pagevec_lookup_range() will search for & return a group of up to |
| find_get_pages |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |