Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:is_vmalloc_or_module_addr

Proto:int is_vmalloc_or_module_addr(const void *x)

Type:int

Parameter:

TypeParameterName
const void *x
259  addr = x
260  If addr >= MODULES_VADDR && addr < MODULES_END Then Return 1
263  Return Determine if an address is within the vmalloc range* On nommu, vmalloc/vfree wrap through kmalloc/kfree directly, so there* is no special casing required.
Caller
NameDescribe
vmalloc_to_pageWalk a vmap address to the struct page it maps.
__purge_vmap_area_lazyPurges all lazily-freed vmap areas.