Function report |
Source Code:block\kyber-iosched.c |
Create Date:2022-07-28 17:52:32 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kyber_dispatch_request
Proto:static struct request *kyber_dispatch_request(struct blk_mq_hw_ctx *hctx)
Type:struct request
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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. |
| 827 | batching = 0 |
| 828 | When i < KYBER_NUM_DOMAINS cycle |
| 829 | If cur_domain == KYBER_NUM_DOMAINS - 1 Then cur_domain = 0 |
| 831 | Else cur_domain++ |
| 834 | rq = kyber_dispatch_cur_domain(kqd, khd, hctx) |
| 839 | rq = NULL |
| 840 | out : |
| 841 | spin_unlock( & lock) |
| 842 | Return rq |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |