函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:static inline void blkg_rwstat_read(struct blkg_rwstat *rwstat, struct blkg_rwstat_sample *result)

返回类型:void

参数:

类型参数名称
struct blkg_rwstat *rwstat
struct blkg_rwstat_sample *result
94 i小于BLKG_RWSTAT_NR循环cnt[i]等于percpu_counter_sum_positive( & cpu_cnt[i])
调用者
名称描述
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.
blkg_rwstat_totallkg_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.