函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmalloc.c Create Date:2022-07-27 16:30:11
Last Modify:2020-03-12 14:18:49 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
2607  返回:__vmalloc_node(size, 1, gfp_mask, prot, NUMA_NO_NODE, __builtin_return_address(0))
调用者
名称描述
copy_module_from_userSets info->hdr and info->len.
bpf_prog_alloc_no_stats
bpf_prog_realloc
__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.
alloc_large_system_hashallocate a large system hash table from bootmem* - it is assumed that the hash table must contain an exact power-of-2* quantity of entries* - limit is the number of hash buckets, not the total allocation size