函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:weight_updated

函数原型:static void weight_updated(struct ioc_gq *iocg)

返回类型:void

参数:

类型参数名称
struct ioc_gq *iocg
1013  ioc等于ioc
1014  blkg等于iocg_to_blkg(iocg)
1015  iocc等于blkcg_to_iocc(blkcg)
1018  lockdep_assert_held( & lock)
1020  weight等于如果* A iocg can get its weight from two sources - an explicit * per-device-cgroup configuration or the default weight of the * cgroup. `cfg_weight` is the explicit per-device-cgroup * configuration. `weight` is the effective considering both * sources. * When否则dfl_weight
1021  如果weight不等于weightactivepropagate_active_weight(iocg, weight, DIV64_U64_ROUND_UP(inuse * weight, weight))
1024  weight等于weight
调用者
名称描述
ioc_pd_init
ioc_weight_write