函数逻辑报告 |
Source Code:block\mq-deadline.c |
Create Date:2022-07-27 19:26:09 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:For the specified data direction, return the next request to* dispatch using sector position sorted lists.
函数原型:static struct request *deadline_next_request(struct deadline_data *dd, int data_dir)
返回类型:struct request
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct deadline_data * | dd | |
| int | data_dir |
| 242 | 如果WARN_ON_ONCE(data_dir != generic data direction definitions && data_dir != WRITE)则返回:NULL |
| 246 | 如果非rq则返回:NULL |
| 249 | 如果data_dir恒等于generic data direction definitions 或非blk_queue_is_zoned(q)则返回:rq |
| 256 | spin_lock_irqsave( & zone_lock, flags) |
| 262 | spin_unlock_irqrestore( & zone_lock, flags) |
| 264 | 返回:rq |
| 名称 | 描述 |
|---|---|
| __dd_dispatch_request | deadline_dispatch_requests selects the best request according to* read/write expire, fifo_batch, etc |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |