函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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().

函数原型:void blkcg_deactivate_policy(struct request_queue *q, const struct blkcg_policy *pol)

返回类型:void

参数:

类型参数名称
struct request_queue *q
const struct blkcg_policy *pol
1342  如果非blkcg_policy_enabled(q, pol)则返回
1345  如果queue_is_mq(q)则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  如果pd[plid]则
1354  如果pd_offline_fnpd_offline_fn(pd[plid])
1356  pd_free_fn(pd[plid])
1357  pd[plid] = NULL
1361  spin_unlock_irq( & queue_lock)
1363  如果queue_is_mq(q)则blk_mq_unfreeze_queue(q)
调用者
名称描述
blk_throtl_exit
blkcg_iolatency_exit
ioc_rqos_exit