函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmalloc.c Create Date:2022-07-27 16:30:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:void *vmalloc_node(unsigned long size, int node)

返回类型:void

参数:

类型参数名称
unsigned longsize
intnode
2698  返回:__vmalloc_node(size, 1, GFP_KERNEL, PAGE_KERNEL, node, __builtin_return_address(0))
调用者
名称描述
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())* | | |