Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:src is a per-cpu stat, mean isn't initialized

Proto:void blk_rq_stat_sum(struct blk_rq_stat *dst, struct blk_rq_stat *src)

Type:void

Parameter:

TypeParameterName
struct blk_rq_stat *dst
struct blk_rq_stat *src
31  If Not nr_samples Then Return
34  min = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(min, min)
35  max = max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(max, max)
37  mean = div_u64 - unsigned 64bit divide with 32bit divisor*@dividend: unsigned 64bit dividend*@divisor: unsigned 32bit divisor* This is the most common 64bit divide and should be used if possible,* as many 32bit archs can optimize this variant better than a full
40  nr_samples += nr_samples
Caller
NameDescribe
blk_stat_timer_fn
latency_stat_sum