Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Each page frame allocated for creating the image is marked by setting the* corresponding bits in forbidden_pages_map and free_pages_map simultaneously

Proto:void swsusp_set_page_free(struct page *page)

Type:void

Parameter:

TypeParameterName
struct page *page
1002  If Set bits in this map correspond to free page frames. Then memory_bm_set_bit(Set bits in this map correspond to free page frames. , page_to_pfn(page))
Caller
NameDescribe
get_image_pageget_image_page - Allocate a page for a hibernation image
alloc_image_page
prepare_imageprepare_image - Make room for loading hibernation image