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:duplicate_memory_bitmap

Proto:static void duplicate_memory_bitmap(struct memory_bitmap *dst, struct memory_bitmap *src)

Type:void

Parameter:

TypeParameterName
struct memory_bitmap *dst
struct memory_bitmap *src
2147  memory_bm_position_reset(src)
2148  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
2149  When pfn != Data types related to memory bitmaps cycle
2150  memory_bm_set_bit(dst, pfn)
2151  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
Caller
NameDescribe
mark_unsafe_pagesmark_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.
prepare_imageprepare_image - Make room for loading hibernation image