函数逻辑报告 | 
Source Code:block\blk-pm.c | 
Create Date:2022-07-27 19:48:28 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:lk_post_runtime_suspend - Post runtime suspend processing*@q: the queue of the device*@err: return value of the device's runtime_suspend function* Description:* Update the queue's runtime status according to the return value of the* device's runtime
函数原型:void blk_post_runtime_suspend(struct request_queue *q, int err)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct request_queue * | q | |
| int | err | 
| 121 | 如果非dev则返回 | 
| 124 | spin_lock_irq( & queue_lock) | 
| 125 | 如果非err则 | 
| 126 | rpm_status等于RPM_SUSPENDED | 
| 127 | 否则 | 
| 128 | rpm_status等于RPM_ACTIVE | 
| 131 | spin_unlock_irq( & queue_lock) | 
| 133 | 如果err则blk_clear_pm_only(q) | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |