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()
1695 this_cpu_osn_var()->kthread = NULL; in osnoise_migration_pending()
1832 wake_up_process(tlat->kthread); in timerlat_irq()
1838 wake_up_process(tlat->kthread); in timerlat_irq()
1912 tlat->kthread = current; in timerlat_main()
1965 struct task_struct *kthread; in stop_kthread() local
1967 kthread = xchg_relaxed(&(per_cpu(per_cpu_osnoise_var, cpu).kthread), NULL); in stop_kthread()
1968 if (kthread) { in stop_kthread()
1971 kthread_stop(kthread); in stop_kthread()
1978 kill_pid(kthread->thread_pid, SIGKILL, 1); in stop_kthread()
1979 put_task_struct(kthread); in stop_kthread()
2016 struct task_struct *kthread; in start_kthread() local
2021 if (per_cpu(per_cpu_osnoise_var, cpu).kthread) in start_kthread()
2037 kthread = kthread_run_on_cpu(main, NULL, cpu, comm); in start_kthread()
2039 if (IS_ERR(kthread)) { in start_kthread()
2045 per_cpu(per_cpu_osnoise_var, cpu).kthread = kthread; in start_kthread()
2076 struct task_struct *kthread; in start_per_cpu_kthreads() local
2078 kthread = xchg_relaxed(&(per_cpu(per_cpu_osnoise_var, cpu).kthread), NULL); in start_per_cpu_kthreads()
2079 if (!WARN_ON(!kthread)) in start_per_cpu_kthreads()
2080 kthread_stop(kthread); in start_per_cpu_kthreads()
2468 osn_var->kthread = current; in timerlat_fd_open()
2562 tlat->kthread = current; in timerlat_fd_read()
2614 if (tlat_var->kthread) in timerlat_fd_release()
2624 if (osn_var->kthread) { in timerlat_fd_release()
2625 put_task_struct(osn_var->kthread); in timerlat_fd_release()
2626 osn_var->kthread = NULL; in timerlat_fd_release()