函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Allocate a block of memory to be used to back the virtual memory map* or to back the page tables that are used to create the mapping.* Uses the main allocators if they are available, else bootmem.

函数原型:static void *__ref __earlyonly_bootmem_alloc(int node, unsigned long size, unsigned long align, unsigned long goal)

返回类型:void

参数:

类型参数名称
intnode
unsigned longsize
unsigned longalign
unsigned longgoal
45  返回:memblock_alloc_try_nid_raw - allocate boot memory block without zeroing* memory and without panicking*@size: size of memory block to be allocated in bytes*@align: alignment of the region and block's size*@min_addr: the lower bound of the memory region
调用者
名称描述
vmemmap_alloc_block