Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memory.c Create Date:2022-07-28 14:40:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:void unmap_vmas(struct mmu_gather *tlb, struct vm_area_struct *vma, unsigned long start_addr, unsigned long end_addr)

Type:void

Parameter:

TypeParameterName
struct mmu_gather *tlb
struct vm_area_struct *vma
unsigned longstart_addr
unsigned longend_addr
1328  mmu_notifier_range_init( & range, MMU_NOTIFY_UNMAP, 0, vma, The address space we belong to. , start_addr, end_addr)
1330  mmu_notifier_invalidate_range_start( & range)
1331  When vma && Our start address within vm_mm. < end_addr cycle unmap_single_vma(tlb, vma, start_addr, end_addr, NULL)
1333  mmu_notifier_invalidate_range_end( & range)
Caller
NameDescribe
unmap_region
exit_mmapRelease all mmaps.