函数逻辑报告 |
Source Code:block\kyber-iosched.c |
Create Date:2022-07-27 19:28:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:kyber_dispatch_request
函数原型:static struct request *kyber_dispatch_request(struct blk_mq_hw_ctx *hctx)
返回类型:struct request
参数:
类型 | 参数 | 名称 |
---|---|---|
struct blk_mq_hw_ctx * | hctx |
801 | kqd等于elevator_data |
802 | khd等于@sched_data: Pointer owned by the IO scheduler attached to a request* queue. It's up to the IO scheduler how to use this pointer. |
806 | 加自旋锁 |
827 | batching等于0 |
828 | 以i小于KYBER_NUM_DOMAINS循环 |
829 | 如果cur_domain恒等于KYBER_NUM_DOMAINS减1则cur_domain等于0 |
831 | 否则cur_domain自加 |
834 | rq等于kyber_dispatch_cur_domain(kqd, khd, hctx) |
839 | rq = NULL |
840 | out : |
841 | 自旋锁解锁 |
842 | 返回:rq |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |