Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Allocate the requested number of bytes with the requsted alignment* and return (the physical address) to the caller

Proto:u64 __init e820__memblock_alloc_reserved(u64 size, u64 align)

Type:u64

Parameter:

TypeParameterName
u64size
u64align
793  addr = memblock_phys_alloc(size, align)
794  If addr Then
795  e820__range_update_kexec(addr, size, E820_TYPE_RAM, E820_TYPE_RESERVED)
796  pr_info("update e820_table_kexec for e820__memblock_alloc_reserved()\n")
797  e820__update_table_kexec()
800  Return addr
Caller
NameDescribe
e820__memblock_alloc_reserved_mpc_new