Lines Matching refs:t
300 static inline u64 read_sum_exec_runtime(struct task_struct *t) in read_sum_exec_runtime() argument
302 return t->se.sum_exec_runtime; in read_sum_exec_runtime()
305 static u64 read_sum_exec_runtime(struct task_struct *t) in read_sum_exec_runtime() argument
311 rq = task_rq_lock(t, &rf); in read_sum_exec_runtime()
312 ns = t->se.sum_exec_runtime; in read_sum_exec_runtime()
313 task_rq_unlock(rq, t, &rf); in read_sum_exec_runtime()
327 struct task_struct *t; in thread_group_cputime() local
352 for_each_thread(tsk, t) { in thread_group_cputime()
353 task_cputime(t, &utime, &stime); in thread_group_cputime()
356 times->sum_exec_runtime += read_sum_exec_runtime(t); in thread_group_cputime()
831 void vtime_init_idle(struct task_struct *t, int cpu) in vtime_init_idle() argument
833 struct vtime *vtime = &t->vtime; in vtime_init_idle()
845 u64 task_gtime(struct task_struct *t) in task_gtime() argument
847 struct vtime *vtime = &t->vtime; in task_gtime()
852 return t->gtime; in task_gtime()
857 gtime = t->gtime; in task_gtime()
871 bool task_cputime(struct task_struct *t, u64 *utime, u64 *stime) in task_cputime() argument
873 struct vtime *vtime = &t->vtime; in task_cputime()
879 *utime = t->utime; in task_cputime()
880 *stime = t->stime; in task_cputime()
888 *utime = t->utime; in task_cputime()
889 *stime = t->stime; in task_cputime()