Home
last modified time | relevance | path

Searched refs:work_q (Results 1 – 25 of 33) sorted by relevance

12

/drivers/scsi/
A Dscsi_error.c1393 return list_empty(work_q); in scsi_eh_get_sense()
1443 struct list_head *work_q, in scsi_eh_test_devices() argument
1481 return list_empty(work_q); in scsi_eh_test_devices()
1556 work_q, eh_entry) { in scsi_eh_stu()
1570 return list_empty(work_q); in scsi_eh_stu()
1622 work_q, eh_entry) { in scsi_eh_bus_device_reset()
1636 return list_empty(work_q); in scsi_eh_bus_device_reset()
1649 struct list_head *work_q, in scsi_eh_target_reset() argument
1670 return list_empty(work_q); in scsi_eh_target_reset()
1790 if (!list_empty(work_q)) { in scsi_eh_host_reset()
[all …]
A Dhosts.c295 shost->work_q = alloc_workqueue( in scsi_add_host_with_dma()
300 if (!shost->work_q) { in scsi_add_host_with_dma()
350 if (shost->work_q) in scsi_host_dev_release()
351 destroy_workqueue(shost->work_q); in scsi_host_dev_release()
659 if (unlikely(!shost->work_q)) { in scsi_queue_work()
668 return queue_work(shost->work_q, work); in scsi_queue_work()
678 if (!shost->work_q) { in scsi_flush_work()
686 flush_workqueue(shost->work_q); in scsi_flush_work()
A Dscsi_priv.h96 struct list_head *work_q,
98 int scsi_eh_get_sense(struct list_head *work_q,
A DNCR5380.c416 hostdata->work_q = alloc_workqueue("ncr5380_%d", in NCR5380_init()
419 if (!hostdata->work_q) in NCR5380_init()
518 destroy_workqueue(hostdata->work_q); in NCR5380_exit()
604 queue_work(hostdata->work_q, &hostdata->main_task); in NCR5380_queue_command()
890 queue_work(hostdata->work_q, &hostdata->main_task); in NCR5380_intr()
905 queue_work(hostdata->work_q, &hostdata->main_task); in NCR5380_intr()
2316 queue_work(hostdata->work_q, &hostdata->main_task); in NCR5380_abort()
2371 queue_work(hostdata->work_q, &hostdata->main_task); in bus_reset_cleanup()
A Dstex.c337 struct workqueue_struct *work_q; member
902 queue_work(hba->work_q, &hba->reset_work); in stex_intr()
1001 queue_work(hba->work_q, &hba->reset_work); in stex_ss_intr()
1015 queue_work(hba->work_q, &hba->reset_work); in stex_ss_intr()
1797 hba->work_q = alloc_ordered_workqueue("stex_wq_%d", WQ_MEM_RECLAIM, in stex_probe()
1799 if (!hba->work_q) { in stex_probe()
1834 destroy_workqueue(hba->work_q); in stex_probe()
1918 destroy_workqueue(hba->work_q); in stex_hba_free()
A DNCR5380.h209 struct workqueue_struct *work_q; /* SCSI host work queue */ member
A Dscsi_transport_fc.c444 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()
2873 struct workqueue_struct *work_q; in fc_remove_host() local
2906 if (fc_host->work_q) { in fc_remove_host()
2907 work_q = fc_host->work_q; in fc_remove_host()
2908 fc_host->work_q = NULL; in fc_remove_host()
2909 destroy_workqueue(work_q); in fc_remove_host()
2958 struct workqueue_struct *work_q; in fc_rport_final_delete() local
3014 work_q = rport->devloss_work_q; in fc_rport_final_delete()
3016 destroy_workqueue(work_q); in fc_rport_final_delete()
A Dmyrs.c1458 queue_delayed_work(cs->work_q, &cs->monitor_work, 1); in discovery_store()
2169 queue_delayed_work(cs->work_q, &cs->monitor_work, interval); in myrs_monitor()
2210 cs->work_q = alloc_ordered_workqueue("myrs_wq_%d", WQ_MEM_RECLAIM, in myrs_create_mempools()
2212 if (!cs->work_q) { in myrs_create_mempools()
2226 queue_delayed_work(cs->work_q, &cs->monitor_work, 1); in myrs_create_mempools()
2234 destroy_workqueue(cs->work_q); in myrs_destroy_mempools()
A Dmvumi.h156 struct work_struct work_q; member
A Dmyrb.h714 struct workqueue_struct *work_q; member
A Dipr.c1386 schedule_work(&ioa_cfg->work_q); in ipr_handle_config_change()
1393 schedule_work(&ioa_cfg->work_q); in ipr_handle_config_change()
2574 schedule_work(&ioa_cfg->work_q); in ipr_process_error()
4314 schedule_work(&ioa_cfg->work_q); in ipr_alloc_dump()
6437 schedule_work(&ioa_cfg->work_q); in ipr_ioa_bringdown_done()
6490 schedule_work(&ioa_cfg->work_q); in ipr_ioa_reset_done()
6512 schedule_work(&ioa_cfg->work_q); in ipr_ioa_reset_done()
7834 schedule_work(&ioa_cfg->work_q); in ipr_dump_mailbox_wait()
8516 schedule_work(&ioa_cfg->work_q); in ipr_initiate_ioa_reset()
9676 flush_work(&ioa_cfg->work_q); in __ipr_remove()
[all …]
/drivers/accel/amdxdna/
A Damdxdna_mailbox.c65 struct workqueue_struct *work_q; member
351 queue_work(mb_chann->work_q, &mb_chann->rx_work); in mailbox_irq_handler()
502 mb_chann->work_q = create_singlethread_workqueue(MAILBOX_NAME); in xdna_mailbox_create_channel()
503 if (!mb_chann->work_q) { in xdna_mailbox_create_channel()
521 destroy_workqueue(mb_chann->work_q); in xdna_mailbox_create_channel()
534 destroy_workqueue(mb_chann->work_q); in xdna_mailbox_destroy_channel()
/drivers/scsi/fcoe/
A Dfcoe_sysfs.c49 ((x)->work_q)
796 ctlr->work_q = alloc_ordered_workqueue("ctlr_wq_%d", WQ_MEM_RECLAIM, in fcoe_ctlr_device_add()
798 if (!ctlr->work_q) in fcoe_ctlr_device_add()
811 destroy_workqueue(ctlr->work_q); in fcoe_ctlr_device_add()
819 destroy_workqueue(ctlr->work_q); in fcoe_ctlr_device_add()
820 ctlr->work_q = NULL; in fcoe_ctlr_device_add()
865 destroy_workqueue(ctlr->work_q); in fcoe_ctlr_device_delete()
866 ctlr->work_q = NULL; in fcoe_ctlr_device_delete()
/drivers/scsi/snic/
A Dsnic_main.c302 SNIC_BUG_ON(shost->work_q != NULL); in snic_add_host()
303 shost->work_q = alloc_ordered_workqueue("scsi_wq_%d", WQ_MEM_RECLAIM, in snic_add_host()
305 if (!shost->work_q) { in snic_add_host()
317 if (!shost->work_q) in snic_del_host()
320 destroy_workqueue(shost->work_q); in snic_del_host()
321 shost->work_q = NULL; in snic_del_host()
/drivers/scsi/libsas/
A Dsas_scsi_host.c523 static void sas_eh_handle_sas_errors(struct Scsi_Host *shost, struct list_head *work_q) in sas_eh_handle_sas_errors() argument
534 list_for_each_entry_safe(cmd, n, work_q, eh_entry) { in sas_eh_handle_sas_errors()
551 list_for_each_entry_safe(cmd, n, work_q, eh_entry) { in sas_eh_handle_sas_errors()
589 sas_scsi_clear_queue_lu(work_q, cmd); in sas_eh_handle_sas_errors()
604 sas_scsi_clear_queue_I_T(work_q, dev); in sas_eh_handle_sas_errors()
618 sas_scsi_clear_queue_port(work_q, in sas_eh_handle_sas_errors()
645 list_splice_tail(&done, work_q); in sas_eh_handle_sas_errors()
646 list_splice_tail_init(&ha->eh_ata_q, work_q); in sas_eh_handle_sas_errors()
651 list_for_each_entry_safe(cmd, n, work_q, eh_entry) in sas_eh_handle_sas_errors()
A Dsas_internal.h233 void sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q);
255 static inline void sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q) in sas_ata_eh() argument
A Dsas_ata.c866 void sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q) in sas_ata_eh() argument
875 list_for_each_entry_safe(cmd, n, work_q, eh_entry) { in sas_ata_eh()
/drivers/nvme/target/
A Dfc.c148 struct workqueue_struct *work_q; member
781 queue_work(queue->work_q, &fod->defer_work); in nvmet_fc_free_fcp_iod()
798 queue->work_q = alloc_workqueue("ntfc%d.%d.%d", 0, 0, in nvmet_fc_alloc_target_queue()
801 if (!queue->work_q) in nvmet_fc_alloc_target_queue()
832 destroy_workqueue(queue->work_q); in nvmet_fc_alloc_target_queue()
847 destroy_workqueue(queue->work_q); in nvmet_fc_tgt_queue_free()
936 flush_workqueue(queue->work_q); in nvmet_fc_delete_target_queue()
1222 flush_workqueue(assoc->queues[i]->work_q); in nvmet_fc_delete_target_assoc()
/drivers/scsi/ibmvscsi_tgt/
A Dibmvscsi_tgt.h291 struct workqueue_struct *work_q; member
A Dibmvscsi_tgt.c601 (void)queue_work(vscsi->work_q, &vscsi->proc_work); in ibmvscsis_post_disconnect()
2417 queue_work(vscsi->work_q, &cmd->work); in ibmvscsis_srp_cmd()
2431 queue_work(vscsi->work_q, &cmd->work); in ibmvscsis_srp_cmd()
3536 vscsi->work_q = alloc_workqueue("ibmvscsis%s", WQ_MEM_RECLAIM, 1, in ibmvscsis_probe()
3538 if (!vscsi->work_q) { in ibmvscsis_probe()
3558 destroy_workqueue(vscsi->work_q); in ibmvscsis_probe()
3598 destroy_workqueue(vscsi->work_q); in ibmvscsis_remove()
/drivers/net/ethernet/brocade/bna/
A Dbnad.c1123 queue_delayed_work(bnad->work_q, &tx_info->tx_cleanup_work, in bnad_tx_cleanup()
1146 queue_delayed_work(bnad->work_q, &tx_info->tx_cleanup_work, 0); in bnad_cb_tx_cleanup()
1228 queue_work(bnad->work_q, &rx_info->rx_cleanup_work); in bnad_cb_rx_cleanup()
3498 bnad->work_q = create_singlethread_workqueue(bnad->wq_name); in bnad_init()
3499 if (!bnad->work_q) { in bnad_init()
3515 if (bnad->work_q) { in bnad_uninit()
3516 destroy_workqueue(bnad->work_q); in bnad_uninit()
3517 bnad->work_q = NULL; in bnad_uninit()
A Dbnad.h339 struct workqueue_struct *work_q; member
/drivers/message/fusion/
A Dmptfc.c1529 struct workqueue_struct *work_q; in mptfc_remove() local
1534 if ((work_q=ioc->fc_rescan_work_q)) { in mptfc_remove()
1538 destroy_workqueue(work_q); in mptfc_remove()
/drivers/net/ethernet/qlogic/qlcnic/
A Dqlcnic_83xx_hw.c843 flush_workqueue(ahw->mailbox->work_q); in qlcnic_83xx_poll_for_mbx_completion()
876 flush_workqueue(mbx->work_q); in qlcnic_83xx_issue_cmd()
3876 destroy_workqueue(mbx->work_q); in qlcnic_83xx_free_mailbox()
4002 flush_workqueue(mbx->work_q); in qlcnic_83xx_detach_mailbox_work()
4023 queue_work(mbx->work_q, &mbx->work); in qlcnic_83xx_enqueue_mbx_cmd()
4180 mbx->work_q = create_singlethread_workqueue("qlcnic_mailbox"); in qlcnic_83xx_init_mailbox_work()
4181 if (mbx->work_q == NULL) { in qlcnic_83xx_init_mailbox_work()
/drivers/scsi/mvsas/
A Dmv_sas.h409 struct delayed_work work_q; member

Completed in 97 milliseconds

12