函数逻辑报告 | 
Source Code:mm\filemap.c | 
Create Date:2022-07-27 15:24:47 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:d_get_entries - gang pagecache lookup*@mapping: The address_space to search*@start: The starting page cache index*@nr_entries: The maximum number of entries*@entries: Where the resulting entries are placed*@indices: The cache indices corresponding to the
函数原型:unsigned find_get_entries(struct address_space *mapping, unsigned long start, unsigned int nr_entries, struct page **entries, unsigned long *indices)
返回类型:unsigned
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct address_space * | mapping | |
| unsigned long | start | |
| unsigned int | nr_entries | |
| struct page ** | entries | |
| unsigned long * | indices | 
| 1730 | ret等于0 | 
| 1732 | 如果非nr_entries则返回:0 | 
| 1744 | 如果xa_is_value() - Determine if an entry is a value.*@entry: XArray entry.* Context: Any context.* Return: True if the entry is a value, false if it is a pointer.则转到:export | 
| 1747 | 如果非page_cache_get_speculative(page)则转到:retry | 
| 1753 | page等于find_subpage(page, xa_index) | 
| 1755 | export : | 
| 1758 | 如果ret先自加恒等于nr_entries则退出 | 
| 1760 | 继续下一循环 | 
| 1761 | put_page : | 
| 1763 | retry : | 
| 1767 | 返回:ret | 
| 名称 | 描述 | 
|---|---|
| pagevec_lookup_entries | pagevec_lookup_entries - gang pagecache lookup*@pvec: Where the resulting entries are placed*@mapping: The address_space to search*@start: The starting entry index*@nr_entries: The maximum number of pages*@indices: The cache indices corresponding to the | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |