Lines Matching refs:kthread
208 struct task_struct *kthread; member
236 struct task_struct *kthread; member
1677 this_cpu_osn_var()->kthread = NULL; in osnoise_migration_pending()
1813 wake_up_process(tlat->kthread); in timerlat_irq()
1819 wake_up_process(tlat->kthread); in timerlat_irq()
1893 tlat->kthread = current; in timerlat_main()
1946 struct task_struct *kthread; in stop_kthread() local
1948 kthread = per_cpu(per_cpu_osnoise_var, cpu).kthread; in stop_kthread()
1949 if (kthread) { in stop_kthread()
1951 kthread_stop(kthread); in stop_kthread()
1958 kill_pid(kthread->thread_pid, SIGKILL, 1); in stop_kthread()
1959 put_task_struct(kthread); in stop_kthread()
1961 per_cpu(per_cpu_osnoise_var, cpu).kthread = NULL; in stop_kthread()
1998 struct task_struct *kthread; in start_kthread() local
2015 kthread = kthread_run_on_cpu(main, NULL, cpu, comm); in start_kthread()
2017 if (IS_ERR(kthread)) { in start_kthread()
2023 per_cpu(per_cpu_osnoise_var, cpu).kthread = kthread; in start_kthread()
2052 per_cpu(per_cpu_osnoise_var, cpu).kthread = NULL; in start_per_cpu_kthreads()
2436 osn_var->kthread = current; in timerlat_fd_open()
2527 tlat->kthread = current; in timerlat_fd_read()
2591 if (osn_var->kthread) { in timerlat_fd_release()
2592 put_task_struct(osn_var->kthread); in timerlat_fd_release()
2593 osn_var->kthread = NULL; in timerlat_fd_release()