函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__vmalloc_node_flags

函数原型:static inline void *__vmalloc_node_flags(unsigned long size, int node, gfp_t flags)

返回类型:void

参数:

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