函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:iolatency_pd_stat

函数原型:static size_t iolatency_pd_stat(struct blkg_policy_data *pd, char *buf, size_t size)

返回类型:size_t

参数:

类型参数名称
struct blkg_policy_data *pd
char *buf
size_tsize
916  iolat等于pd_to_lat(pd)
920  如果非blkcg_debug_stats则返回:0
923  如果ssd则返回:iolatency_ssd_stat(iolat, buf, size)
926  avg_lat等于div64_u64 - unsigned 64bit divide with 64bit divisor*@dividend: 64bit dividend*@divisor: 64bit divisor* This implementation is a modified version of the algorithm proposed* by the book 'Hacker's Delight'. The original source and full proof
927  cur_win等于div64_u64 - unsigned 64bit divide with 64bit divisor*@dividend: 64bit dividend*@divisor: 64bit divisor* This implementation is a modified version of the algorithm proposed* by the book 'Hacker's Delight'. The original source and full proof
928  如果max_depth恒等于UINT_MAX则返回:格式化输出字符串
932  返回:格式化输出字符串