函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:If a previously busy queue goes inactive, potential waiters could now* be allowed to queue. Wake them up and check.

函数原型:void __blk_mq_tag_idle(struct blk_mq_hw_ctx *hctx)

返回类型:void

参数:

类型参数名称
struct blk_mq_hw_ctx *hctx
49  tags等于@tags: Tags owned by the block driver. A tag at this set is only* assigned when a request is dispatched from a hardware queue.
51  如果非st_and_clear_bit - Clear a bit and return its old value*@nr: Bit to clear*@addr: Address to count from* This is an atomic fully-ordered operation (implied full memory barrier).则返回
54  atomic_dec( & active_queues)
56  Wakeup all potentially sleeping on tags