函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:early_alloc

函数原型:static __init void *early_alloc(size_t size, int node)

返回类型:void

参数:

类型参数名称
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  如果非ptrpanic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.
93  返回:ptr
调用者
名称描述
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