函数逻辑报告 |
Source Code:block\blk-flush.c |
Create Date:2022-07-27 18:37:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:lk_flush_complete_seq - complete flush sequence*@rq: PREFLUSH/FUA request being sequenced*@fq: flush queue*@seq: sequences to complete (mask of %REQ_FSEQ_*, can be zero)*@error: whether an error occurred*@rq just completed @seq part of its flush sequence,
函数原型:static void blk_flush_complete_seq(struct request *rq, struct blk_flush_queue *fq, unsigned int seq, blk_status_t error)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request * | rq | |
struct blk_flush_queue * | fq | |
unsigned int | seq | |
blk_status_t | error |
177 | cmd_flags等于 op and common flags |
179 | 如果此条件成立可能性大(为编译器优化)(!error)则seq等于blk_flush_cur_seq(rq) |
181 | 否则seq等于REQ_FSEQ_DONE |
185 | 当:seq恒等于REQ_FSEQ_PREFLUSH |
186 | 当:seq恒等于REQ_FSEQ_POSTFLUSH |
193 | 当:seq恒等于REQ_FSEQ_DATA |
198 | 当:seq恒等于REQ_FSEQ_DONE |
211 | 默认 |
212 | BUG() |
215 | blk_kick_flush(q, fq, cmd_flags) |
名称 | 描述 |
---|---|
flush_end_io | |
mq_flush_data_end_io | |
blk_insert_flush | lk_insert_flush - insert a new PREFLUSH/FUA request*@rq: request to insert* To be called from __elv_add_request() for %ELEVATOR_INSERT_FLUSH insertions.* or __blk_mq_run_hw_queue() to dispatch request.*@rq is being submitted |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |