函数逻辑报告 |
Source Code:block\blk-mq-sched.c |
Create Date:2022-07-27 18:50:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:blk_mq_sched_try_merge
函数原型:bool blk_mq_sched_try_merge(struct request_queue *q, struct bio *bio, unsigned int nr_segs, struct request **merged_request)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request_queue * | q | |
struct bio * | bio | |
unsigned int | nr_segs | |
struct request ** | merged_request |
233 | 如果非blk_mq_sched_allow_merge(q, rq, bio)则返回:false |
235 | 如果非bio_attempt_back_merge(rq, bio, nr_segs)则返回:false |
237 | merged_request等于attempt_back_merge(q, rq) |
238 | 如果非merged_request则elv_merged_request(q, rq, ELEVATOR_BACK_MERGE) |
240 | 返回:true |
242 | 如果非blk_mq_sched_allow_merge(q, rq, bio)则返回:false |
244 | 如果非bio_attempt_front_merge(rq, bio, nr_segs)则返回:false |
246 | merged_request等于attempt_front_merge(q, rq) |
247 | 如果非merged_request则elv_merged_request(q, rq, ELEVATOR_FRONT_MERGE) |
249 | 返回:true |
251 | 返回:bio_attempt_discard_merge(q, rq, bio) |
252 | 默认 |
253 | 返回:false |
名称 | 描述 |
---|---|
dd_bio_merge | |
bfq_bio_merge |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |