函数逻辑报告 |
Source Code:block\elevator.c |
Create Date:2022-07-27 18:32:41 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:elevator_get
函数原型:static struct elevator_type *elevator_get(struct request_queue *q, const char *name, bool try_loading)
返回类型:struct elevator_type
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct request_queue * | q | |
| const char * | name | |
| bool | try_loading |
| 145 | 加自旋锁 |
| 148 | 如果非e且try_loading则 |
| 155 | 如果e且非判断模块是否处于活动状态则e = NULL |
| 158 | 自旋锁解锁 |
| 159 | 返回:e |
| 名称 | 描述 |
|---|---|
| elevator_get_default | For single queue devices, default to using mq-deadline. If we have multiple* queues or mq-deadline is not available, default to "none". |
| __elevator_change | Switch this queue to the given IO scheduler. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |