函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:static inline bool zone_intersects(struct zone *zone, unsigned long start_pfn, unsigned long nr_pages)

返回类型:bool

参数:

类型参数名称
struct zone *zone
unsigned longstart_pfn
unsigned longnr_pages
630  如果zone_is_empty(zone)则返回:false
632  如果start_pfn大于等于zone_end_pfn(zone)或start_pfnnr_pages小于等于内存域第一个页帧的索引则返回:false
636  返回:true