Searched refs:scan_thread (Results 1 – 1 of 1) sorted by relevance
217 static struct task_struct *scan_thread; variable1598 if (scan_thread) in start_scan_thread()1600 scan_thread = kthread_run(kmemleak_scan_thread, NULL, "kmemleak"); in start_scan_thread()1601 if (IS_ERR(scan_thread)) { in start_scan_thread()1603 scan_thread = NULL; in start_scan_thread()1612 if (scan_thread) { in stop_scan_thread()1613 kthread_stop(scan_thread); in stop_scan_thread()1614 scan_thread = NULL; in stop_scan_thread()