Searched refs:scan_thread (Results 1 – 1 of 1) sorted by relevance
231 static struct task_struct *scan_thread; variable1747 if (scan_thread) in start_scan_thread()1749 scan_thread = kthread_run(kmemleak_scan_thread, NULL, "kmemleak"); in start_scan_thread()1750 if (IS_ERR(scan_thread)) { in start_scan_thread()1752 scan_thread = NULL; in start_scan_thread()1761 if (scan_thread) { in stop_scan_thread()1762 kthread_stop(scan_thread); in stop_scan_thread()1763 scan_thread = NULL; in stop_scan_thread()