Lines Matching refs:t
290 static inline u64 read_sum_exec_runtime(struct task_struct *t) in read_sum_exec_runtime() argument
292 return t->se.sum_exec_runtime; in read_sum_exec_runtime()
295 static u64 read_sum_exec_runtime(struct task_struct *t) in read_sum_exec_runtime() argument
301 rq = task_rq_lock(t, &rf); in read_sum_exec_runtime()
302 ns = t->se.sum_exec_runtime; in read_sum_exec_runtime()
303 task_rq_unlock(rq, t, &rf); in read_sum_exec_runtime()
317 struct task_struct *t; in thread_group_cputime() local
342 for_each_thread(tsk, t) { in thread_group_cputime()
343 task_cputime(t, &utime, &stime); in thread_group_cputime()
346 times->sum_exec_runtime += read_sum_exec_runtime(t); in thread_group_cputime()
804 void vtime_init_idle(struct task_struct *t, int cpu) in vtime_init_idle() argument
806 struct vtime *vtime = &t->vtime; in vtime_init_idle()
818 u64 task_gtime(struct task_struct *t) in task_gtime() argument
820 struct vtime *vtime = &t->vtime; in task_gtime()
825 return t->gtime; in task_gtime()
830 gtime = t->gtime; in task_gtime()
844 bool task_cputime(struct task_struct *t, u64 *utime, u64 *stime) in task_cputime() argument
846 struct vtime *vtime = &t->vtime; in task_cputime()
852 *utime = t->utime; in task_cputime()
853 *stime = t->stime; in task_cputime()
861 *utime = t->utime; in task_cputime()
862 *stime = t->stime; in task_cputime()