函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:_basic_memory_bitmaps - Free memory bitmaps holding basic information.* Free memory bitmaps allocated by create_basic_memory_bitmaps(). The* auxiliary pointers are necessary so that the bitmaps themselves are not* referred to while they are being freed.

函数原型:void free_basic_memory_bitmaps(void)

返回类型:void

参数:

1133  如果WARN_ON(!(Set bits in this map correspond to the page frames the contents of which* should not be saved during the suspend. && Set bits in this map correspond to free page frames. ))则返回
1136  bm1等于Set bits in this map correspond to the page frames the contents of which* should not be saved during the suspend.
1137  bm2等于Set bits in this map correspond to free page frames.
1138  Set bits in this map correspond to the page frames the contents of which* should not be saved during the suspend. = NULL
1139  Set bits in this map correspond to free page frames. = NULL
1140  memory_bm_free(bm1, PG_UNSAFE_CLEAR)
1141  释放内存
1142  memory_bm_free(bm2, PG_UNSAFE_CLEAR)
1143  释放内存
1145  pr_debug("Basic memory bitmaps freed\n")
调用者
名称描述
hibernatehibernate - Carry out system hibernation, including saving the image.
snapshot_release
snapshot_ioctl
load_image_and_restore