函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ioc_weight_prfill

函数原型:static u64 ioc_weight_prfill(struct seq_file *sf, struct blkg_policy_data *pd, int off)

返回类型:u64

参数:

类型参数名称
struct seq_file *sf
struct blkg_policy_data *pd
intoff
2050  dname等于blkg_dev_name(he blkg and policy id this per-policy data belongs to )
2051  iocg等于pd_to_iocg(pd)
2053  如果dname* 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. * Whenseq_printf(sf, "%s %u\n", dname, * 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)
2055  返回:0