函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:copy_data_pages

函数原型:static void copy_data_pages(struct memory_bitmap *copy_bm, struct memory_bitmap *orig_bm)

返回类型:void

参数:

类型参数名称
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 pfn小于max_zone_pfn循环如果page_is_saveable(zone, pfn)则
1423  memory_bm_set_bit(orig_bm, pfn)
1425  memory_bm_position_reset(orig_bm)
1426  memory_bm_position_reset(copy_bm)
1427  循环
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  如果此条件成立可能性小(为编译器优化)(pfn == Data types related to memory bitmaps)则退出
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)
调用者
名称描述
swsusp_save