Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:This function is often used for pausing .queue_rq() by driver when* there isn't enough resource or some conditions aren't satisfied, and* BLK_STS_RESOURCE is usually returned.* We do not guarantee that dispatch can be drained or blocked

Proto:void blk_mq_stop_hw_queue(struct blk_mq_hw_ctx *hctx)

Type:void

Parameter:

TypeParameterName
struct blk_mq_hw_ctx *hctx
1522  ancel_delayed_work - cancel a delayed work*@dwork: delayed_work to cancel* Kill off a pending delayed_work
1524  Atomically set a bit in memory
Caller
NameDescribe
blk_mq_stop_hw_queuesThis function is often used for pausing .queue_rq() by driver when* there isn't enough resource or some conditions aren't satisfied, and* BLK_STS_RESOURCE is usually returned.* We do not guarantee that dispatch can be drained or blocked