函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:clear_free_pages

函数原型:void clear_free_pages(void)

返回类型:void

参数:

1150  bm等于Set bits in this map correspond to free page frames.
1153  如果WARN_ON(!(Set bits in this map correspond to free page frames. ))则返回
1156  如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_PAGE_POISONING_ZERO)或want_init_on_free()则
1157  memory_bm_position_reset(bm)
1158  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
1165  memory_bm_position_reset(bm)
1166  打印信息("free pages cleared after restore\n")
调用者
名称描述
create_imagereate_image - Create a hibernation image.*@platform_mode: Whether or not to use the platform driver.* Execute device drivers' "late" and "noirq" freeze callbacks, create a* hibernation image and run the drivers' "noirq" and "early" thaw callbacks.