Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:memblock_remove_region

Proto:static void __attribute__((__section__(".meminit.text"))) __attribute__((__cold__)) __attribute__((__no_instrument_function__))memblock_remove_region(struct memblock_type *type, unsigned long r)

Type:void

Parameter:

TypeParameterName
struct memblock_type *type
unsigned longr
354  total_size -= size
355  Not static to avoid a conflict with the prototype in the Linux headers.
357  cnt--
360  If cnt == 0 Then
361  WARN_ON(total_size != 0)
362  cnt = 1
363  base = 0
364  size = 0
365  flags = 0
366  memblock_set_region_node( & regions[0], MAX_NUMNODES)
Caller
NameDescribe
memblock_remove_range
memblock_cap_memory_range
memblock_trim_memory