Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/scsi/
Dscsi_error.c402 struct list_head *work_q) in scsi_eh_prt_fail_stats() argument
412 list_for_each_entry(scmd, work_q, eh_entry) { in scsi_eh_prt_fail_stats()
1303 int scsi_eh_get_sense(struct list_head *work_q, in scsi_eh_get_sense() argument
1314 list_for_each_entry_safe(scmd, next, work_q, eh_entry) { in scsi_eh_get_sense()
1372 return list_empty(work_q); in scsi_eh_get_sense()
1422 struct list_head *work_q, in scsi_eh_test_devices() argument
1436 list_splice_init(cmd_list, work_q); in scsi_eh_test_devices()
1457 list_move_tail(&scmd->eh_entry, work_q); in scsi_eh_test_devices()
1460 return list_empty(work_q); in scsi_eh_test_devices()
1500 struct list_head *work_q, in scsi_eh_stu() argument
[all …]
Dhosts.c297 shost->work_q = alloc_workqueue("%s", in scsi_add_host_with_dma()
301 if (!shost->work_q) { in scsi_add_host_with_dma()
351 if (shost->work_q) in scsi_host_dev_release()
352 destroy_workqueue(shost->work_q); in scsi_host_dev_release()
649 if (unlikely(!shost->work_q)) { in scsi_queue_work()
658 return queue_work(shost->work_q, work); in scsi_queue_work()
668 if (!shost->work_q) { in scsi_flush_work()
676 flush_workqueue(shost->work_q); in scsi_flush_work()
Dscsi_priv.h98 struct list_head *work_q,
100 int scsi_eh_get_sense(struct list_head *work_q,
DNCR5380.c418 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()
Dstex.c338 struct workqueue_struct *work_q; member
903 queue_work(hba->work_q, &hba->reset_work); in stex_intr()
1002 queue_work(hba->work_q, &hba->reset_work); in stex_ss_intr()
1016 queue_work(hba->work_q, &hba->reset_work); in stex_ss_intr()
1800 hba->work_q = create_singlethread_workqueue(hba->work_q_name); in stex_probe()
1801 if (!hba->work_q) { in stex_probe()
1836 destroy_workqueue(hba->work_q); in stex_probe()
1920 destroy_workqueue(hba->work_q); in stex_hba_free()
DNCR5380.h209 struct workqueue_struct *work_q; /* SCSI host work queue */ member
Dscsi_transport_fc.c446 fc_host->work_q = alloc_workqueue("%s", 0, 0, fc_host->work_q_name); in fc_host_setup()
447 if (!fc_host->work_q) in fc_host_setup()
457 destroy_workqueue(fc_host->work_q); in fc_host_setup()
458 fc_host->work_q = NULL; in fc_host_setup()
2883 struct workqueue_struct *work_q; in fc_remove_host() local
2916 if (fc_host->work_q) { in fc_remove_host()
2917 work_q = fc_host->work_q; in fc_remove_host()
2918 fc_host->work_q = NULL; in fc_remove_host()
2919 destroy_workqueue(work_q); in fc_remove_host()
2924 work_q = fc_host->devloss_work_q; in fc_remove_host()
[all …]
Dmvumi.h156 struct work_struct work_q; member
Dmyrs.c1458 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-6.6.21/include/scsi/
Dsas_ata.h28 void sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q);
65 static inline void sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q) in sas_ata_eh() argument
Dfcoe_sysfs.h54 struct workqueue_struct *work_q; member
Dscsi_transport_fc.h579 struct workqueue_struct *work_q; member
660 (((struct fc_host_attrs *)(x)->shost_data)->work_q)
Dscsi_host.h672 struct workqueue_struct *work_q; member
/linux-6.6.21/drivers/scsi/fcoe/
Dfcoe_sysfs.c50 ((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()
835 destroy_workqueue(ctlr->work_q); in fcoe_ctlr_device_add()
843 destroy_workqueue(ctlr->work_q); in fcoe_ctlr_device_add()
844 ctlr->work_q = NULL; in fcoe_ctlr_device_add()
889 destroy_workqueue(ctlr->work_q); in fcoe_ctlr_device_delete()
890 ctlr->work_q = NULL; in fcoe_ctlr_device_delete()
/linux-6.6.21/drivers/scsi/snic/
Dsnic_main.c302 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-6.6.21/drivers/scsi/libsas/
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()
Dsas_ata.c869 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()
/linux-6.6.21/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.h291 struct workqueue_struct *work_q; member
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()
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-6.6.21/drivers/nvme/target/
Dfc.c148 struct workqueue_struct *work_q; member
797 queue_work(queue->work_q, &fod->defer_work); in nvmet_fc_free_fcp_iod()
814 queue->work_q = alloc_workqueue("ntfc%d.%d.%d", 0, 0, in nvmet_fc_alloc_target_queue()
817 if (!queue->work_q) in nvmet_fc_alloc_target_queue()
846 destroy_workqueue(queue->work_q); in nvmet_fc_alloc_target_queue()
861 destroy_workqueue(queue->work_q); in nvmet_fc_tgt_queue_free()
950 flush_workqueue(queue->work_q); in nvmet_fc_delete_target_queue()
1250 flush_workqueue(assoc->queues[i]->work_q); in nvmet_fc_delete_target_assoc()
/linux-6.6.21/drivers/scsi/cxlflash/
Dcommon.h125 struct work_struct work_q; member
/linux-6.6.21/drivers/net/ethernet/brocade/bna/
Dbnad.h340 struct workqueue_struct *work_q; member
Dbnad.c1122 queue_delayed_work(bnad->work_q, &tx_info->tx_cleanup_work, in bnad_tx_cleanup()
1145 queue_delayed_work(bnad->work_q, &tx_info->tx_cleanup_work, 0); in bnad_cb_tx_cleanup()
1227 queue_work(bnad->work_q, &rx_info->rx_cleanup_work); in bnad_cb_rx_cleanup()
3494 bnad->work_q = create_singlethread_workqueue(bnad->wq_name); in bnad_init()
3495 if (!bnad->work_q) { in bnad_init()
3511 if (bnad->work_q) { in bnad_uninit()
3512 destroy_workqueue(bnad->work_q); in bnad_uninit()
3513 bnad->work_q = NULL; in bnad_uninit()
/linux-6.6.21/drivers/message/fusion/
Dmptfc.c1497 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-6.6.21/drivers/scsi/mvsas/
Dmv_sas.h409 struct delayed_work work_q; member

12