函数逻辑报告 |
Source Code:mm\filemap.c |
Create Date:2022-07-27 15:23:36 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:page_cache_delete_batch - delete several pages from page cache*@mapping: the mapping to which pages belong*@pvec: pagevec with pages to delete* The function walks over mapping->i_pages and removes pages passed in @pvec* from the mapping
函数原型:static void page_cache_delete_batch(struct address_space *mapping, struct pagevec *pvec)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct address_space * | mapping | |
| struct pagevec * | pvec |
| 298 | total_pages等于0 |
| 299 | i等于0 |
| 302 | mapping_set_update( & xas, mapping) |
| 304 | 如果i大于等于pagevec_count(pvec)则退出 |
| 320 | 继续下一循环 |
| 323 | WARN_ON_ONCE(!PageLocked(page)) |
| 325 | 如果 Our offset within mapping. 恒等于xa_index则 See page-flags.h for PAGE_MAPPING_FLAGS = NULL |
| 334 | 如果 Our offset within mapping. 加Returns the number of pages in this potentially compound page. 减1恒等于xa_index则i自加 |
| 337 | total_pages自加 |
| 339 | nrpages减等于total_pages |
| 名称 | 描述 |
|---|---|
| delete_from_page_cache_batch |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |