Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Free and unmap a vmap area

Proto:static void free_unmap_vmap_area(struct vmap_area *va)

Type:void

Parameter:

TypeParameterName
struct vmap_area *va
1384  flush_cache_vunmap(va_start, va_end)
1385  Clear the pagetable entries of a given vmap_area
1386  If For use in fast paths after init_debug_pagealloc() has run, or when a* false negative result is not harmful when called too early. Then flush_tlb_kernel_range(va_start, va_end)
1389  Free a vmap area, caller ensuring that the area has been unmapped* and flush_cache_vunmap had been called for the correct range* previously.
Caller
NameDescribe
vm_unmap_ramvm_unmap_ram - unmap linear kernel address space set up by vm_map_ram*@mem: the pointer returned by vm_map_ram*@count: the count passed to that vm_map_ram call (cannot unmap partial)
remove_vm_areamove_vm_area - find and remove a continuous kernel virtual area*@addr: base address* Search for the kernel VM area starting at @addr, and remove it.* This function returns the found VM area, but using it is NOT safe