Lines Matching refs:tsk
55 void thread_group_cputime(struct task_struct *tsk, struct task_cputime *times);
56 void thread_group_sample_cputime(struct task_struct *tsk, u64 *samples);
71 struct thread_group_cputimer *get_running_cputimer(struct task_struct *tsk) in get_running_cputimer() argument
73 struct thread_group_cputimer *cputimer = &tsk->signal->cputimer; in get_running_cputimer()
79 if (!READ_ONCE(tsk->signal->posix_cputimers.timers_active)) in get_running_cputimer()
96 if (unlikely(!tsk->sighand)) in get_running_cputimer()
103 struct thread_group_cputimer *get_running_cputimer(struct task_struct *tsk) in get_running_cputimer() argument
119 static inline void account_group_user_time(struct task_struct *tsk, in account_group_user_time() argument
122 struct thread_group_cputimer *cputimer = get_running_cputimer(tsk); in account_group_user_time()
140 static inline void account_group_system_time(struct task_struct *tsk, in account_group_system_time() argument
143 struct thread_group_cputimer *cputimer = get_running_cputimer(tsk); in account_group_system_time()
161 static inline void account_group_exec_runtime(struct task_struct *tsk, in account_group_exec_runtime() argument
164 struct thread_group_cputimer *cputimer = get_running_cputimer(tsk); in account_group_exec_runtime()