函数逻辑报告 |
Source Code:block\blk-mq.c |
Create Date:2022-07-27 18:46:19 |
| Last Modify:2020-03-17 23:18:05 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:blk_mq_init_hctx
函数原型: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)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| 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 | 如果init_hctx且init_hctx(hctx, driver_data, hctx_idx)则转到:unregister_cpu_notifier |
| 2292 | 如果blk_mq_init_request(set, flush_rq, hctx_idx, @numa_node: NUMA node the storage adapter has been connected to. )则转到:exit_hctx |
| 2295 | 返回:0 |
| 2297 | exit_hctx : |
| 2300 | unregister_cpu_notifier : |
| 2301 | blk_mq_remove_cpuhp(hctx) |
| 2302 | 返回:负1 |
| 名称 | 描述 |
|---|---|
| blk_mq_alloc_and_init_hctx |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |