Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vunmap_page_range

Proto:static void vunmap_page_range(unsigned long addr, unsigned long end)

Type:void

Parameter:

TypeParameterName
unsigned longaddr
unsigned longend
127  BUG_ON(addr >= end)
128  pgd = a shortcut which implies the use of the kernel's pgd, instead* of a process's(addr)
129  Do
130  next = When walking page tables, get the address of the next boundary,* or the end address of the range if that comes earlier. Although no* vma end wraps to 0, rounded up __boundary may wrap to 0 throughout.(addr, end)
131  If pgd_none_or_clear_bad(pgd) Then Continue
133  vunmap_p4d_range(pgd, addr, next)
134  When pgd++, addr = next , addr != end cycle
Caller
NameDescribe
unmap_vmap_areaClear the pagetable entries of a given vmap_area
vb_free
unmap_kernel_range_noflushmap_kernel_range_noflush - unmap kernel VM area*@addr: start of the VM area to unmap*@size: size of the VM area to unmap* Unmap PFN_UP(@size) pages at @addr. The VM area @addr and @size* specify should have been allocated using get_vm_area() and its
unmap_kernel_rangemap_kernel_range - unmap kernel VM area and flush cache and TLB*@addr: start of the VM area to unmap*@size: size of the VM area to unmap* Similar to unmap_kernel_range_noflush() but flushes vcache before* the unmapping and tlb after.