Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\power\snapshot.c Create Date:2022-07-28 10:00:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:_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

Proto:static inline void free_image_page(void *addr, int clear_nosave_free)

Type:void

Parameter:

TypeParameterName
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  If clear_nosave_free Then swsusp_unset_page_free(page)
232  __free_page(page)
Caller
NameDescribe
free_list_of_pages
free_zone_bm_rtree
prepare_imageprepare_image - Make room for loading hibernation image