Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memblock.c Create Date:2022-07-28 15:09:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:memblock_discard - discard memory and reserved arrays if they were allocated

Proto:void __init memblock_discard(void)

Type:void

Parameter:Nothing

378  If regions != memblock_reserved_init_regions Then
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  If regions != memblock_memory_init_regions Then
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