函数逻辑报告 |
Source Code:mm\memory.c |
Create Date:2022-07-27 16:07:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:unmap_single_vma
函数原型:static void unmap_single_vma(struct mmu_gather *tlb, struct vm_area_struct *vma, unsigned long start_addr, unsigned long end_addr, struct zap_details *details)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mmu_gather * | tlb | |
struct vm_area_struct * | vma | |
unsigned long | start_addr | |
unsigned long | end_addr | |
struct zap_details * | details |
1269 | 如果start大于等于The first byte after our end addresswithin vm_mm. 则返回 |
1272 | 如果end小于等于Our start address within vm_mm. 则返回 |
1278 | 如果此条件成立可能性小(为编译器优化)(Flags, see mm.h. & Page-ranges managed without "struct page", just pure PFN )则untrack_pfn(vma, 0, 0) |
1282 | 如果此条件成立可能性小(为编译器优化)(is_vm_hugetlb_page(vma))则 |
1294 | 如果File we map to (can be NULL). 则 |
1295 | i_mmap_lock_write(f_mapping) |
1296 | __unmap_hugepage_range_final(tlb, vma, start, end, NULL) |
1297 | i_mmap_unlock_write(f_mapping) |
名称 | 描述 |
---|---|
unmap_vmas | map_vmas - unmap a range of memory covered by a list of vma's*@tlb: address of the caller's struct mmu_gather*@vma: the starting vma*@start_addr: virtual address at which to start unmapping*@end_addr: virtual address at which to end unmapping |
zap_page_range | 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 |
zap_page_range_single | zap_page_range_single - remove user pages in a given range*@vma: vm_area_struct holding the applicable pages*@address: starting address of pages to zap*@size: number of bytes to zap*@details: details of shared cache invalidation |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |