函数逻辑报告 |
Source Code:mm\filemap.c |
Create Date:2022-07-27 15:25:38 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:filemap_map_pages
函数原型:void filemap_map_pages(struct vm_fault *vmf, unsigned long start_pgoff, unsigned long end_pgoff)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct vm_fault * | vmf | |
unsigned long | start_pgoff | |
unsigned long | end_pgoff |
2607 | last_pgoff等于start_pgoff |
2616 | 如果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.则转到:next |
2623 | 如果PageLocked(page)则转到:next |
2625 | 如果非page_cache_get_speculative(page)则转到:next |
2631 | page等于find_subpage(page, xa_index) |
2633 | 如果非PageUptodate(page)或PageReadahead(page)或PageHWPoison(page)则转到:skip |
2640 | 如果 See page-flags.h for PAGE_MAPPING_FLAGS 不等于mapping或非PageUptodate(page)则转到:unlock |
2644 | 如果 Our offset within mapping. 大于等于max_idx则转到:unlock |
2653 | last_pgoff等于xa_index |
2654 | 如果alloc_set_pte(vmf, NULL, page)则转到:unlock |
2657 | 转到:next |
2658 | unlock : |
2660 | skip : |
2662 | next : |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |