函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:check_header

函数原型:static int check_header(struct swsusp_info *info)

返回类型:int

参数:

类型参数名称
struct swsusp_info *info
2183  reason等于check_image_kernel(info)
2184  如果非reasonnum_physpages不等于get_num_physpages()则reason等于"memory size"
2186  如果reason
2187  打印错误信息("Image mismatch: %s\n", reason)
2188  返回:负EPERM
2190  返回:0
调用者
名称描述
load_headerload header - Check the image header and copy the data from it.