Lines Matching refs:stime

172 	p->stime += cputime;  in account_system_index_time()
315 u64 utime, stime; in thread_group_cputime() local
338 times->stime = sig->stime; in thread_group_cputime()
342 task_cputime(t, &utime, &stime); in thread_group_cputime()
344 times->stime += stime; in thread_group_cputime()
460 *st = curr->stime; in cputime_adjust()
466 *st = p->stime; in task_cputime_adjusted()
477 *st = cputime.stime; in thread_group_cputime_adjusted()
561 u64 rtime, stime, utime; in cputime_adjust() local
576 if (prev->stime + prev->utime >= rtime) in cputime_adjust()
579 stime = curr->stime; in cputime_adjust()
587 if (stime == 0) { in cputime_adjust()
593 stime = rtime; in cputime_adjust()
597 stime = mul_u64_u64_div_u64(stime, rtime, stime + utime); in cputime_adjust()
609 if (stime < prev->stime) in cputime_adjust()
610 stime = prev->stime; in cputime_adjust()
611 utime = rtime - stime; in cputime_adjust()
619 stime = rtime - utime; in cputime_adjust()
622 prev->stime = stime; in cputime_adjust()
626 *st = prev->stime; in cputime_adjust()
636 if (task_cputime(p, &cputime.utime, &cputime.stime)) in task_cputime_adjusted()
685 vtime->stime += get_vtime_delta(vtime); in vtime_account_system()
686 if (vtime->stime >= TICK_NSEC) { in vtime_account_system()
687 account_system_time(tsk, irq_count(), vtime->stime); in vtime_account_system()
688 vtime->stime = 0; in vtime_account_system()
850 bool task_cputime(struct task_struct *t, u64 *utime, u64 *stime) in task_cputime() argument
859 *stime = t->stime; in task_cputime()
868 *stime = t->stime; in task_cputime()
882 *stime += vtime->stime + delta; in task_cputime()
954 *val += vtime->stime + vtime_delta(vtime); in kcpustat_field_vtime()
1046 cpustat[CPUTIME_SYSTEM] += vtime->stime + delta; in kcpustat_cpu_fetch_vtime()