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

/drivers/scsi/
H A Dscsi_error.c184 * @work_q: Queue of scsi cmds to process.
187 struct list_head *work_q)
197 list_for_each_entry(scmd, work_q, eh_entry) {
880 * @work_q: Queue of commands to process.
898 int scsi_eh_get_sense(struct list_head *work_q, argument
904 list_for_each_entry_safe(scmd, next, work_q, eh_entry) {
939 return list_empty(work_q);
976 * @work_q: queue for commands which still need more error recovery
983 * are still failing to respond are returned to the work_q for more
987 struct list_head *work_q,
186 scsi_eh_prt_fail_stats(struct Scsi_Host *shost, struct list_head *work_q) argument
986 scsi_eh_test_devices(struct list_head *cmd_list, struct list_head *work_q, struct list_head *done_q, int try_stu) argument
1027 scsi_eh_abort_cmds(struct list_head *work_q, struct list_head *done_q) argument
1092 scsi_eh_stu(struct Scsi_Host *shost, struct list_head *work_q, struct list_head *done_q) argument
1146 scsi_eh_bus_device_reset(struct Scsi_Host *shost, struct list_head *work_q, struct list_head *done_q) argument
1201 scsi_eh_target_reset(struct Scsi_Host *shost, struct list_head *work_q, struct list_head *done_q) argument
1250 scsi_eh_bus_reset(struct Scsi_Host *shost, struct list_head *work_q, struct list_head *done_q) argument
1311 scsi_eh_host_reset(struct list_head *work_q, struct list_head *done_q) argument
1346 scsi_eh_offline_sdevs(struct list_head *work_q, struct list_head *done_q) argument
1698 scsi_eh_ready_devs(struct Scsi_Host *shost, struct list_head *work_q, struct list_head *done_q) argument
[all...]
H A Dhosts.c257 shost->work_q = create_singlethread_workqueue(
259 if (!shost->work_q) {
273 if (shost->work_q)
274 destroy_workqueue(shost->work_q);
298 if (shost->work_q)
299 destroy_workqueue(shost->work_q);
556 if (unlikely(!shost->work_q)) {
565 return queue_work(shost->work_q, work);
575 if (!shost->work_q) {
583 flush_workqueue(shost->work_q);
[all...]
H A Dscsi_priv.h73 struct list_head *work_q,
75 int scsi_eh_get_sense(struct list_head *work_q,
H A Dstex.c319 struct workqueue_struct *work_q; member in struct:st_hba
875 queue_work(hba->work_q, &hba->reset_work);
973 queue_work(hba->work_q, &hba->reset_work);
1665 hba->work_q = create_singlethread_workqueue(hba->work_q_name);
1666 if (!hba->work_q) {
1708 destroy_workqueue(hba->work_q);
1776 destroy_workqueue(hba->work_q);
H A Dmvumi.h169 struct work_struct work_q; member in struct:mvumi_events_wq
H A Dscsi_transport_fc.c439 fc_host->work_q = alloc_workqueue(fc_host->work_q_name, 0, 0);
440 if (!fc_host->work_q)
450 destroy_workqueue(fc_host->work_q);
451 fc_host->work_q = NULL;
2424 struct workqueue_struct *work_q; local
2455 if (fc_host->work_q) {
2456 work_q = fc_host->work_q;
2457 fc_host->work_q = NULL;
2458 destroy_workqueue(work_q);
[all...]
H A Dmvumi.c1268 container_of(work, struct mvumi_events_wq, work_q);
1280 INIT_WORK(&mu_ev->work_q, mvumi_scan_events);
1284 schedule_work(&mu_ev->work_q);
H A Dipr.c1302 schedule_work(&ioa_cfg->work_q);
1310 schedule_work(&ioa_cfg->work_q);
3095 container_of(work, struct ipr_ioa_cfg, work_q);
3986 schedule_work(&ioa_cfg->work_q);
6402 schedule_work(&ioa_cfg->work_q);
7641 schedule_work(&ioa_cfg->work_q);
8585 INIT_WORK(&ioa_cfg->work_q, ipr_worker_thread);
9023 flush_work_sync(&ioa_cfg->work_q);
9122 schedule_work(&ioa_cfg->work_q);
H A Dipr.h1488 struct work_struct work_q; member in struct:ipr_ioa_cfg
/drivers/scsi/libsas/
H A Dsas_scsi_host.c524 static void sas_eh_handle_sas_errors(struct Scsi_Host *shost, struct list_head *work_q) argument
535 list_for_each_entry_safe(cmd, n, work_q, eh_entry) {
552 list_for_each_entry_safe(cmd, n, work_q, eh_entry) {
601 sas_scsi_clear_queue_lu(work_q, cmd);
616 sas_scsi_clear_queue_I_T(work_q, dev);
630 sas_scsi_clear_queue_port(work_q,
659 list_splice_tail(&done, work_q);
660 list_splice_tail_init(&ha->eh_ata_q, work_q);
665 list_for_each_entry_safe(cmd, n, work_q, eh_entry)
H A Dsas_event.c59 struct workqueue_struct *wq = ha->core.shost->work_q;
H A Dsas_ata.c756 void sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q, argument
766 list_for_each_entry_safe(cmd, n, work_q, eh_entry) {
/drivers/message/fusion/
H A Dmptfc.c1504 struct workqueue_struct *work_q; local
1509 if ((work_q=ioc->fc_rescan_work_q)) {
1513 destroy_workqueue(work_q);
/drivers/scsi/mvsas/
H A Dmv_sas.h426 struct delayed_work work_q; member in struct:mvs_wq
H A Dmv_sas.c1978 struct mvs_wq *mwq = container_of(dw, struct mvs_wq, work_q);
2030 MV_INIT_DELAYED_WORK(&mwq->work_q, mvs_work_queue, mwq);
2032 schedule_delayed_work(&mwq->work_q, HZ * 2);
H A Dmv_init.c166 cancel_delayed_work(&mwq->work_q);
/drivers/net/wan/
H A 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) argument
636 fst_process_int_work_q(unsigned long /*void **/work_q) argument
/drivers/infiniband/hw/nes/
H A Dnes_hw.h1063 struct workqueue_struct *work_q; member in struct:nes_adapter

Completed in 248 milliseconds