Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:copy_data_pages

Proto:static void copy_data_pages(struct memory_bitmap *copy_bm, struct memory_bitmap *orig_bm)

Type:void

Parameter:

TypeParameterName
struct memory_bitmap *copy_bm
struct memory_bitmap *orig_bm
1416  do nothing (zone)
1419  mm/page_alloc.c
1420  max_zone_pfn = zone_end_pfn(zone)
1421  When pfn < max_zone_pfn cycle If page_is_saveable(zone, pfn) Then
1423  memory_bm_set_bit(orig_bm, pfn)
1425  memory_bm_position_reset(orig_bm)
1426  memory_bm_position_reset(copy_bm)
1427  cycle
1428  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
1429  If Value for the false possibility is greater at compile time(pfn == Data types related to memory bitmaps) Then Break
1431  copy_data_page(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, pfn)
Caller
NameDescribe
swsusp_save