Function report |
Source Code:kernel\power\snapshot.c |
Create Date:2022-07-28 10:00:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:saveable_page - Check if the given page is saveable
Proto:static struct page *saveable_page(struct zone *zone, unsigned long pfn)
Type:struct page
Parameter:
Type | Parameter | Name |
---|---|---|
struct zone * | zone | |
unsigned long | pfn |
1294 | BUG_ON(PageHighMem(page)) |
1296 | If swsusp_page_is_forbidden(page) || swsusp_page_is_free(page) Then Return NULL |
1302 | If PageReserved(page) && ( Not kernel_page_present(page) || pfn_is_nosave(pfn)) Then Return NULL |
1306 | If page_is_guard(page) Then Return NULL |
1309 | Return page |
Name | Describe |
---|---|
count_data_pages | _data_pages - Compute the total number of saveable non-highmem pages. |
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 |