Function report |
Source Code:block\kyber-iosched.c |
Create Date:2022-07-28 17:52:29 |
| 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_cur_domain
Proto:static struct request *kyber_dispatch_cur_domain(struct kyber_queue_data *kqd, struct kyber_hctx_data *khd, struct blk_mq_hw_ctx *hctx)
Type:struct request
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kyber_queue_data * | kqd | |
| struct kyber_hctx_data * | khd | |
| struct blk_mq_hw_ctx * | hctx |
| 758 | rqs = rqs[cur_domain] |
| 769 | If rq Then |
| 770 | nr = kyber_get_domain_token(kqd, khd, hctx) |
| 771 | If nr >= 0 Then |
| 776 | Else |
| 780 | Else if sbitmap_any_bit_set( & kcq_map[cur_domain]) Then |
| 781 | nr = kyber_get_domain_token(kqd, khd, hctx) |
| 782 | If nr >= 0 Then |
| 783 | kyber_flush_busy_kcqs(khd, cur_domain, rqs) |
| 785 | batching++ |
| 786 | rq_set_domain_token(rq, nr) |
| 788 | Return rq |
| 789 | Else |
| 796 | Return NULL |
| Name | Describe |
|---|---|
| kyber_dispatch_request |
| 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 |