函数逻辑报告 |
Source Code:mm\pagewalk.c |
Create Date:2022-07-27 16:24:02 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:walk_page_range - walk page table with caller specific callbacks*@mm: mm_struct representing the target process of page table walk*@start: start address of the virtual address range*@end: end address of the virtual address range*@ops: operation to call
函数原型:int walk_page_range(struct mm_struct *mm, unsigned long start, unsigned long end, const struct mm_walk_ops *ops, void *private)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct mm_struct * | mm | |
| unsigned long | start | |
| unsigned long | end | |
| const struct mm_walk_ops * | ops | |
| void * | private |
| 321 | err等于0 |
| 336 | lockdep_assert_held( & mmap_sem) |
| 339 | 循环 |
| 340 | 如果非vma则 |
| 343 | 否则如果start小于Our start address within vm_mm. 则 |
| 344 | vma = NULL |
| 345 | next等于两数取小(end, Our start address within vm_mm. ) |
| 346 | 否则 |
| 369 | 返回:err |
| 名称 | 描述 |
|---|---|
| mprotect_fixup | |
| madvise_cold_page_range | |
| madvise_pageout_page_range | |
| madvise_free_single_vma | |
| queue_pages_range | Walk through page tables and collect pages to be migrated |
| mem_cgroup_count_precharge | |
| mem_cgroup_move_charge | |
| hmm_range_fault | hmm_range_fault - try to fault some address in a virtual address range*@range: range being faulted*@flags: HMM_FAULT_* flags* Return: the number of valid pages in range->pfns[] (from range start* address), which may be zero |
| do_mincore | Do a chunk of "sys_mincore()". We've already checked* all the arguments, we hold the mmap semaphore: we should* just return the amount of info we're asked for. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |