• Home
  • Raw
  • Download

Lines Matching refs:t

92 static void check_hung_task(struct task_struct *t, unsigned long timeout)  in check_hung_task()  argument
94 unsigned long switch_count = t->nvcsw + t->nivcsw; in check_hung_task()
100 if (unlikely(READ_ONCE(t->__state) & TASK_FROZEN)) in check_hung_task()
111 if (switch_count != t->last_switch_count) { in check_hung_task()
112 t->last_switch_count = switch_count; in check_hung_task()
113 t->last_switch_time = jiffies; in check_hung_task()
116 if (time_is_after_jiffies(t->last_switch_time + timeout * HZ)) in check_hung_task()
119 trace_sched_process_hang(t); in check_hung_task()
135 t->comm, t->pid, (jiffies - t->last_switch_time) / HZ); in check_hung_task()
142 sched_show_task(t); in check_hung_task()
159 static bool rcu_lock_break(struct task_struct *g, struct task_struct *t) in rcu_lock_break() argument
164 get_task_struct(t); in rcu_lock_break()
168 can_cont = pid_alive(g) && pid_alive(t); in rcu_lock_break()
169 put_task_struct(t); in rcu_lock_break()
184 struct task_struct *g, *t; in check_hung_uninterruptible_tasks() local
196 for_each_process_thread(g, t) { in check_hung_uninterruptible_tasks()
202 if (!rcu_lock_break(g, t)) in check_hung_uninterruptible_tasks()
210 trace_android_vh_check_uninterrupt_tasks(t, timeout, &need_check); in check_hung_uninterruptible_tasks()
212 state = READ_ONCE(t->__state); in check_hung_uninterruptible_tasks()
216 check_hung_task(t, timeout); in check_hung_uninterruptible_tasks()
375 long t; in watchdog() local
380 t = hung_timeout_jiffies(hung_last_checked, interval); in watchdog()
381 if (t <= 0) { in watchdog()
388 schedule_timeout_interruptible(t); in watchdog()