Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:platform_pre_snapshot - Call platform to prepare the machine for hibernation.*@platform_mode: Whether or not to use the platform driver.* Use the platform driver to prepare the system for creating a hibernate image,

Proto:static int platform_pre_snapshot(int platform_mode)

Type:int

Parameter:

TypeParameterName
intplatform_mode
155  Return If platform_mode && hibernation_ops Then pre_snapshot() Else 0
Caller
NameDescribe
create_imagereate_image - Create a hibernation image.*@platform_mode: Whether or not to use the platform driver.* Execute device drivers' "late" and "noirq" freeze callbacks, create a* hibernation image and run the drivers' "noirq" and "early" thaw callbacks.