Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lkg_rwstat_read - read the current values of a blkg_rwstat*@rwstat: blkg_rwstat to read* Read the current snapshot of @rwstat and return it in the aux counts.

Proto:static inline void blkg_rwstat_read(struct blkg_rwstat *rwstat, struct blkg_rwstat_sample *result)

Type:void

Parameter:

TypeParameterName
struct blkg_rwstat *rwstat
struct blkg_rwstat_sample *result
94  When i < BLKG_RWSTAT_NR cycle cnt[i] = percpu_counter_sum_positive( & cpu_cnt[i])
Caller
NameDescribe
blkg_prfill_rwstatlkg_prfill_rwstat - prfill callback for blkg_rwstat*@sf: seq_file to print to*@pd: policy private data of interest*@off: offset to the blkg_rwstat in @pd* prfill callback for printing a blkg_rwstat.