Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\machine_kexec_32.c Create Date:2022-07-28 08:36:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:machine_kexec_alloc_page_tables

Proto:static int machine_kexec_alloc_page_tables(struct kimage *image)

Type:int

Parameter:

TypeParameterName
struct kimage *image
73  pgd = __get_free_pages(GFP_KERNEL | __GFP_ZERO, PGD_ALLOCATION_ORDER)
79  pte0 = get_zeroed_page(GFP_KERNEL)
80  pte1 = get_zeroed_page(GFP_KERNEL)
81  If Not pgd || Not pte0 || Not pte1 Then
86  Return -ENOMEM
88  Return 0
Caller
NameDescribe
machine_kexec_prepareA architecture hook called to validate the* proposed image and prepare the control pages* as needed