Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:zone_spanned_pages_in_node

Proto:static inline unsigned long __init zone_spanned_pages_in_node(int nid, unsigned long zone_type, unsigned long node_start_pfn, unsigned long node_end_pfn, unsigned long *zone_start_pfn, unsigned long *zone_end_pfn, unsigned long *zones_size)

Type:unsigned long

Parameter:

TypeParameterName
intnid
unsigned longzone_type
unsigned longnode_start_pfn
unsigned longnode_end_pfn
unsigned long *zone_start_pfn
unsigned long *zone_end_pfn
unsigned long *zones_size
6495  zone_start_pfn = node_start_pfn
6496  When zone < zone_type cycle zone_start_pfn += zones_size[zone]
6499  zone_end_pfn = zone_start_pfn + zones_size[zone_type]
6501  Return zones_size[zone_type]
Caller
NameDescribe
calculate_node_totalpages