函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mark_nosave_pages - Mark pages that should not be saved.*@bm: Memory bitmap.* Set the bits in @bm that correspond to the page frames the contents of which* should not be saved.

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

返回类型:void

参数:

类型参数名称
struct memory_bitmap *bm
1047  如果链表为空则返回
1053  pr_debug("Marking nosave pages: [mem %#010llx-%#010llx]\n", (unsignedlonglong)start_pfn << PAGE_SHIFT determines the page size , ((unsignedlonglong)end_pfn << PAGE_SHIFT determines the page size ) - 1)
1058 pfn小于end_pfn循环如果pfn_valid(pfn)则
1066  mem_bm_set_bit_check(bm, pfn)
调用者
名称描述
create_basic_memory_bitmapsreate_basic_memory_bitmaps - Create bitmaps to hold basic page information