Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:free_vm_area

Proto:void free_vm_area(struct vm_struct *area)

Type:void

Parameter:

TypeParameterName
struct vm_struct *area
3185  ret = move_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
3186  BUG_ON(ret != area)
3187  kfree(area)
Caller
NameDescribe
alloc_vm_areaalloc_vm_area - allocate a range of kernel address space*@size: size of the area*@ptes: returns the PTEs for the address space* Returns: NULL on failure, vm_struct on success* This function reserves a range of kernel address space, and