Searched refs:scan_thread (Results 1 – 1 of 1) sorted by relevance
218 static struct task_struct *scan_thread; variable1606 if (scan_thread) in start_scan_thread()1608 scan_thread = kthread_run(kmemleak_scan_thread, NULL, "kmemleak"); in start_scan_thread()1609 if (IS_ERR(scan_thread)) { in start_scan_thread()1611 scan_thread = NULL; in start_scan_thread()1620 if (scan_thread) { in stop_scan_thread()1621 kthread_stop(scan_thread); in stop_scan_thread()1622 scan_thread = NULL; in stop_scan_thread()