Lines Matching refs:kthread

208 	struct task_struct	*kthread;  member
241 struct task_struct *kthread; member
276 if (tlat_var->kthread) in tlat_var_reset()
1664 this_cpu_osn_var()->kthread = NULL; in osnoise_migration_pending()
1801 wake_up_process(tlat->kthread); in timerlat_irq()
1807 wake_up_process(tlat->kthread); in timerlat_irq()
1880 tlat->kthread = current; in timerlat_main()
1933 struct task_struct *kthread; in stop_kthread() local
1935 kthread = xchg_relaxed(&(per_cpu(per_cpu_osnoise_var, cpu).kthread), NULL); in stop_kthread()
1936 if (kthread) { in stop_kthread()
1939 kthread_stop(kthread); in stop_kthread()
1946 kill_pid(kthread->thread_pid, SIGKILL, 1); in stop_kthread()
1947 put_task_struct(kthread); in stop_kthread()
1984 struct task_struct *kthread; in start_kthread() local
1989 if (per_cpu(per_cpu_osnoise_var, cpu).kthread) in start_kthread()
2005 kthread = kthread_run_on_cpu(main, NULL, cpu, comm); in start_kthread()
2007 if (IS_ERR(kthread)) { in start_kthread()
2012 per_cpu(per_cpu_osnoise_var, cpu).kthread = kthread; in start_kthread()
2043 struct task_struct *kthread; in start_per_cpu_kthreads() local
2045 kthread = xchg_relaxed(&(per_cpu(per_cpu_osnoise_var, cpu).kthread), NULL); in start_per_cpu_kthreads()
2046 if (!WARN_ON(!kthread)) in start_per_cpu_kthreads()
2047 kthread_stop(kthread); in start_per_cpu_kthreads()
2421 osn_var->kthread = current; in timerlat_fd_open()
2514 tlat->kthread = current; in timerlat_fd_read()
2566 if (tlat_var->kthread) in timerlat_fd_release()
2576 if (osn_var->kthread) { in timerlat_fd_release()
2577 put_task_struct(osn_var->kthread); in timerlat_fd_release()
2578 osn_var->kthread = NULL; in timerlat_fd_release()