函数逻辑报告

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

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

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

返回类型:void

参数:

类型参数名称
unsigned longsize
intnode
2719  返回:__vmalloc_node_flags(size, node, GFP_KERNEL | __GFP_ZERO)
调用者
名称描述
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