Function report | 
Source Code:mm\memory.c | 
Create Date:2022-07-28 14:40:47 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:unmap_single_vma
Proto: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)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct mmu_gather * | tlb | |
| struct vm_area_struct * | vma | |
| unsigned long | start_addr | |
| unsigned long | end_addr | |
| struct zap_details * | details | 
| 1266 | start = max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(Our start address within vm_mm. , start_addr) | 
| 1269 | If start >= The first byte after our end addresswithin vm_mm. Then Return | 
| 1271 | end = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(The first byte after our end addresswithin vm_mm. , end_addr) | 
| 1272 | If end <= Our start address within vm_mm. Then Return | 
| 1278 | If Value for the false possibility is greater at compile time(Flags, see mm.h. & Page-ranges managed without "struct page", just pure PFN ) Then untrack_pfn(vma, 0, 0) | 
| 1294 | If File we map to (can be NULL). Then | 
| 1295 | i_mmap_lock_write(f_mapping) | 
| 1296 | __unmap_hugepage_range_final(tlb, vma, start, end, NULL) | 
| 1297 | i_mmap_unlock_write(f_mapping) | 
| Name | Describe | 
|---|---|
| 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 | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |