Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ioc_cost_model_prfill

Proto:static u64 ioc_cost_model_prfill(struct seq_file *sf, struct blkg_policy_data *pd, int off)

Type:u64

Parameter:

TypeParameterName
struct seq_file *sf
struct blkg_policy_data *pd
intoff
2307  dname = blkg_dev_name(he blkg and policy id this per-policy data belongs to )
2308  ioc = ioc
2309  u = i_lcoefs
2311  If Not dname Then Return 0
2314  seq_printf(sf, "%s ctrl=%s model=linear rbps=%llu rseqiops=%llu rrandiops=%llu wbps=%llu wseqiops=%llu wrandiops=%llu\n", dname, user_cost_model ? "user" : "auto", u[I_LCOEF_RBPS], u[I_LCOEF_RSEQIOPS], u[I_LCOEF_RRANDIOPS], u[I_LCOEF_WBPS], u[I_LCOEF_WSEQIOPS], u[I_LCOEF_WRANDIOPS])
2320  Return 0