Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:check_header

Proto:static int check_header(struct swsusp_info *info)

Type:int

Parameter:

TypeParameterName
struct swsusp_info *info
2183  reason = check_image_kernel(info)
2184  If Not reason && num_physpages != get_num_physpages() Then reason = "memory size"
2186  If reason Then
2187  pr_err("Image mismatch: %s\n", reason)
2188  Return -EPERM
2190  Return 0
Caller
NameDescribe
load_headerload header - Check the image header and copy the data from it.