Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lkcg_deactivate_policy - deactivate a blkcg policy on a request_queue*@q: request_queue of interest*@pol: blkcg policy to deactivate* Deactivate @pol on @q. Follows the same synchronization rules as* blkcg_activate_policy().

Proto:void blkcg_deactivate_policy(struct request_queue *q, const struct blkcg_policy *pol)

Type:void

Parameter:

TypeParameterName
struct request_queue *q
const struct blkcg_policy *pol
1342  If Not blkcg_policy_enabled(q, pol) Then Return
1345  If queue_is_mq(q) Then blk_mq_freeze_queue(q)
1348  spin_lock_irq( & queue_lock)
1350  __clear_bit - Clears a bit in memory*@nr: the bit to clear*@addr: the address to start counting from* Unlike clear_bit(), this function is non-atomic. If it is called on the same* region of memory concurrently, the effect may be that only one operation
1353  If pd[plid] Then
1354  If pd_offline_fn Then pd_offline_fn(pd[plid])
1356  pd_free_fn(pd[plid])
1357  pd[plid] = NULL
1361  spin_unlock_irq( & queue_lock)
1363  If queue_is_mq(q) Then blk_mq_unfreeze_queue(q)
Caller
NameDescribe
blk_throtl_exit
blkcg_iolatency_exit
ioc_rqos_exit