Function report | 
Source Code:block\blk-mq-sched.c | 
Create Date:2022-07-28 17:14:54 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:blk_mq_next_ctx
Proto:static struct blk_mq_ctx *blk_mq_next_ctx(struct blk_mq_hw_ctx *hctx, struct blk_mq_ctx *ctx)
Type:struct blk_mq_ctx
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct blk_mq_hw_ctx * | hctx | |
| struct blk_mq_ctx * | ctx | 
| 123 | If ++idx == @nr_ctx: Number of software queues. Then idx = 0 | 
| 126 | Return @ctxs: Array of software queues. [idx] | 
| Name | Describe | 
|---|---|
| blk_mq_do_dispatch_ctx | Only SCSI implements .get_budget and .put_budget, and SCSI restarts* its queue by itself in its completion handler, so we don't need to* restart queue if .get_budget() returns BLK_STS_NO_RESOURCE. | 
| 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  |