Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:memblock_free

Proto:int __attribute__((__section__(".meminit.text"))) __attribute__((__cold__)) __attribute__((__no_instrument_function__))memblock_free(phys_addr_t base, phys_addr_t size)

Type:int

Parameter:

TypeParameterName
phys_addr_tbase
phys_addr_tsize
814  end = base + size - 1
819  kmemleak_free_part_phys(base, size)
820  Return memblock_remove_range( & reserved, base, size)
Caller
NameDescribe
cma_declare_contiguousma_declare_contiguous() - reserve custom contiguous area*@base: Base address of the reserved area optional, use 0 for any*@size: Size of the reserved area (in bytes),*@limit: End address of the reserved memory (optional, 0 for any)
memblock_double_array