Lines Matching refs:work_q
444 fc_host->work_q = alloc_workqueue("fc_wq_%d", 0, 0, shost->host_no); in fc_host_setup()
445 if (!fc_host->work_q) in fc_host_setup()
452 destroy_workqueue(fc_host->work_q); in fc_host_setup()
453 fc_host->work_q = NULL; in fc_host_setup()
2878 struct workqueue_struct *work_q; in fc_remove_host() local
2911 if (fc_host->work_q) { in fc_remove_host()
2912 work_q = fc_host->work_q; in fc_remove_host()
2913 fc_host->work_q = NULL; in fc_remove_host()
2914 destroy_workqueue(work_q); in fc_remove_host()
2919 work_q = fc_host->devloss_work_q; in fc_remove_host()
2921 destroy_workqueue(work_q); in fc_remove_host()