Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:should_skip_region

Proto:static bool should_skip_region(struct memblock_region *m, int nid, int flags)

Type:bool

Parameter:

TypeParameterName
struct memblock_region *m
intnid
intflags
963  m_nid = memblock_get_region_node(m)
966  If nid != NUMA_NO_NODE && nid != m_nid Then Return true
970  If movable_node_is_enabled() && memblock_is_hotpluggable(m) Then Return true
974  If flags & mirrored region && Not memblock_is_mirror(m) Then Return true
978  If Not (flags & don't add to kernel direct mapping ) && memblock_is_nomap(m) Then Return true
981  Return false
Caller
NameDescribe
__next_mem_range
__next_mem_range_rev