Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:early_alloc

Proto:static __init void *early_alloc(size_t size, int node)

Type:void

Parameter:

TypeParameterName
size_tsize
intnode
86  ptr = memblock_alloc_try_nid - allocate boot memory block*@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 from where the allocation* is preferred (phys
89  If Not ptr Then panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.
93  Return ptr
Caller
NameDescribe
zero_pmd_populate
zero_pud_populate
zero_p4d_populate
kasan_populate_early_shadowkasan_populate_early_shadow - populate shadow memory region with* kasan_early_shadow_page*@shadow_start - start of the memory range to populate*@shadow_end - end of the memory range to populate