Lines Matching refs:utime

122 	p->utime += cputime;  in account_user_time()
144 p->utime += cputime; in account_guest_time()
311 u64 utime, stime; in thread_group_cputime() local
333 times->utime = sig->utime; in thread_group_cputime()
338 task_cputime(t, &utime, &stime); in thread_group_cputime()
339 times->utime += utime; in thread_group_cputime()
455 *ut = curr->utime; in cputime_adjust()
461 *ut = p->utime; in task_cputime_adjusted()
472 *ut = cputime.utime; in thread_group_cputime_adjusted()
557 u64 rtime, stime, utime; in cputime_adjust() local
572 if (prev->stime + prev->utime >= rtime) in cputime_adjust()
576 utime = curr->utime; in cputime_adjust()
584 utime = rtime; in cputime_adjust()
588 if (utime == 0) { in cputime_adjust()
593 stime = mul_u64_u64_div_u64(stime, rtime, stime + utime); in cputime_adjust()
607 utime = rtime - stime; in cputime_adjust()
613 if (utime < prev->utime) { in cputime_adjust()
614 utime = prev->utime; in cputime_adjust()
615 stime = rtime - utime; in cputime_adjust()
619 prev->utime = utime; in cputime_adjust()
621 *ut = prev->utime; in cputime_adjust()
632 if (task_cputime(p, &cputime.utime, &cputime.stime)) in task_cputime_adjusted()
735 vtime->utime += get_vtime_delta(vtime); in vtime_user_exit()
736 if (vtime->utime >= TICK_NSEC) { in vtime_user_exit()
737 account_user_time(tsk, vtime->utime); in vtime_user_exit()
738 vtime->utime = 0; in vtime_user_exit()
846 bool task_cputime(struct task_struct *t, u64 *utime, u64 *stime) in task_cputime() argument
854 *utime = t->utime; in task_cputime()
863 *utime = t->utime; in task_cputime()
880 *utime += vtime->utime + delta; in task_cputime()
915 return vtime->utime + vtime_delta(vtime); in kcpustat_user_vtime()
1045 cpustat[CPUTIME_NICE] += vtime->utime + delta; in kcpustat_cpu_fetch_vtime()
1047 cpustat[CPUTIME_USER] += vtime->utime + delta; in kcpustat_cpu_fetch_vtime()