Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\power\snapshot.c Create Date:2022-07-28 10:00:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:swsusp_page_is_free

Proto:static int swsusp_page_is_free(struct page *page)

Type:int

Parameter:

TypeParameterName
struct page *page
1008  Return If Set bits in this map correspond to free page frames. Then memory_bm_test_bit(Set bits in this map correspond to free page frames. , page_to_pfn(page)) Else 0
Caller
NameDescribe
get_image_pageget_image_page - Allocate a page for a hibernation image
saveable_pagesaveable_page - Check if the given page is saveable
prepare_imageprepare_image - Make room for loading hibernation image
get_bufferget_buffer - Get the address to store the next image data page.* Get the address that snapshot_write_next() should return to its caller to* write to.