Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:memblock_setclr_flag

Proto:static int __attribute__((__section__(".meminit.text"))) __attribute__((__cold__)) __attribute__((__no_instrument_function__))memblock_setclr_flag(phys_addr_t base, phys_addr_t size, int set, int flag)

Type:int

Parameter:

TypeParameterName
phys_addr_tbase
phys_addr_tsize
intset
intflag
847  type = memory
850  ret = memblock_isolate_range(type, base, size, & start_rgn, & end_rgn)
851  If ret Then Return ret
854  When i < end_rgn cycle
855  r = regions[i]
857  If set Then flags |= flag
859  Else flags &= ~flag
863  memblock_merge_regions(type)
864  Return 0
Caller
NameDescribe
memblock_mark_hotplug
memblock_clear_hotplug
memblock_mark_mirror
memblock_mark_nomap
memblock_clear_nomap