| 函数逻辑报告 | 
| Source Code: block\elevator.c | Create Date:2022-07-27 18:33:16 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Get the first elevator providing the features required by the request queue.* Default to "none" if no matching elevator is found.
函数原型:static struct elevator_type *elevator_get_by_features(struct request_queue *q)
返回类型:struct elevator_type
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct request_queue * | q | 
| 643 | struct elevator_type * e, * found = NULL | 
| 645 | 加自旋锁 | 
| 655 | 如果found且非判断模块是否处于活动状态则found = NULL | 
| 658 | 自旋锁解锁 | 
| 659 | 返回:found | 
| 名称 | 描述 | 
|---|---|
| elevator_init_mq | For a device queue that has no required features, use the default elevator* settings. Otherwise, use the first elevator available matching the required* features. If no suitable elevator is find or if the chosen elevator | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |