函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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,

函数原型:static int platform_pre_snapshot(int platform_mode)

返回类型:int

参数:

类型参数名称
intplatform_mode
155  返回:如果platform_modehibernation_opspre_snapshot()否则0
调用者
名称描述
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.