函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\internal.h Create Date:2022-07-27 07:09:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pageblock_pfn_to_page

函数原型:static inline struct page *pageblock_pfn_to_page(unsigned long start_pfn, unsigned long end_pfn, struct zone *zone)

返回类型:struct page

参数:

类型参数名称
unsigned longstart_pfn
unsigned longend_pfn
struct zone *zone
153  如果contiguous则返回:pfn_to_page(start_pfn)
156  返回: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
调用者
名称描述
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