Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mmzone.h Create Date:2022-07-28 05:37:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Return true if [start_pfn, start_pfn + nr_pages) range has a non-empty* intersection with the given zone

Proto:static inline bool zone_intersects(struct zone *zone, unsigned long start_pfn, unsigned long nr_pages)

Type:bool

Parameter:

TypeParameterName
struct zone *zone
unsigned longstart_pfn
unsigned longnr_pages
630  If zone_is_empty(zone) Then Return false
632  If start_pfn >= zone_end_pfn(zone) || start_pfn + nr_pages <= zone_start_pfn == zone_start_paddr >> PAGE_SHIFT Then Return false
636  Return true