Function report |
Source Code:block\blk-mq.c |
Create Date:2022-07-28 17:10:16 |
Last Modify:2020-03-17 23:18:05 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__blk_mq_try_issue_directly
Proto:static blk_status_t __blk_mq_try_issue_directly(struct blk_mq_hw_ctx *hctx, struct request *rq, blk_qc_t *cookie, bool bypass_insert, bool last)
Type:blk_status_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct blk_mq_hw_ctx * | hctx | |
struct request * | rq | |
blk_qc_t * | cookie | |
bool | bypass_insert | |
bool | last |
1796 | bool run_queue = true |
1805 | If blk_mq_hctx_stopped(hctx) || blk_queue_quiesced(q) Then |
1811 | If elevator && Not bypass_insert Then Go to insert |
1814 | If Not blk_mq_get_dispatch_budget(hctx) Then Go to insert |
1817 | If Not blk_mq_get_driver_tag(rq) Then |
1819 | Go to insert |
1822 | Return __blk_mq_issue_directly(hctx, rq, cookie, last) |
1823 | insert : |
1824 | If bypass_insert Then Return BLK_STS_RESOURCE |
1828 | Return BLK_STS_OK |
Name | Describe |
---|---|
blk_mq_try_issue_directly | |
blk_mq_request_issue_directly |
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 |