Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:memblock_is_region_memory

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

Type:bool

Parameter:

TypeParameterName
phys_addr_tbase
phys_addr_tsize
1817  idx = memblock_search( & memory, base)
1818  end = base + adjust *@size so that (@base + *@size) doesn't overflow, return new size
1820  If idx == -1 Then Return false
1822  Return base + size >= end