函数逻辑报告 |
Source Code:mm\memory.c |
Create Date:2022-07-27 16:07:44 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:zap_page_range - remove user pages in a given range*@vma: vm_area_struct holding the applicable pages*@start: starting address of pages to zap*@size: number of bytes to zap* Caller must protect the VMA list
函数原型:void zap_page_range(struct vm_area_struct *vma, unsigned long start, unsigned long size)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct vm_area_struct * | vma | |
unsigned long | start | |
unsigned long | size |
1350 | lru_add_drain() |
1351 | mmu_notifier_range_init( & range, MMU_NOTIFY_CLEAR, 0, vma, The address space we belong to. , start, start + size) |
1353 | tlb_gather_mmu( & tlb, The address space we belong to. , start, end) |
1355 | mmu_notifier_invalidate_range_start( & range) |
1356 | 以vma且Our start address within vm_mm. 小于end循环unmap_single_vma( & tlb, vma, start, end, NULL) |
1358 | mmu_notifier_invalidate_range_end( & range) |
1359 | tlb_finish_mmu( & tlb, start, end) |
名称 | 描述 |
---|---|
madvise_dontneed_single_vma | Application no longer needs these pages |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |