Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:do_kimage_alloc_init

Proto:struct kimage *do_kimage_alloc_init(void)

Type:struct kimage

Parameter:Nothing

259  image = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
260  If Not image Then Return NULL
263  head = 0
264  entry = head
265  last_entry = head
266  Address of next control page to allocate for crash kernels. = ~0
267  Flags to indicate special processing = KEXEC_TYPE_DEFAULT
270  Initialization list head
273  Initialization list head
276  Initialization list head
278  Return image
Caller
NameDescribe
kimage_alloc_init
kimage_file_alloc_init