函数逻辑报告 |
Source Code:block\blk-mq.c |
Create Date:2022-07-27 18:43:42 |
| Last Modify:2020-03-17 23:18:05 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:blk_freeze_queue_start
函数原型:void blk_freeze_queue_start(struct request_queue *q)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct request_queue * | q |
| 132 | mutex_lock( & * Protect concurrent access to q_usage_counter by * percpu_ref_kill() and percpu_ref_reinit().) |
| 133 | 如果mq_freeze_depth先自加恒等于1则 |
| 136 | 如果queue_is_mq(q)则blk_mq_run_hw_queues(q, false) |
| 138 | 否则 |
| 名称 | 描述 |
|---|---|
| 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 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |