函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:_image_page - Free a page allocated for hibernation image.*@addr: Address of the page to free.*@clear_nosave_free: If set, clear the PageNosaveFree bit for the page.* The page to free should have been allocated by get_image_page() (page flags

函数原型:static inline void free_image_page(void *addr, int clear_nosave_free)

返回类型:void

参数:

类型参数名称
void *addr
intclear_nosave_free
224  BUG_ON(!virt_addr_valid(addr))
226  page等于virt_to_page(kaddr) returns a valid pointer if and only if* virt_addr_valid(kaddr) returns true.(addr)
228  swsusp_unset_page_forbidden(page)
229  如果clear_nosave_freeswsusp_unset_page_free(page)
232  __free_page(page)
调用者
名称描述
free_list_of_pages
free_zone_bm_rtree
prepare_imageprepare_image - Make room for loading hibernation image