Lines Matching refs:t
289 static inline u64 read_sum_exec_runtime(struct task_struct *t) in read_sum_exec_runtime() argument
291 return t->se.sum_exec_runtime; in read_sum_exec_runtime()
294 static u64 read_sum_exec_runtime(struct task_struct *t) in read_sum_exec_runtime() argument
300 rq = task_rq_lock(t, &rf); in read_sum_exec_runtime()
301 ns = t->se.sum_exec_runtime; in read_sum_exec_runtime()
302 task_rq_unlock(rq, t, &rf); in read_sum_exec_runtime()
316 struct task_struct *t; in thread_group_cputime() local
341 for_each_thread(tsk, t) { in thread_group_cputime()
342 task_cputime(t, &utime, &stime); in thread_group_cputime()
345 times->sum_exec_runtime += read_sum_exec_runtime(t); in thread_group_cputime()
816 void vtime_init_idle(struct task_struct *t, int cpu) in vtime_init_idle() argument
818 struct vtime *vtime = &t->vtime; in vtime_init_idle()
830 u64 task_gtime(struct task_struct *t) in task_gtime() argument
832 struct vtime *vtime = &t->vtime; in task_gtime()
837 return t->gtime; in task_gtime()
842 gtime = t->gtime; in task_gtime()
856 bool task_cputime(struct task_struct *t, u64 *utime, u64 *stime) in task_cputime() argument
858 struct vtime *vtime = &t->vtime; in task_cputime()
864 *utime = t->utime; in task_cputime()
865 *stime = t->stime; in task_cputime()
873 *utime = t->utime; in task_cputime()
874 *stime = t->stime; in task_cputime()