函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmalloc.c Create Date:2022-07-27 16:28:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Free and unmap a vmap area

函数原型:static void free_unmap_vmap_area(struct vmap_area *va)

返回类型:void

参数:

类型参数名称
struct vmap_area *va
1384  flush_cache_vunmap(va_start, va_end)
1385  Clear the pagetable entries of a given vmap_area
1386  如果For use in fast paths after init_debug_pagealloc() has run, or when a* false negative result is not harmful when called too early.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.
调用者
名称描述
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