Function report |
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 activity | Download SCCT | Chinese |
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:
| Type | Parameter | Name |
|---|---|---|
| struct zone * | zone | |
| unsigned long | start_pfn | |
| unsigned long | nr_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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |