函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:swsusp_page_is_free

函数原型:static int swsusp_page_is_free(struct page *page)

返回类型:int

参数:

类型参数名称
struct page *page
1008  返回:如果Set bits in this map correspond to free page frames. memory_bm_test_bit(Set bits in this map correspond to free page frames. , page_to_pfn(page))否则0
调用者
名称描述
get_image_pageget_image_page - Allocate a page for a hibernation image
saveable_pagesaveable_page - Check if the given page is saveable
prepare_imageprepare_image - Make room for loading hibernation image
get_bufferget_buffer - Get the address to store the next image data page.* Get the address that snapshot_write_next() should return to its caller to* write to.