Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:iolatency_pd_stat

Proto:static size_t iolatency_pd_stat(struct blkg_policy_data *pd, char *buf, size_t size)

Type:size_t

Parameter:

TypeParameterName
struct blkg_policy_data *pd
char *buf
size_tsize
916  iolat = pd_to_lat(pd)
920  If Not blkcg_debug_stats Then Return 0
923  If ssd Then Return 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  If max_depth == UINT_MAX Then Return scnprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
932  Return scnprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@