Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:adjust *@size so that (@base + *@size) doesn't overflow, return new size

Proto:static inline phys_addr_t memblock_cap_size(phys_addr_t base, phys_addr_t *size)

Type:phys_addr_t

Parameter:

TypeParameterName
phys_addr_tbase
phys_addr_t *size
146  Return size = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value( * size, PHYS_ADDR_MAX - base)
Caller
NameDescribe
memblock_add_range
memblock_isolate_range
memblock_is_region_memory
memblock_is_region_reserved