Lines Matching refs:bstat

358 		delta = rstatc->bstat;  in cgroup_base_stat_flush()
363 cgroup_base_stat_add(&cgrp->bstat, &delta); in cgroup_base_stat_flush()
369 delta = cgrp->bstat; in cgroup_base_stat_flush()
371 cgroup_base_stat_add(&parent->bstat, &delta); in cgroup_base_stat_flush()
407 rstatc->bstat.cputime.sum_exec_runtime += delta_exec; in __cgroup_account_cputime()
422 rstatc->bstat.cputime.utime += delta_exec; in __cgroup_account_cputime_field()
427 rstatc->bstat.cputime.stime += delta_exec; in __cgroup_account_cputime_field()
431 rstatc->bstat.forceidle_sum += delta_exec; in __cgroup_account_cputime_field()
447 static void root_cgroup_cputime(struct cgroup_base_stat *bstat) in root_cgroup_cputime() argument
449 struct task_cputime *cputime = &bstat->cputime; in root_cgroup_cputime()
452 memset(bstat, 0, sizeof(*bstat)); in root_cgroup_cputime()
475 bstat->forceidle_sum += cpustat[CPUTIME_FORCEIDLE]; in root_cgroup_cputime()
484 struct cgroup_base_stat bstat; in cgroup_base_stat_cputime_show() local
491 usage = cgrp->bstat.cputime.sum_exec_runtime; in cgroup_base_stat_cputime_show()
492 cputime_adjust(&cgrp->bstat.cputime, &cgrp->prev_cputime, in cgroup_base_stat_cputime_show()
495 forceidle_time = cgrp->bstat.forceidle_sum; in cgroup_base_stat_cputime_show()
499 root_cgroup_cputime(&bstat); in cgroup_base_stat_cputime_show()
500 usage = bstat.cputime.sum_exec_runtime; in cgroup_base_stat_cputime_show()
501 utime = bstat.cputime.utime; in cgroup_base_stat_cputime_show()
502 stime = bstat.cputime.stime; in cgroup_base_stat_cputime_show()
504 forceidle_time = bstat.forceidle_sum; in cgroup_base_stat_cputime_show()