函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:hibernation_restore - Quiesce devices and restore from a hibernation image

函数原型:int hibernation_restore(int platform_mode)

返回类型:int

参数:

类型参数名称
intplatform_mode
519  pm_prepare_console()
520  Suspend and resume console messages over PM events
521  pm_restrict_gfp_mask()
522  error等于dpm_suspend_start(PMSG_QUIESCE)
523  如果非error
524  error等于sume_target_kernel - Restore system state from a hibernation image
530  BUG_ON(!error)
532  dpm_resume_end(PMSG_RECOVER)
533  pm_restore_gfp_mask()
534  resume_console()
535  pm_restore_console()
536  返回:error
调用者
名称描述
load_image_and_restore
snapshot_ioctl