Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vmalloc_node - allocate memory on a specific node*@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 *vmalloc_node(unsigned long size, int node)

Type:void

Parameter:

TypeParameterName
unsigned longsize
intnode
2698  Return __vmalloc_node(size, 1, GFP_KERNEL, PAGE_KERNEL, node, __builtin_return_address(0))
Caller
NameDescribe
test_vmalloc_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())* | | |