函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\nommu.c Create Date:2022-07-27 16:02:32
Last Modify:2020-03-17 21:26:27 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__vmalloc

函数原型:void *__vmalloc(unsigned long size, gfp_t gfp_mask, pgprot_t prot)

返回类型:void

参数:

类型参数名称
unsigned longsize
gfp_tgfp_mask
pgprot_tprot
149  返回:kmalloc(size, (gfp_mask | __GFP_COMP) & ~__GFP_HIGHMEM)
调用者
名称描述
groups_alloc
pcpu_mem_zallocpcpu_mem_zalloc - allocate memory*@size: bytes to allocate*@gfp: allocation flags* Allocate @size bytes. If @size is smaller than PAGE_SIZE,* kzalloc() is used; otherwise, the equivalent of vzalloc() is used.
__vmalloc_node_flags
__vmalloc_user_flags
vmallocvmalloc - allocate virtually contiguous memory*@size: allocation size* Allocate enough pages to cover @size from the page level* allocator and map them into contiguous kernel virtual space.* For tight control over page level allocator and protection flags
vzallocvzalloc - allocate virtually contiguous memory with zero fill*@size: allocation size* Allocate enough pages to cover @size from the page level* allocator and map them into contiguous kernel virtual space
vmalloc_execvmalloc_exec - allocate virtually contiguous, executable memory*@size: allocation size* Kernel-internal function to allocate enough pages to cover @size* the page level allocator and map them into contiguous and* executable kernel virtual space
vmalloc_32vmalloc_32 - allocate virtually contiguous memory (32bit addressable)*@size: allocation size* Allocate enough 32bit PA addressable pages to cover @size from the* page level allocator and map them into contiguous kernel virtual space.