Function report |
Source Code:block\blk-pm.c |
Create Date:2022-07-28 18:13:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:void blk_post_runtime_suspend(struct request_queue *q, int err)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct request_queue * | q | |
int | err |
121 | If Not dev Then Return |
124 | spin_lock_irq( & queue_lock) |
125 | If Not err Then |
126 | rpm_status = RPM_SUSPENDED |
127 | Else |
128 | rpm_status = RPM_ACTIVE |
131 | spin_unlock_irq( & queue_lock) |
133 | If err Then blk_clear_pm_only(q) |
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 |