Lines Matching refs:stime

169 	p->stime += cputime;  in account_system_index_time()
297 u64 utime, stime; in thread_group_cputime() local
320 times->stime = sig->stime; in thread_group_cputime()
324 task_cputime(t, &utime, &stime); in thread_group_cputime()
326 times->stime += stime; in thread_group_cputime()
442 *st = curr->stime; in cputime_adjust()
448 *st = p->stime; in task_cputime_adjusted()
459 *st = cputime.stime; in thread_group_cputime_adjusted()
543 u64 rtime, stime, utime; in cputime_adjust() local
558 if (prev->stime + prev->utime >= rtime) in cputime_adjust()
561 stime = curr->stime; in cputime_adjust()
569 if (stime == 0) { in cputime_adjust()
575 stime = rtime; in cputime_adjust()
579 stime = mul_u64_u64_div_u64(stime, rtime, stime + utime); in cputime_adjust()
591 if (stime < prev->stime) in cputime_adjust()
592 stime = prev->stime; in cputime_adjust()
593 utime = rtime - stime; in cputime_adjust()
601 stime = rtime - utime; in cputime_adjust()
604 prev->stime = stime; in cputime_adjust()
608 *st = prev->stime; in cputime_adjust()
618 if (task_cputime(p, &cputime.utime, &cputime.stime)) in task_cputime_adjusted()
667 vtime->stime += get_vtime_delta(vtime); in vtime_account_system()
668 if (vtime->stime >= TICK_NSEC) { in vtime_account_system()
669 account_system_time(tsk, irq_count(), vtime->stime); in vtime_account_system()
670 vtime->stime = 0; in vtime_account_system()
832 bool task_cputime(struct task_struct *t, u64 *utime, u64 *stime) in task_cputime() argument
841 *stime = t->stime; in task_cputime()
850 *stime = t->stime; in task_cputime()
864 *stime += vtime->stime + delta; in task_cputime()
936 *val += vtime->stime + vtime_delta(vtime); in kcpustat_field_vtime()
1028 cpustat[CPUTIME_SYSTEM] += vtime->stime + delta; in kcpustat_cpu_fetch_vtime()