函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\power\snapshot.c Create Date:2022-07-27 11:01:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static void mark_unsafe_pages(struct memory_bitmap *bm)

返回类型:void

参数:

类型参数名称
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 pfn不等于Data types related to memory bitmaps循环
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
调用者
名称描述
prepare_imageprepare_image - Make room for loading hibernation image