Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:hibernate_setup

Proto:static int __init hibernate_setup(char *str)

Type:int

Parameter:

TypeParameterName
char *str
1192  If Not strncmp(str, "noresume", 8) Then
1193  noresume = 1
1194  Else if Not strncmp(str, "nocompress", 10) Then
1195  nocompress = 1
1196  Else if Not strncmp(str, "no", 2) Then
1197  noresume = 1
1198  nohibernate = 1
1199  Else if IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_STRICT_KERNEL_RWX) && Not strncmp(str, "protect_image", 13) Then
1201  enable_restore_image_protection()
1203  Return 1