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

Name:lkg_rwstat_add_aux - add a blkg_rwstat into another's aux count*@to: the destination blkg_rwstat*@from: the source* Add @from's count including the aux one to @to's aux count.

Proto:static inline void blkg_rwstat_add_aux(struct blkg_rwstat *to, struct blkg_rwstat *from)

Type:void

Parameter:

TypeParameterName
struct blkg_rwstat *to
struct blkg_rwstat *from
142  When i < BLKG_RWSTAT_NR cycle sum[i] = percpu_counter_sum_positive( & cpu_cnt[i])
145  When i < BLKG_RWSTAT_NR cycle atomic64_add(sum[i] + atomic64_read( & aux_cnt[i]), & aux_cnt[i])