函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq.c Create Date:2022-07-27 18:46:14
Last Modify:2020-03-17 23:18:05 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:blk_mq_exit_hctx

函数原型:static void blk_mq_exit_hctx(struct request_queue *q, struct blk_mq_tag_set *set, struct blk_mq_hw_ctx *hctx, unsigned int hctx_idx)

返回类型:void

参数:

类型参数名称
struct request_queue *q
struct blk_mq_tag_set *set
struct blk_mq_hw_ctx *hctx>ctxs will be freed in queue's release handler
unsigned inthctx_idx
2234  如果blk_mq_hw_queue_mapped(>ctxs will be freed in queue's release handler )则blk_mq_tag_idle(>ctxs will be freed in queue's release handler )
2237  如果exit_requestexit_request(set, flush_rq, hctx_idx)
2240  如果exit_hctxexit_hctx(>ctxs will be freed in queue's release handler , hctx_idx)
2243  blk_mq_remove_cpuhp(>ctxs will be freed in queue's release handler )
2245  加自旋锁
2246  添加链表项
2247  自旋锁解锁
调用者
名称描述
blk_mq_exit_hw_queues
blk_mq_realloc_hw_ctxs