Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\internal.h Create Date:2022-07-28 06:11:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pageblock_pfn_to_page

Proto:static inline struct page *pageblock_pfn_to_page(unsigned long start_pfn, unsigned long end_pfn, struct zone *zone)

Type:struct page

Parameter:

TypeParameterName
unsigned longstart_pfn
unsigned longend_pfn
struct zone *zone
153  If contiguous Then Return pfn_to_page(start_pfn)
156  Return Check that the whole (or subset of) a pageblock given by the interval of* [start_pfn, end_pfn) is valid and within the same zone, before scanning it* with the migration of free compaction scanner
Caller
NameDescribe
isolate_freepages_rangesolate_freepages_range() - isolate free pages
isolate_migratepages_rangesolate_migratepages_range() - isolate migrate-able pages in a PFN range*@cc: Compaction control structure