Home
last modified time | relevance | path

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

/drivers/scsi/
Dscsi_error.c190 struct list_head *work_q) in scsi_eh_prt_fail_stats() argument
200 list_for_each_entry(scmd, work_q, eh_entry) { in scsi_eh_prt_fail_stats()
927 int scsi_eh_get_sense(struct list_head *work_q, in scsi_eh_get_sense() argument
933 list_for_each_entry_safe(scmd, next, work_q, eh_entry) { in scsi_eh_get_sense()
968 return list_empty(work_q); in scsi_eh_get_sense()
1016 struct list_head *work_q, in scsi_eh_test_devices() argument
1037 list_move_tail(&scmd->eh_entry, work_q); in scsi_eh_test_devices()
1040 return list_empty(work_q); in scsi_eh_test_devices()
1056 static int scsi_eh_abort_cmds(struct list_head *work_q, in scsi_eh_abort_cmds() argument
1063 list_for_each_entry_safe(scmd, next, work_q, eh_entry) { in scsi_eh_abort_cmds()
[all …]
Dhosts.c257 shost->work_q = create_singlethread_workqueue( in scsi_add_host_with_dma()
259 if (!shost->work_q) { in scsi_add_host_with_dma()
273 if (shost->work_q) in scsi_add_host_with_dma()
274 destroy_workqueue(shost->work_q); in scsi_add_host_with_dma()
299 if (shost->work_q) in scsi_host_dev_release()
300 destroy_workqueue(shost->work_q); in scsi_host_dev_release()
557 if (unlikely(!shost->work_q)) { in scsi_queue_work()
566 return queue_work(shost->work_q, work); in scsi_queue_work()
576 if (!shost->work_q) { in scsi_flush_work()
584 flush_workqueue(shost->work_q); in scsi_flush_work()
Dscsi_priv.h75 struct list_head *work_q,
77 int scsi_eh_get_sense(struct list_head *work_q,
Dstex.c319 struct workqueue_struct *work_q; member
875 queue_work(hba->work_q, &hba->reset_work); in stex_intr()
973 queue_work(hba->work_q, &hba->reset_work); in stex_ss_intr()
1664 hba->work_q = create_singlethread_workqueue(hba->work_q_name); in stex_probe()
1665 if (!hba->work_q) { in stex_probe()
1707 destroy_workqueue(hba->work_q); in stex_probe()
1775 destroy_workqueue(hba->work_q); in stex_hba_free()
Dscsi_transport_fc.c438 fc_host->work_q = alloc_workqueue(fc_host->work_q_name, 0, 0); in fc_host_setup()
439 if (!fc_host->work_q) in fc_host_setup()
449 destroy_workqueue(fc_host->work_q); in fc_host_setup()
450 fc_host->work_q = NULL; in fc_host_setup()
2437 struct workqueue_struct *work_q; in fc_remove_host() local
2468 if (fc_host->work_q) { in fc_remove_host()
2469 work_q = fc_host->work_q; in fc_remove_host()
2470 fc_host->work_q = NULL; in fc_remove_host()
2471 destroy_workqueue(work_q); in fc_remove_host()
2476 work_q = fc_host->devloss_work_q; in fc_remove_host()
[all …]
Dmvumi.h172 struct work_struct work_q; member
Dmvumi.c1774 container_of(work, struct mvumi_events_wq, work_q); in mvumi_scan_events()
1794 INIT_WORK(&mu_ev->work_q, mvumi_scan_events); in mvumi_launch_events()
1799 schedule_work(&mu_ev->work_q); in mvumi_launch_events()
Dipr.c1391 schedule_work(&ioa_cfg->work_q); in ipr_handle_config_change()
1399 schedule_work(&ioa_cfg->work_q); in ipr_handle_config_change()
3160 container_of(work, struct ipr_ioa_cfg, work_q); in ipr_worker_thread()
4148 schedule_work(&ioa_cfg->work_q); in ipr_alloc_dump()
6803 schedule_work(&ioa_cfg->work_q); in ipr_ioa_reset_done()
8091 schedule_work(&ioa_cfg->work_q); in ipr_reset_restore_cfg_space()
9135 INIT_WORK(&ioa_cfg->work_q, ipr_worker_thread); in ipr_init_ioa_cfg()
9722 flush_work(&ioa_cfg->work_q); in __ipr_remove()
9832 schedule_work(&ioa_cfg->work_q); in ipr_probe()
Dipr.h1511 struct work_struct work_q; member
/drivers/scsi/fcoe/
Dfcoe_sysfs.c62 ((x)->work_q)
697 ctlr->work_q = create_singlethread_workqueue( in fcoe_ctlr_device_add()
699 if (!ctlr->work_q) in fcoe_ctlr_device_add()
721 destroy_workqueue(ctlr->work_q); in fcoe_ctlr_device_add()
722 ctlr->work_q = NULL; in fcoe_ctlr_device_add()
767 destroy_workqueue(ctlr->work_q); in fcoe_ctlr_device_delete()
768 ctlr->work_q = NULL; in fcoe_ctlr_device_delete()
/drivers/scsi/libsas/
Dsas_scsi_host.c620 static void sas_eh_handle_sas_errors(struct Scsi_Host *shost, struct list_head *work_q) in sas_eh_handle_sas_errors() argument
631 list_for_each_entry_safe(cmd, n, work_q, eh_entry) { in sas_eh_handle_sas_errors()
648 list_for_each_entry_safe(cmd, n, work_q, eh_entry) { in sas_eh_handle_sas_errors()
697 sas_scsi_clear_queue_lu(work_q, cmd); in sas_eh_handle_sas_errors()
712 sas_scsi_clear_queue_I_T(work_q, dev); in sas_eh_handle_sas_errors()
726 sas_scsi_clear_queue_port(work_q, in sas_eh_handle_sas_errors()
755 list_splice_tail(&done, work_q); in sas_eh_handle_sas_errors()
756 list_splice_tail_init(&ha->eh_ata_q, work_q); in sas_eh_handle_sas_errors()
761 list_for_each_entry_safe(cmd, n, work_q, eh_entry) in sas_eh_handle_sas_errors()
Dsas_event.c59 struct workqueue_struct *wq = ha->core.shost->work_q; in __sas_drain_work()
Dsas_ata.c868 void sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q, in sas_ata_eh() argument
878 list_for_each_entry_safe(cmd, n, work_q, eh_entry) { in sas_ata_eh()
/drivers/net/ethernet/brocade/bna/
Dbnad.c1032 queue_delayed_work(bnad->work_q, &tx_info->tx_cleanup_work, in bnad_tx_cleanup()
1055 queue_delayed_work(bnad->work_q, &tx_info->tx_cleanup_work, 0); in bnad_cb_tx_cleanup()
1137 queue_work(bnad->work_q, &rx_info->rx_cleanup_work); in bnad_cb_rx_cleanup()
3238 bnad->work_q = create_singlethread_workqueue(bnad->wq_name); in bnad_init()
3239 if (!bnad->work_q) { in bnad_init()
3255 if (bnad->work_q) { in bnad_uninit()
3256 flush_workqueue(bnad->work_q); in bnad_uninit()
3257 destroy_workqueue(bnad->work_q); in bnad_uninit()
3258 bnad->work_q = NULL; in bnad_uninit()
Dbnad.h339 struct workqueue_struct *work_q; member
/drivers/message/fusion/
Dmptfc.c1503 struct workqueue_struct *work_q; in mptfc_remove() local
1508 if ((work_q=ioc->fc_rescan_work_q)) { in mptfc_remove()
1512 destroy_workqueue(work_q); in mptfc_remove()
/drivers/net/wan/
Dfarsync.c572 static void fst_process_tx_work_q(unsigned long work_q);
573 static void fst_process_int_work_q(unsigned long work_q);
606 fst_process_tx_work_q(unsigned long /*void **/work_q) in fst_process_tx_work_q() argument
636 fst_process_int_work_q(unsigned long /*void **/work_q) in fst_process_int_work_q() argument
/drivers/scsi/mvsas/
Dmv_sas.h427 struct delayed_work work_q; member
Dmv_sas.c1983 struct mvs_wq *mwq = container_of(dw, struct mvs_wq, work_q); in mvs_work_queue()
2035 MV_INIT_DELAYED_WORK(&mwq->work_q, mvs_work_queue, mwq); in mvs_handle_event()
2037 schedule_delayed_work(&mwq->work_q, HZ * 2); in mvs_handle_event()
Dmv_init.c166 cancel_delayed_work(&mwq->work_q); in mvs_free()
/drivers/infiniband/hw/nes/
Dnes_hw.h1063 struct workqueue_struct *work_q; member