函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:is_vmalloc_or_module_addr

函数原型:int is_vmalloc_or_module_addr(const void *x)

返回类型:int

参数:

类型参数名称
const void *x
259  addr等于x
260  如果addr大于等于MODULES_VADDRaddr小于MODULES_END则返回:1
263  返回: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.
调用者
名称描述
vmalloc_to_pageWalk a vmap address to the struct page it maps.
__purge_vmap_area_lazyPurges all lazily-freed vmap areas.