/Linux-v6.1/drivers/scsi/ |
D | scsi_error.c | 398 struct list_head *work_q) in scsi_eh_prt_fail_stats() argument 408 list_for_each_entry(scmd, work_q, eh_entry) { in scsi_eh_prt_fail_stats() 1265 int scsi_eh_get_sense(struct list_head *work_q, in scsi_eh_get_sense() argument 1276 list_for_each_entry_safe(scmd, next, work_q, eh_entry) { in scsi_eh_get_sense() 1334 return list_empty(work_q); in scsi_eh_get_sense() 1384 struct list_head *work_q, in scsi_eh_test_devices() argument 1398 list_splice_init(cmd_list, work_q); in scsi_eh_test_devices() 1419 list_move_tail(&scmd->eh_entry, work_q); in scsi_eh_test_devices() 1422 return list_empty(work_q); in scsi_eh_test_devices() 1462 struct list_head *work_q, in scsi_eh_stu() argument [all …]
|
D | hosts.c | 296 shost->work_q = alloc_workqueue("%s", in scsi_add_host_with_dma() 300 if (!shost->work_q) { in scsi_add_host_with_dma() 352 if (shost->work_q) in scsi_host_dev_release() 353 destroy_workqueue(shost->work_q); in scsi_host_dev_release() 648 if (unlikely(!shost->work_q)) { in scsi_queue_work() 657 return queue_work(shost->work_q, work); in scsi_queue_work() 667 if (!shost->work_q) { in scsi_flush_work() 675 flush_workqueue(shost->work_q); in scsi_flush_work()
|
D | scsi_priv.h | 92 struct list_head *work_q, 94 int scsi_eh_get_sense(struct list_head *work_q,
|
D | NCR5380.c | 418 hostdata->work_q = alloc_workqueue("ncr5380_%d", in NCR5380_init() 421 if (!hostdata->work_q) in NCR5380_init() 520 destroy_workqueue(hostdata->work_q); in NCR5380_exit() 606 queue_work(hostdata->work_q, &hostdata->main_task); in NCR5380_queue_command() 892 queue_work(hostdata->work_q, &hostdata->main_task); in NCR5380_intr() 907 queue_work(hostdata->work_q, &hostdata->main_task); in NCR5380_intr() 2317 queue_work(hostdata->work_q, &hostdata->main_task); in NCR5380_abort() 2372 queue_work(hostdata->work_q, &hostdata->main_task); in bus_reset_cleanup()
|
D | stex.c | 334 struct workqueue_struct *work_q; member 899 queue_work(hba->work_q, &hba->reset_work); in stex_intr() 998 queue_work(hba->work_q, &hba->reset_work); in stex_ss_intr() 1012 queue_work(hba->work_q, &hba->reset_work); in stex_ss_intr() 1796 hba->work_q = create_singlethread_workqueue(hba->work_q_name); in stex_probe() 1797 if (!hba->work_q) { in stex_probe() 1832 destroy_workqueue(hba->work_q); in stex_probe() 1916 destroy_workqueue(hba->work_q); in stex_hba_free()
|
D | NCR5380.h | 209 struct workqueue_struct *work_q; /* SCSI host work queue */ member
|
D | scsi_transport_fc.c | 445 fc_host->work_q = alloc_workqueue("%s", 0, 0, fc_host->work_q_name); in fc_host_setup() 446 if (!fc_host->work_q) in fc_host_setup() 456 destroy_workqueue(fc_host->work_q); in fc_host_setup() 457 fc_host->work_q = NULL; in fc_host_setup() 2881 struct workqueue_struct *work_q; in fc_remove_host() local 2914 if (fc_host->work_q) { in fc_remove_host() 2915 work_q = fc_host->work_q; in fc_remove_host() 2916 fc_host->work_q = NULL; in fc_remove_host() 2917 destroy_workqueue(work_q); in fc_remove_host() 2922 work_q = fc_host->devloss_work_q; in fc_remove_host() [all …]
|
D | mvumi.h | 156 struct work_struct work_q; member
|
D | myrs.c | 1458 queue_delayed_work(cs->work_q, &cs->monitor_work, 1); in discovery_store() 2168 queue_delayed_work(cs->work_q, &cs->monitor_work, interval); in myrs_monitor() 2211 cs->work_q = create_singlethread_workqueue(cs->work_q_name); 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()
|
/Linux-v6.1/include/scsi/ |
D | sas_ata.h | 28 void sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q); 57 static inline void sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q) in sas_ata_eh() argument
|
D | fcoe_sysfs.h | 54 struct workqueue_struct *work_q; member
|
D | scsi_transport_fc.h | 578 struct workqueue_struct *work_q; member 659 (((struct fc_host_attrs *)(x)->shost_data)->work_q)
|
D | scsi_host.h | 666 struct workqueue_struct *work_q; member
|
/Linux-v6.1/drivers/scsi/snic/ |
D | snic_main.c | 302 SNIC_BUG_ON(shost->work_q != NULL); in snic_add_host() 305 shost->work_q = create_singlethread_workqueue(shost->work_q_name); in snic_add_host() 306 if (!shost->work_q) { in snic_add_host() 318 if (!shost->work_q) in snic_del_host() 321 destroy_workqueue(shost->work_q); in snic_del_host() 322 shost->work_q = NULL; in snic_del_host()
|
/Linux-v6.1/drivers/scsi/fcoe/ |
D | fcoe_sysfs.c | 50 ((x)->work_q) 818 ctlr->work_q = create_singlethread_workqueue( in fcoe_ctlr_device_add() 820 if (!ctlr->work_q) in fcoe_ctlr_device_add() 842 destroy_workqueue(ctlr->work_q); in fcoe_ctlr_device_add() 843 ctlr->work_q = NULL; in fcoe_ctlr_device_add() 888 destroy_workqueue(ctlr->work_q); in fcoe_ctlr_device_delete() 889 ctlr->work_q = NULL; in fcoe_ctlr_device_delete()
|
/Linux-v6.1/drivers/scsi/libsas/ |
D | sas_scsi_host.c | 559 static void sas_eh_handle_sas_errors(struct Scsi_Host *shost, struct list_head *work_q) in sas_eh_handle_sas_errors() argument 570 list_for_each_entry_safe(cmd, n, work_q, eh_entry) { in sas_eh_handle_sas_errors() 587 list_for_each_entry_safe(cmd, n, work_q, eh_entry) { in sas_eh_handle_sas_errors() 625 sas_scsi_clear_queue_lu(work_q, cmd); in sas_eh_handle_sas_errors() 640 sas_scsi_clear_queue_I_T(work_q, dev); in sas_eh_handle_sas_errors() 654 sas_scsi_clear_queue_port(work_q, in sas_eh_handle_sas_errors() 681 list_splice_tail(&done, work_q); in sas_eh_handle_sas_errors() 682 list_splice_tail_init(&ha->eh_ata_q, work_q); in sas_eh_handle_sas_errors() 687 list_for_each_entry_safe(cmd, n, work_q, eh_entry) in sas_eh_handle_sas_errors()
|
D | sas_ata.c | 791 void sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q) in sas_ata_eh() argument 800 list_for_each_entry_safe(cmd, n, work_q, eh_entry) { in sas_ata_eh()
|
/Linux-v6.1/drivers/scsi/ibmvscsi_tgt/ |
D | ibmvscsi_tgt.h | 291 struct workqueue_struct *work_q; member
|
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() 3540 vscsi->work_q = create_workqueue(wq_name); in ibmvscsis_probe() 3541 if (!vscsi->work_q) { in ibmvscsis_probe() 3561 destroy_workqueue(vscsi->work_q); in ibmvscsis_probe() 3601 destroy_workqueue(vscsi->work_q); in ibmvscsis_remove()
|
/Linux-v6.1/drivers/nvme/target/ |
D | fc.c | 146 struct workqueue_struct *work_q; member 787 queue_work(queue->work_q, &fod->defer_work); in nvmet_fc_free_fcp_iod() 807 queue->work_q = alloc_workqueue("ntfc%d.%d.%d", 0, 0, in nvmet_fc_alloc_target_queue() 810 if (!queue->work_q) in nvmet_fc_alloc_target_queue() 839 destroy_workqueue(queue->work_q); in nvmet_fc_alloc_target_queue() 860 destroy_workqueue(queue->work_q); in nvmet_fc_tgt_queue_free() 949 flush_workqueue(queue->work_q); in nvmet_fc_delete_target_queue()
|
/Linux-v6.1/drivers/scsi/cxlflash/ |
D | common.h | 125 struct work_struct work_q; member
|
/Linux-v6.1/drivers/net/ethernet/brocade/bna/ |
D | bnad.h | 340 struct workqueue_struct *work_q; member
|
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-v6.1/drivers/message/fusion/ |
D | mptfc.c | 1497 struct workqueue_struct *work_q; in mptfc_remove() local 1502 if ((work_q=ioc->fc_rescan_work_q)) { in mptfc_remove() 1506 destroy_workqueue(work_q); in mptfc_remove()
|
/Linux-v6.1/drivers/scsi/mvsas/ |
D | mv_sas.h | 410 struct delayed_work work_q; member
|