Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vzalloc_node - allocate memory on a specific node with zero fill*@size: allocation size*@node: numa node* Allocate enough pages to cover @size from the page level* allocator and map them into contiguous kernel virtual space.

Proto:void *vzalloc_node(unsigned long size, int node)

Type:void

Parameter:

TypeParameterName
unsigned longsize
intnode
2719  Return __vmalloc_node_flags(size, node, GFP_KERNEL | __GFP_ZERO)
Caller
NameDescribe
test_vzalloc_nodeAllocator uses a trailing node argument --------+ (e.g. kmalloc_node())* Allocator uses the gfp_t argument -----------+ | (e.g. kmalloc())* Allocator uses a special leading argument + | | (e.g. devm_kmalloc())* | | |
gen_pool_add_ownergen_pool_add_owner- add a new chunk of special memory to the pool*@pool: pool to add new memory chunk to*@virt: virtual starting address of memory chunk to add to pool*@phys: physical starting address of memory chunk to add to pool*@size: size in bytes of