Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__find_vmap_area

Proto:static struct vmap_area *__find_vmap_area(unsigned long addr)

Type:struct vmap_area

Parameter:

TypeParameterName
unsigned longaddr
416  n = rb_node
418  When n cycle
421  va = rb_entry(n, structvmap_area, rb_node)
422  If addr < va_start Then n = rb_left
424  Else if addr >= va_end Then n = rb_right
426  Else Return va
430  Return NULL
Caller
NameDescribe
find_vmap_area
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