Searched refs:scan_thread (Results 1 – 1 of 1) sorted by relevance
211 static struct task_struct *scan_thread; variable1474 if (scan_thread) in start_scan_thread()1476 scan_thread = kthread_run(kmemleak_scan_thread, NULL, "kmemleak"); in start_scan_thread()1477 if (IS_ERR(scan_thread)) { in start_scan_thread()1479 scan_thread = NULL; in start_scan_thread()1489 if (scan_thread) { in stop_scan_thread()1490 kthread_stop(scan_thread); in stop_scan_thread()1491 scan_thread = NULL; in stop_scan_thread()