函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-cgroup-rwstat.h Create Date:2022-07-27 19:16:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:blkg_rwstat_read_counter

函数原型:static inline u64 blkg_rwstat_read_counter(struct blkg_rwstat *rwstat, unsigned int idx)

返回类型:u64

参数:

类型参数名称
struct blkg_rwstat *rwstat
unsigned intidx
38  返回:atomic64_read( & aux_cnt[idx])加percpu_counter_sum_positive( & cpu_cnt[idx])
调用者
名称描述
blkg_rwstat_recursive_sumlkg_rwstat_recursive_sum - collect hierarchical blkg_rwstat*@blkg: blkg of interest*@pol: blkcg_policy which contains the blkg_rwstat*@off: offset to the blkg_rwstat in blkg_policy_data or @blkg*@sum: blkg_rwstat_sample structure containing the results*