Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:03:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:struct page *__pageblock_pfn_to_page(unsigned long start_pfn, unsigned long end_pfn, struct zone *zone)
Type:struct page
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | start_pfn | |
| unsigned long | end_pfn | |
| struct zone * | zone |
| 1522 | end_pfn-- |
| 1528 | If Not start_page Then Return NULL |
| 1531 | If page_zone(start_page) != zone Then Return NULL |
| 1534 | end_page = pfn_to_page(end_pfn) |
| 1540 | Return start_page |
| Name | Describe |
|---|---|
| set_zone_contiguous | |
| pageblock_pfn_to_page |
| 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 |