函数逻辑报告 |
Source Code:block\blk-mq.c |
Create Date:2022-07-27 18:44:49 |
Last Modify:2020-03-17 23:18:05 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:blk_mq_get_driver_tag
函数原型:bool blk_mq_get_driver_tag(struct request *rq)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request * | rq |
1024 | struct blk_mq_alloc_data data = { input parameter = q, hctx = mq_hctx, flags = BLK_MQ_REQ_NOWAIT, cmd_flags = op and common flags , } |
1032 | 如果tag不等于负1则返回:true |
1038 | shared等于blk_mq_tag_busy(hctx) |
1039 | tag等于blk_mq_get_tag( & data) |
1040 | 如果tag大于等于0则 |
1041 | 如果shared则 |
1042 | rq_flags或等于rack inflight for MQ |
1048 | 返回:tag不等于负1 |
名称 | 描述 |
---|---|
blk_mq_mark_tag_wait | Mark us waiting for a tag. For shared tags, this involves hooking us into* the tag wakeups. For non-shared tags, we can simply mark us needing a* restart. For both cases, take care to check the condition again after* marking us as waiting. |
blk_mq_dispatch_rq_list | Returns true if we did some work AND can potentially do more. |
__blk_mq_try_issue_directly |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |