| Function report | 
| Source Code: kernel\power\user.c | Create Date:2022-07-28 10:03:44 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:snapshot_release
Proto:static int snapshot_release(struct inode *inode, struct file *filp)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct inode * | inode | |
| struct file * | filp | 
| 113 | lock_system_sleep() | 
| 118 | If frozen Then | 
| 119 | pm_restore_gfp_mask() | 
| 121 | thaw_processes() | 
| 122 | Else if free_bitmaps Then | 
| 125 | pm_notifier_call_chain(mode == O_RDONLY ? Hibernation finished : Restore failed ) | 
| 127 | atomic_inc( & snapshot_device_available) | 
| 129 | unlock_system_sleep() | 
| 131 | Return 0 | 
| 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 |