函数逻辑报告 |
Source Code:block\blk-mq-sched.c |
Create Date:2022-07-27 18:50:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:blk_mq_init_sched
函数原型:int blk_mq_init_sched(struct request_queue *q, struct elevator_type *e)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request_queue * | q | |
struct elevator_type * | e |
500 | 如果非e则 |
511 | Max # of requests 等于2乘min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(unsignedint, queue_depth, Default maximum ) |
515 | ret等于blk_mq_sched_alloc_tags(q, hctx, i) |
520 | ret等于init_sched(q, e) |
527 | 如果init_hctx则 |
529 | 如果ret则 |
540 | 返回:0 |
542 | err : |
545 | elevator = NULL |
546 | 返回:ret |
名称 | 描述 |
---|---|
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 |
elevator_switch_mq |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |