Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:static void *__ref __earlyonly_bootmem_alloc(int node, unsigned long size, unsigned long align, unsigned long goal)

Type:void

Parameter:

TypeParameterName
intnode
unsigned longsize
unsigned longalign
unsigned longgoal
45  Return 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
Caller
NameDescribe
vmemmap_alloc_block