函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:static inline uint64_t blkg_rwstat_total(struct blkg_rwstat *rwstat)

返回类型:uint64_t

参数:

类型参数名称
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  返回:cnt[BLKG_RWSTAT_READ]加cnt[BLKG_RWSTAT_WRITE]