Function report |
Source Code:block\blk-mq.c |
Create Date:2022-07-28 17:10:58 |
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_init_hctx
Proto:static int blk_mq_init_hctx(struct request_queue *q, struct blk_mq_tag_set *set, struct blk_mq_hw_ctx *hctx, unsigned hctx_idx)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct request_queue * | q | |
struct blk_mq_tag_set * | set | |
struct blk_mq_hw_ctx * | hctx | |
unsigned | hctx_idx |
2284 | puhp_state_add_instance_nocalls - Add an instance for a state without* invoking the startup callback |
2286 | @tags: Tags owned by the block driver. A tag at this set is only* assigned when a request is dispatched from a hardware queue. = tags[hctx_idx] |
2288 | If init_hctx && init_hctx(hctx, driver_data, hctx_idx) Then Go to unregister_cpu_notifier |
2292 | If blk_mq_init_request(set, flush_rq, hctx_idx, @numa_node: NUMA node the storage adapter has been connected to. ) Then Go to exit_hctx |
2295 | Return 0 |
2297 | exit_hctx : |
2300 | unregister_cpu_notifier : |
2301 | blk_mq_remove_cpuhp(hctx) |
2302 | Return -1 |
Name | Describe |
---|---|
blk_mq_alloc_and_init_hctx |
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 |