| Function report | 
| Source Code: kernel\power\wakelock.c | Create Date:2022-07-28 10:04:27 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:pm_wake_unlock
Proto:int pm_wake_unlock(const char *buf)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const char * | buf | 
| 258 | ret = 0 | 
| 260 | If Not Check operation authority Then Return -EPERM | 
| 273 | mutex_lock( & wakelocks_lock) | 
| 275 | wl = wakelock_lookup_add(buf, len, false) | 
| 280 | __pm_relax(ws) | 
| 283 | wakelocks_gc() | 
| 285 | out : | 
| 287 | Return ret | 
| 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 |