Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:memblock_add_node

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

Type:int

Parameter:

TypeParameterName
phys_addr_tbase
phys_addr_tsize
intnid
679  Return memblock_add_range( & memory, base, size, nid, 0)
Caller
NameDescribe
add_memory_resourceNOTE: The caller must call lock_device_hotplug() to serialize hotplug* and online/offline operations (triggered e.g. by sysfs).* we are OK calling __meminit stuff here - we have CONFIG_MEMORY_HOTPLUG