Function report |
Source Code:block\blk-mq.c |
Create Date:2022-07-28 17:08:20 |
Last Modify:2020-03-17 23:18:05 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:blk_freeze_queue_start
Proto:void blk_freeze_queue_start(struct request_queue *q)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct request_queue * | q |
132 | mutex_lock( & * Protect concurrent access to q_usage_counter by * percpu_ref_kill() and percpu_ref_reinit().) |
133 | If ++mq_freeze_depth == 1 Then |
136 | If queue_is_mq(q) Then blk_mq_run_hw_queues(q, false) |
138 | Else |
Name | Describe |
---|---|
blk_freeze_queue | Guarantee no request is in use, so we can change any data structure of* the queue afterward. |
blk_pre_runtime_suspend | lk_pre_runtime_suspend - Pre runtime suspend check*@q: the queue of the device* Description:* This function will check if runtime suspend is allowed for the device* by examining if there are any requests pending in the queue |
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 |