Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mark_unsafe_pages - Mark pages that were used before hibernation.* Mark the pages that cannot be used for storing the image during restoration,* because they conflict with the pages that had been used before hibernation.

Proto:static void mark_unsafe_pages(struct memory_bitmap *bm)

Type:void

Parameter:

TypeParameterName
struct memory_bitmap *bm
2166  memory_bm_position_reset(Set bits in this map correspond to free page frames. )
2167  pfn = memory_bm_rtree_next_pfn - Find the next set bit in a memory bitmap.*@bm: Memory bitmap.* Starting from the last returned position this function searches for the next* set bit in @bm and returns the PFN represented by it. If no more bits are
2168  When pfn != Data types related to memory bitmaps cycle
2169  memory_bm_clear_current(Set bits in this map correspond to free page frames. )
2170  pfn = memory_bm_rtree_next_pfn - Find the next set bit in a memory bitmap.*@bm: Memory bitmap.* Starting from the last returned position this function searches for the next* set bit in @bm and returns the PFN represented by it. If no more bits are
2174  duplicate_memory_bitmap(Set bits in this map correspond to free page frames. , bm)
2176  allocated_unsafe_pages = 0
Caller
NameDescribe
prepare_imageprepare_image - Make room for loading hibernation image