Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq-tag.c Create Date:2022-07-28 17:12:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:If a previously inactive queue goes active, bump the active user count.* We need to do this before try to allocate driver tag, then even if fail* to get tag when first time, the other shared-tag users could reserve* budget for it.

Proto:bool __blk_mq_tag_busy(struct blk_mq_hw_ctx *hctx)

Type:bool

Parameter:

TypeParameterName
struct blk_mq_hw_ctx *hctx
26  If Not Determine whether a bit is set(BLK_MQ_S_TAG_ACTIVE, & @state: BLK_MQ_S_* flags. Defines the state of the hw* queue (active, scheduled to restart, stopped).) && Not st_and_set_bit - Set a bit and return its old value*@nr: Bit to set*@addr: Address to count from* This is an atomic fully-ordered operation (implied full memory barrier). Then atomic_inc( & active_queues)
30  Return true