Function report |
Source Code:block\blk-cgroup.c |
Create Date:2022-07-28 17:39:39 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:blkcg_reset_stats
Proto:static int blkcg_reset_stats(struct cgroup_subsys_state *css, struct cftype *cftype, u64 val)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct cgroup_subsys_state * | css | |
struct cftype * | cftype | |
u64 | val |
462 | blkcg = css_to_blkcg(css) |
466 | mutex_lock( & blkcg_pol_mutex) |
467 | spin_lock_irq( & lock) |
475 | for_each_possible_cpu(cpu) |
476 | bis = per_cpu_ptr(iostat_cpu, cpu) |
483 | pol = blkcg_policy[i] |
485 | If pd[i] && pd_reset_stats_fn Then pd_reset_stats_fn(pd[i]) |
490 | spin_unlock_irq( & lock) |
492 | Return 0 |
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 |