Searched refs:scan_thread (Results 1 – 1 of 1) sorted by relevance
231 static struct task_struct *scan_thread; variable1848 if (scan_thread) in start_scan_thread()1850 scan_thread = kthread_run(kmemleak_scan_thread, NULL, "kmemleak"); in start_scan_thread()1851 if (IS_ERR(scan_thread)) { in start_scan_thread()1853 scan_thread = NULL; in start_scan_thread()1862 if (scan_thread) { in stop_scan_thread()1863 kthread_stop(scan_thread); in stop_scan_thread()1864 scan_thread = NULL; in stop_scan_thread()