函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:duplicate_memory_bitmap

函数原型:static void duplicate_memory_bitmap(struct memory_bitmap *dst, struct memory_bitmap *src)

返回类型:void

参数:

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