Lines Matching defs:thread
1637 * zfcp_erp_thread_setup - Start ERP thread for adapter
1638 * @adapter: Adapter to start the ERP thread for
1644 struct task_struct *thread;
1646 thread = kthread_run(zfcp_erp_thread, adapter, "zfcperp%s",
1648 if (IS_ERR(thread)) {
1650 "Creating an ERP thread for the FCP device failed.\n");
1651 return PTR_ERR(thread);
1654 adapter->erp_thread = thread;
1659 * zfcp_erp_thread_kill - Stop ERP thread.
1660 * @adapter: Adapter where the ERP thread should be stopped.