函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:machine_kexec_alloc_page_tables

函数原型:static int machine_kexec_alloc_page_tables(struct kimage *image)

返回类型:int

参数:

类型参数名称
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  如果非pgd或非pte0或非pte1
86  返回:负ENOMEM
88  返回:0
调用者
名称描述
machine_kexec_prepareA architecture hook called to validate the* proposed image and prepare the control pages* as needed