Function report | 
Source Code:kernel\power\hibernate.c | 
Create Date:2022-07-28 09:59:04 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:hibernation_set_ops - Set the global hibernate operations.*@ops: Hibernation operations to use in subsequent hibernation transitions.
Proto:void hibernation_set_ops(const struct platform_hibernation_ops *ops)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const struct platform_hibernation_ops * | ops | 
| 81 | If ops && Not ( begin && end && pre_snapshot && prepare && finish && enter && pre_restore && restore_cleanup && leave) Then | 
| 84 | WARN_ON(1) | 
| 85 | Return | 
| 87 | lock_system_sleep() | 
| 88 | hibernation_ops = ops | 
| 89 | If ops Then hibernation_mode = HIBERNATION_PLATFORM | 
| 91 | Else if hibernation_mode == HIBERNATION_PLATFORM Then hibernation_mode = HIBERNATION_SHUTDOWN | 
| 94 | unlock_system_sleep() | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |