Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__vmalloc

Proto:void *__vmalloc(unsigned long size, gfp_t gfp_mask, pgprot_t prot)

Type:void

Parameter:

TypeParameterName
unsigned longsize
gfp_tgfp_mask
pgprot_tprot
2607  Return __vmalloc_node(size, 1, gfp_mask, prot, NUMA_NO_NODE, __builtin_return_address(0))
Caller
NameDescribe
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