函数逻辑报告 |
Source Code:mm\memory.c |
Create Date:2022-07-27 16:08:46 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:__apply_to_page_range
函数原型:static int __apply_to_page_range(struct mm_struct *mm, unsigned long addr, unsigned long size, pte_fn_t fn, void *data, bool create)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct mm_struct * | mm | |
| unsigned long | addr | |
| unsigned long | size | |
| pte_fn_t | fn | |
| void * | data | |
| bool | create |
| 2151 | err等于0 |
| 2157 | 循环 |
| 2159 | 如果非create且pgd_none_or_clear_bad(pgd)则继续下一循环 |
| 2166 | 返回:err |
| 名称 | 描述 |
|---|---|
| apply_to_page_range | Scan a region of virtual memory, filling in page tables as necessary* and calling a provided function on each leaf page table. |
| apply_to_existing_page_range | Scan a region of virtual memory, calling a provided function on* each leaf page table where it exists.* Unlike apply_to_page_range, this does _not_ fill in page tables* where they are absent. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |