Function report |
Source Code:block\blk-cgroup-rwstat.c |
Create Date:2022-07-28 17:41:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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*
Proto:void blkg_rwstat_recursive_sum(struct blkcg_gq *blkg, struct blkcg_policy *pol, int off, struct blkg_rwstat_sample *sum)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct blkcg_gq * | blkg | |
struct blkcg_policy * | pol | |
int | off | |
struct blkg_rwstat_sample * | sum |
110 | lockdep_assert_held( & queue_lock) |
116 | If Not is this blkg online? protected by both blkcg and q locks Then Continue |
119 | If pol Then 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 | When i < BLKG_RWSTAT_NR cycle cnt[i] = blkg_rwstat_read_counter(rwstat, i) |
Name | Describe |
---|---|
tg_prfill_rwstat_recursive |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |