Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__get_safe_page

Proto:static void *__get_safe_page(gfp_t gfp_mask)

Type:void

Parameter:

TypeParameterName
gfp_tgfp_mask
177  If List of "safe" pages (ie. pages that were not used by the image kernel* before hibernation) that may be used as temporary storage for image kernel* memory contents. Then
178  ret = List of "safe" pages (ie. pages that were not used by the image kernel* before hibernation) that may be used as temporary storage for image kernel* memory contents.
180  List of "safe" pages (ie. pages that were not used by the image kernel* before hibernation) that may be used as temporary storage for image kernel* memory contents. = next
181  memset(ret, 0, PAGE_SIZE)
182  Return ret
184  Return get_image_page - Allocate a page for a hibernation image
Caller
NameDescribe
get_safe_page
chain_alloc