函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Allocate the requested number of bytes with the requsted alignment* and return (the physical address) to the caller

函数原型:u64 __init e820__memblock_alloc_reserved(u64 size, u64 align)

返回类型:u64

参数:

类型参数名称
u64size
u64align
793  addr等于memblock_phys_alloc(size, align)
794  如果addr
795  e820__range_update_kexec(addr, size, E820_TYPE_RAM, E820_TYPE_RESERVED)
796  打印信息("update e820_table_kexec for e820__memblock_alloc_reserved()\n")
797  e820__update_table_kexec()
800  返回:addr
调用者
名称描述
e820__memblock_alloc_reserved_mpc_new