Lines Matching refs:bstat

373 		delta = rstatc->bstat;  in cgroup_base_stat_flush()
378 cgroup_base_stat_add(&cgrp->bstat, &delta); in cgroup_base_stat_flush()
383 delta = cgrp->bstat; in cgroup_base_stat_flush()
385 cgroup_base_stat_add(&parent->bstat, &delta); in cgroup_base_stat_flush()
415 rstatc->bstat.cputime.sum_exec_runtime += delta_exec; in __cgroup_account_cputime()
430 rstatc->bstat.cputime.utime += delta_exec; in __cgroup_account_cputime_field()
435 rstatc->bstat.cputime.stime += delta_exec; in __cgroup_account_cputime_field()
439 rstatc->bstat.forceidle_sum += delta_exec; in __cgroup_account_cputime_field()
455 static void root_cgroup_cputime(struct cgroup_base_stat *bstat) in root_cgroup_cputime() argument
457 struct task_cputime *cputime = &bstat->cputime; in root_cgroup_cputime()
485 bstat->forceidle_sum += cpustat[CPUTIME_FORCEIDLE]; in root_cgroup_cputime()
494 struct cgroup_base_stat bstat; in cgroup_base_stat_cputime_show() local
501 usage = cgrp->bstat.cputime.sum_exec_runtime; in cgroup_base_stat_cputime_show()
502 cputime_adjust(&cgrp->bstat.cputime, &cgrp->prev_cputime, in cgroup_base_stat_cputime_show()
505 forceidle_time = cgrp->bstat.forceidle_sum; in cgroup_base_stat_cputime_show()
509 root_cgroup_cputime(&bstat); in cgroup_base_stat_cputime_show()
510 usage = bstat.cputime.sum_exec_runtime; in cgroup_base_stat_cputime_show()
511 utime = bstat.cputime.utime; in cgroup_base_stat_cputime_show()
512 stime = bstat.cputime.stime; in cgroup_base_stat_cputime_show()
514 forceidle_time = bstat.forceidle_sum; in cgroup_base_stat_cputime_show()