Searched refs:closure (Results 1 – 4 of 4) sorted by relevance
23 let closure = in tty_flush_thread_init() localVariable25 let pcb = KernelThreadMechanism::create_and_run(closure, "tty_refresh".to_string()) in tty_flush_thread_init()
129 closure: SpinLock<Option<Box<KernelThreadClosure>>>, field154 closure: SpinLock::new(Some(Box::new(func))), in new()201 return self.closure.lock().take(); in take_closure()310 let closure = KernelThreadClosure::EmptyClosure((Box::new(Self::kthread_daemon), ())); in init_stage2() localVariable311 let info = KernelThreadCreateInfo::new(closure, "kthreadd".to_string()); in init_stage2()498 let closure: Box<KernelThreadClosure> = info.take_closure().unwrap(); in kernel_thread_bootstrap_stage2() localVariable514 retval = closure.run(); in kernel_thread_bootstrap_stage2()
1033 let closure = KernelThreadClosure::StaticEmptyClosure(( in init_watchdog_kthread() localVariable1037 let pcb = KernelThreadMechanism::create_and_run(closure, "clocksource watchdog".to_string()) in init_watchdog_kthread()
122 let closure = crate::process::kthread::KernelThreadClosure::StaticEmptyClosure(( in page_reclaimer_thread_init() localVariable127 closure, in page_reclaimer_thread_init()