函数逻辑报告 |
Source Code:block\blk-cgroup-rwstat.c |
Create Date:2022-07-27 19:16:58 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:lkg_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*
函数原型:void blkg_rwstat_recursive_sum(struct blkcg_gq *blkg, struct blkcg_policy *pol, int off, struct blkg_rwstat_sample *sum)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct blkcg_gq * | blkg | |
| struct blkcg_policy * | pol | |
| int | off | |
| struct blkg_rwstat_sample * | sum |
| 110 | lockdep_assert_held( & queue_lock) |
| 116 | 如果非 is this blkg online? protected by both blkcg and q locks 则继续下一循环 |
| 119 | 如果pol则rwstat等于lkg_to_pdata - get policy private data*@blkg: blkg of interest*@pol: policy of interest* Return pointer to private data associated with the @blkg-@pol pair.加off |
| 124 | 以i小于BLKG_RWSTAT_NR循环cnt[i]等于blkg_rwstat_read_counter(rwstat, i) |
| 名称 | 描述 |
|---|---|
| tg_prfill_rwstat_recursive |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |