| /linux/drivers/scsi/ |
| H A D | scsi_error.c | 412 struct list_head *work_q) in scsi_eh_prt_fail_stats() argument 422 list_for_each_entry(scmd, work_q, eh_entry) { in scsi_eh_prt_fail_stats() 1360 int scsi_eh_get_sense(struct list_head *work_q, in scsi_eh_get_sense() argument 1371 list_for_each_entry_safe(scmd, next, work_q, eh_entry) { in scsi_eh_get_sense() 1429 return list_empty(work_q); in scsi_eh_get_sense() 1479 struct list_head *work_q, in scsi_eh_test_devices() argument 1493 list_splice_init(cmd_list, work_q); in scsi_eh_test_devices() 1514 list_move_tail(&scmd->eh_entry, work_q); in scsi_eh_test_devices() 1517 return list_empty(work_q); in scsi_eh_test_devices() 1557 struct list_head *work_q, in scsi_eh_stu() argument [all …]
|
| H A D | stex.c | 337 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() 1919 destroy_workqueue(hba->work_q); in stex_hba_free()
|
| H A D | NCR5380.h | 209 struct workqueue_struct *work_q; /* SCSI host work queue */ member
|
| H A D | scsi_transport_fc.c | 445 fc_host->work_q = alloc_workqueue("fc_wq_%d", WQ_PERCPU, 0, in fc_host_setup() 447 if (!fc_host->work_q) in fc_host_setup() 2916 struct workqueue_struct *work_q; in fc_remove_host() local 2949 if (fc_host->work_q) { in fc_remove_host() 2950 work_q = fc_host->work_q; in fc_remove_host() 2951 fc_host->work_q = NULL; in fc_remove_host() 2952 destroy_workqueue(work_q); in fc_remove_host() 3001 struct workqueue_struct *work_q; in fc_rport_final_delete() local 3057 work_q = rport->devloss_work_q; in fc_rport_final_delete() 3059 destroy_workqueue(work_q); in fc_rport_final_delete()
|
| H A D | myrs.c | 1458 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()
|
| H A D | mvumi.h | 156 struct work_struct work_q; member
|
| H A D | myrb.h | 714 struct workqueue_struct *work_q; member
|
| H A D | ipr.c | 1386 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() 3311 container_of(work, struct ipr_ioa_cfg, work_q); in ipr_worker_thread() 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() 8541 schedule_work(&ioa_cfg->work_q); in ipr_initiate_ioa_reset() [all …]
|
| H A D | myrb.c | 115 cb->work_q = alloc_ordered_workqueue("myrb_wq_%d", WQ_MEM_RECLAIM, in myrb_create_mempools() 117 if (!cb->work_q) { in myrb_create_mempools() 131 queue_delayed_work(cb->work_q, &cb->monitor_work, 1); in myrb_create_mempools() 142 destroy_workqueue(cb->work_q); in myrb_destroy_mempools() 2449 queue_delayed_work(cb->work_q, &cb->monitor_work, interval); in myrb_monitor()
|
| H A D | myrs.h | 906 struct workqueue_struct *work_q; member
|
| /linux/drivers/accel/amdxdna/ |
| H A D | amdxdna_mailbox.c | 65 struct workqueue_struct *work_q; member 342 queue_work(mb_chann->work_q, &mb_chann->rx_work); in mailbox_irq_handler() 472 mb_chann->work_q = create_singlethread_workqueue(MAILBOX_NAME); in xdna_mailbox_alloc_channel() 473 if (!mb_chann->work_q) { in xdna_mailbox_alloc_channel() 488 destroy_workqueue(mb_chann->work_q); in xdna_mailbox_free_channel() 538 drain_workqueue(mb_chann->work_q); in xdna_mailbox_stop_channel()
|
| /linux/drivers/scsi/fcoe/ |
| H A D | fcoe_sysfs.c | 49 ((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()
|
| /linux/drivers/scsi/snic/ |
| H A D | snic_main.c | 302 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()
|
| /linux/drivers/scsi/libsas/ |
| H A D | sas_internal.h | 220 void sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q); 242 static inline void sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q) in sas_ata_eh() argument
|
| H A D | sas_ata.c | 866 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()
|
| /linux/include/scsi/ |
| H A D | fcoe_sysfs.h | 53 struct workqueue_struct *work_q; member
|
| H A D | scsi_host.h | 705 struct workqueue_struct *work_q; 701 struct workqueue_struct *work_q; global() member
|
| /linux/drivers/nvme/target/ |
| H A D | fc.c | 148 struct workqueue_struct *work_q; member 778 queue_work(queue->work_q, &fod->defer_work); in nvmet_fc_free_fcp_iod() 795 queue->work_q = alloc_workqueue("ntfc%d.%d.%d", 0, 0, in nvmet_fc_alloc_target_queue() 798 if (!queue->work_q) in nvmet_fc_alloc_target_queue() 829 destroy_workqueue(queue->work_q); in nvmet_fc_alloc_target_queue() 844 destroy_workqueue(queue->work_q); in nvmet_fc_tgt_queue_free() 933 flush_workqueue(queue->work_q); in nvmet_fc_delete_target_queue() 1220 flush_workqueue(assoc->queues[i]->work_q); in nvmet_fc_delete_target_assoc()
|
| /linux/drivers/scsi/ibmvscsi_tgt/ |
| H A D | ibmvscsi_tgt.h | 291 struct workqueue_struct *work_q; member
|
| H A D | ibmvscsi_tgt.c | 601 (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", in ibmvscsis_probe() 3539 if (!vscsi->work_q) { in ibmvscsis_probe() 3559 destroy_workqueue(vscsi->work_q); in ibmvscsis_probe() 3599 destroy_workqueue(vscsi->work_q); in ibmvscsis_remove()
|
| /linux/drivers/net/ethernet/brocade/bna/ |
| H A D | bnad.c | 1123 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() 3495 bnad->work_q = create_singlethread_workqueue(bnad->wq_name); in bnad_init() 3496 if (!bnad->work_q) { in bnad_init() 3512 if (bnad->work_q) { in bnad_uninit() 3513 destroy_workqueue(bnad->work_q); in bnad_uninit() 3514 bnad->work_q = NULL; in bnad_uninit()
|
| /linux/drivers/message/fusion/ |
| H A D | mptfc.c | 1530 struct workqueue_struct *work_q; in mptfc_remove() local 1535 if ((work_q=ioc->fc_rescan_work_q)) { in mptfc_remove() 1539 destroy_workqueue(work_q); in mptfc_remove()
|
| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_83xx_hw.c | 843 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()
|
| /linux/drivers/scsi/mvsas/ |
| H A D | mv_sas.h | 409 struct delayed_work work_q; member
|
| H A D | mv_sas.c | 1697 struct mvs_wq *mwq = container_of(dw, struct mvs_wq, work_q); in mvs_work_queue() 1747 MV_INIT_DELAYED_WORK(&mwq->work_q, mvs_work_queue, mwq); in mvs_handle_event() 1749 schedule_delayed_work(&mwq->work_q, HZ * 2); in mvs_handle_event()
|