Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/scsi/
Dscsi_error.c184 struct list_head *work_q) in scsi_eh_prt_fail_stats() argument
194 list_for_each_entry(scmd, work_q, eh_entry) { in scsi_eh_prt_fail_stats()
868 int scsi_eh_get_sense(struct list_head *work_q, in scsi_eh_get_sense() argument
874 list_for_each_entry_safe(scmd, next, work_q, eh_entry) { in scsi_eh_get_sense()
909 return list_empty(work_q); in scsi_eh_get_sense()
955 static int scsi_eh_abort_cmds(struct list_head *work_q, in scsi_eh_abort_cmds() argument
961 list_for_each_entry_safe(scmd, next, work_q, eh_entry) { in scsi_eh_abort_cmds()
983 return list_empty(work_q); in scsi_eh_abort_cmds()
1021 struct list_head *work_q, in scsi_eh_stu() argument
1029 list_for_each_entry(scmd, work_q, eh_entry) in scsi_eh_stu()
[all …]
Dhosts.c254 shost->work_q = create_singlethread_workqueue( in scsi_add_host_with_dma()
256 if (!shost->work_q) { in scsi_add_host_with_dma()
270 if (shost->work_q) in scsi_add_host_with_dma()
271 destroy_workqueue(shost->work_q); in scsi_add_host_with_dma()
294 if (shost->work_q) in scsi_host_dev_release()
295 destroy_workqueue(shost->work_q); in scsi_host_dev_release()
550 if (unlikely(!shost->work_q)) { in scsi_queue_work()
559 return queue_work(shost->work_q, work); in scsi_queue_work()
569 if (!shost->work_q) { in scsi_flush_work()
577 flush_workqueue(shost->work_q); in scsi_flush_work()
Dscsi_priv.h74 struct list_head *work_q,
76 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()
1665 hba->work_q = create_singlethread_workqueue(hba->work_q_name); in stex_probe()
1666 if (!hba->work_q) { in stex_probe()
1708 destroy_workqueue(hba->work_q); in stex_probe()
1776 destroy_workqueue(hba->work_q); in stex_hba_free()
Dscsi_transport_fc.c425 fc_host->work_q = create_singlethread_workqueue( in fc_host_setup()
427 if (!fc_host->work_q) in fc_host_setup()
437 destroy_workqueue(fc_host->work_q); in fc_host_setup()
438 fc_host->work_q = NULL; in fc_host_setup()
2397 struct workqueue_struct *work_q; in fc_remove_host() local
2428 if (fc_host->work_q) { in fc_remove_host()
2429 work_q = fc_host->work_q; in fc_remove_host()
2430 fc_host->work_q = NULL; in fc_remove_host()
2431 destroy_workqueue(work_q); in fc_remove_host()
2436 work_q = fc_host->devloss_work_q; in fc_remove_host()
[all …]
Dipr.c1299 schedule_work(&ioa_cfg->work_q); in ipr_handle_config_change()
1307 schedule_work(&ioa_cfg->work_q); in ipr_handle_config_change()
3069 container_of(work, struct ipr_ioa_cfg, work_q); in ipr_worker_thread()
3943 schedule_work(&ioa_cfg->work_q); in ipr_alloc_dump()
6329 schedule_work(&ioa_cfg->work_q); in ipr_ioa_reset_done()
7560 schedule_work(&ioa_cfg->work_q); in ipr_reset_restore_cfg_space()
8435 INIT_WORK(&ioa_cfg->work_q, ipr_worker_thread); in ipr_init_ioa_cfg()
8870 flush_work_sync(&ioa_cfg->work_q); in __ipr_remove()
8969 schedule_work(&ioa_cfg->work_q); in ipr_probe()
Dipr.h1477 struct work_struct work_q; member
/linux-2.6.39/include/scsi/
Dsas_ata.h45 int sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q,
74 static inline int sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q, in sas_ata_eh() argument
Dscsi_transport_fc.h515 struct workqueue_struct *work_q; member
579 (((struct fc_host_attrs *)(x)->shost_data)->work_q)
Dscsi_host.h663 struct workqueue_struct *work_q; member
/linux-2.6.39/drivers/scsi/libsas/
Dsas_scsi_host.c521 struct list_head *work_q, in sas_eh_handle_sas_errors() argument
532 list_for_each_entry_safe(cmd, n, work_q, eh_entry) { in sas_eh_handle_sas_errors()
576 sas_scsi_clear_queue_lu(work_q, cmd); in sas_eh_handle_sas_errors()
590 sas_scsi_clear_queue_I_T(work_q, dev); in sas_eh_handle_sas_errors()
604 sas_scsi_clear_queue_port(work_q, in sas_eh_handle_sas_errors()
632 return list_empty(work_q); in sas_eh_handle_sas_errors()
635 list_for_each_entry_safe(cmd, n, work_q, eh_entry) in sas_eh_handle_sas_errors()
638 return list_empty(work_q); in sas_eh_handle_sas_errors()
Dsas_ata.c777 int sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q, in sas_ata_eh() argument
789 list_for_each_entry_safe(cmd, n, work_q, eh_entry) { in sas_ata_eh()
/linux-2.6.39/drivers/message/fusion/
Dmptfc.c1504 struct workqueue_struct *work_q; in mptfc_remove() local
1509 if ((work_q=ioc->fc_rescan_work_q)) { in mptfc_remove()
1513 destroy_workqueue(work_q); in mptfc_remove()
/linux-2.6.39/drivers/scsi/mvsas/
Dmv_sas.h355 struct delayed_work work_q; member
Dmv_sas.c1996 struct mvs_wq *mwq = container_of(dw, struct mvs_wq, work_q); in mvs_work_queue()
2043 MV_INIT_DELAYED_WORK(&mwq->work_q, mvs_work_queue, mwq); in mvs_handle_event()
2045 schedule_delayed_work(&mwq->work_q, HZ * 2); in mvs_handle_event()
Dmv_init.c154 cancel_delayed_work(&mwq->work_q); in mvs_free()
/linux-2.6.39/drivers/net/wan/
Dfarsync.c571 static void fst_process_tx_work_q(unsigned long work_q);
572 static void fst_process_int_work_q(unsigned long work_q);
605 fst_process_tx_work_q(unsigned long /*void **/work_q) in fst_process_tx_work_q() argument
635 fst_process_int_work_q(unsigned long /*void **/work_q) in fst_process_int_work_q() argument
/linux-2.6.39/drivers/infiniband/hw/nes/
Dnes_hw.h1039 struct workqueue_struct *work_q; member