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:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:lkg_rwstat_total - read the total count of a blkg_rwstat*@rwstat: blkg_rwstat to read* Return the total count of @rwstat regardless of the IO direction. This* function can be called without synchronization and takes care of u64* atomicity.

Proto:static inline uint64_t blkg_rwstat_total(struct blkg_rwstat *rwstat)

Type:uint64_t

Parameter:

TypeParameterName
struct blkg_rwstat *rwstat
109  struct blkg_rwstat_sample tmp = {}
111  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.
112  Return cnt[BLKG_RWSTAT_READ] + cnt[BLKG_RWSTAT_WRITE]