函数逻辑报告 |
Source Code:block\blk-merge.c |
Create Date:2022-07-27 18:41:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:blk_rq_merge_ok
函数原型:bool blk_rq_merge_ok(struct request *rq, struct bio *bio)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request * | rq | |
struct bio * | bio |
870 | 如果非rq_mergeable(rq)或非bio_mergeable(bio)则返回:false |
877 | 如果Return the data direction, READ or WRITE.(bio)不等于rq_data_dir(rq)则返回:false |
885 | 如果(blk_integrity_merge_bio(q, rq, bio) == false)则返回:false |
889 | 如果req_op(rq)恒等于REQ_OP_WRITE_SAME且非blk_write_same_mergeable(bio, bio)则返回:false |
897 | 如果write_hint不等于bi_write_hint则返回:false |
903 | 返回:true |
名称 | 描述 |
---|---|
blk_attempt_plug_merge | lk_attempt_plug_merge - try to merge with %current's plugged list*@q: request_queue new bio is being queued at*@bio: new bio being queued*@nr_segs: number of segments in @bio*@same_queue_rq: pointer to &struct request that gets filled in when* another |
blk_mq_bio_list_merge | Iterate list of requests and see if we can merge this bio with any* of them. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |