函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memblock.c Create Date:2022-07-27 16:40:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:memblock_discard - discard memory and reserved arrays if they were allocated

函数原型:void __init memblock_discard(void)

返回类型:void

参数:

378  如果regions不等于memblock_reserved_init_regions
379  addr等于__pa(regions)
380  size等于 align the pointer to the (next) page boundary (sizeof(structmemblock_region) * max)
382  __memblock_free_late - free pages directly to buddy allocator*@base: phys starting address of the boot memory block*@size: size of the boot memory block in bytes* This is only useful when the memblock allocator has already been torn
385  如果regions不等于memblock_memory_init_regions
386  addr等于__pa(regions)
387  size等于 align the pointer to the (next) page boundary (sizeof(structmemblock_region) * max)
389  __memblock_free_late - free pages directly to buddy allocator*@base: phys starting address of the boot memory block*@size: size of the boot memory block in bytes* This is only useful when the memblock allocator has already been torn
调用者
名称描述
page_alloc_init_late