函数逻辑报告 |
Source Code:block\blk-mq.c |
Create Date:2022-07-27 18:44:17 |
Last Modify:2020-03-17 23:18:05 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__blk_mq_complete_request
函数原型:static void __blk_mq_complete_request(struct request *rq)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request * | rq |
564 | bool shared = false |
567 | WRITE_ONCE(state, MQ_RQ_COMPLETE) |
577 | 如果nr_hw_queues恒等于1则 |
578 | __blk_complete_request(rq) |
579 | 返回 |
593 | 如果非test_bit(rce complete on same CPU , & * various queue flags, see QUEUE_* below)则shared等于cpus_share_cache(cpu, cpu) |
596 | 如果cpu不等于cpu且非shared且cpu_online(cpu)则 |
599 | flags等于0 |
601 | 否则 |
604 | put_cpu() |
名称 | 描述 |
---|---|
blk_mq_complete_request | lk_mq_complete_request - end I/O on a request*@rq: the request being processed* Description:* Ends all I/O on a request. It does not handle partial completions.* The actual completion happens out-of-order, through a IPI handler. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |