Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq.c Create Date:2022-07-28 17:08:58
Last Modify:2020-03-17 23:18:05 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:hctx_unlock

Proto:static void hctx_unlock(struct blk_mq_hw_ctx *hctx, int srcu_idx)__releases(hctx->srcu)

Type:void

Parameter:

TypeParameterName
struct blk_mq_hw_ctx *hctx
intsrcu_idx
610  If Not (@flags: BLK_MQ_F_* flags. Defines the behaviour of the queue. & BLK_MQ_F_BLOCKING) Then _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
612  Else srcu_read_unlock - unregister a old reader from an SRCU-protected structure.*@ssp: srcu_struct in which to unregister the old reader.*@idx: return value from corresponding srcu_read_lock().* Exit an SRCU read-side critical section.
Caller
NameDescribe
__blk_mq_run_hw_queue
blk_mq_run_hw_queue
blk_mq_try_issue_directly
blk_mq_request_issue_directly