函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ioc_qos_prfill

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

返回类型:u64

参数:

类型参数名称
struct seq_file *sf
struct blkg_policy_data *pd
intoff
2136  dname等于blkg_dev_name(he blkg and policy id this per-policy data belongs to )
2137  ioc等于ioc
2139  如果非dname则返回:0
2142  seq_printf(sf, "%s enable=%d ctrl=%s rpct=%u.%02u rlat=%u wpct=%u.%02u wlat=%u min=%u.%02u max=%u.%02u\n", dname, enabled, user_qos_params ? "user" : "auto", qos[QOS_RPPM] / 10000, qos[QOS_RPPM] % 10000 / 100, qos[QOS_RLAT], qos[QOS_WPPM] / 10000, qos[QOS_WPPM] % 10000 / 100, qos[QOS_WLAT], qos[QOS_MIN] / 10000, qos[QOS_MIN] % 10000 / 100, qos[QOS_MAX] / 10000, qos[QOS_MAX] % 10000 / 100)
2154  返回:0