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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/
H A Dscsi_error.c180 * @work_q: Queue of scsi cmds to process.
183 struct list_head *work_q)
193 list_for_each_entry(scmd, work_q, eh_entry) {
870 int scsi_eh_get_sense(struct list_head *work_q, argument
876 list_for_each_entry_safe(scmd, next, work_q, eh_entry) {
911 return list_empty(work_q);
947 * @work_q: &list_head for pending commands.
957 static int scsi_eh_abort_cmds(struct list_head *work_q, argument
963 list_for_each_entry_safe(scmd, next, work_q, eh_entry) {
986 return list_empty(work_q);
182 scsi_eh_prt_fail_stats(struct Scsi_Host *shost, struct list_head *work_q) argument
1023 scsi_eh_stu(struct Scsi_Host *shost, struct list_head *work_q, struct list_head *done_q) argument
1077 scsi_eh_bus_device_reset(struct Scsi_Host *shost, struct list_head *work_q, struct list_head *done_q) argument
1132 scsi_eh_target_reset(struct Scsi_Host *shost, struct list_head *work_q, struct list_head *done_q) argument
1191 scsi_eh_bus_reset(struct Scsi_Host *shost, struct list_head *work_q, struct list_head *done_q) argument
1245 scsi_eh_host_reset(struct list_head *work_q, struct list_head *done_q) argument
1281 scsi_eh_offline_sdevs(struct list_head *work_q, struct list_head *done_q) argument
1619 scsi_eh_ready_devs(struct Scsi_Host *shost, struct list_head *work_q, struct list_head *done_q) argument
[all...]
H A Dhosts.c254 shost->work_q = create_singlethread_workqueue(
256 if (!shost->work_q) {
270 if (shost->work_q)
271 destroy_workqueue(shost->work_q);
294 if (shost->work_q)
295 destroy_workqueue(shost->work_q);
551 if (unlikely(!shost->work_q)) {
560 return queue_work(shost->work_q, work);
570 if (!shost->work_q) {
578 flush_workqueue(shost->work_q);
[all...]
H A Dscsi_priv.h72 struct list_head *work_q,
74 int scsi_eh_get_sense(struct list_head *work_q,
H A Dstex.c319 struct workqueue_struct *work_q; member in struct:st_hba
873 queue_work(hba->work_q, &hba->reset_work);
971 queue_work(hba->work_q, &hba->reset_work);
1663 hba->work_q = create_singlethread_workqueue(hba->work_q_name);
1664 if (!hba->work_q) {
1706 destroy_workqueue(hba->work_q);
1774 destroy_workqueue(hba->work_q);
H A Dscsi_transport_fc.c406 fc_host->work_q = create_singlethread_workqueue(
408 if (!fc_host->work_q)
417 destroy_workqueue(fc_host->work_q);
418 fc_host->work_q = NULL;
2341 struct workqueue_struct *work_q; local
2372 if (fc_host->work_q) {
2373 work_q = fc_host->work_q;
2374 fc_host->work_q = NULL;
2375 destroy_workqueue(work_q);
[all...]
H A Dipr.c1299 schedule_work(&ioa_cfg->work_q);
1307 schedule_work(&ioa_cfg->work_q);
3063 container_of(work, struct ipr_ioa_cfg, work_q);
3934 schedule_work(&ioa_cfg->work_q);
6267 schedule_work(&ioa_cfg->work_q);
7475 schedule_work(&ioa_cfg->work_q);
8350 INIT_WORK(&ioa_cfg->work_q, ipr_worker_thread);
8884 schedule_work(&ioa_cfg->work_q);
H A Dipr.h1467 struct work_struct work_q; member in struct:ipr_ioa_cfg
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/libsas/
H A Dsas_scsi_host.c517 struct list_head *work_q,
528 list_for_each_entry_safe(cmd, n, work_q, eh_entry) {
572 sas_scsi_clear_queue_lu(work_q, cmd);
586 sas_scsi_clear_queue_I_T(work_q, dev);
600 sas_scsi_clear_queue_port(work_q,
628 return list_empty(work_q);
631 list_for_each_entry_safe(cmd, n, work_q, eh_entry)
634 return list_empty(work_q);
516 sas_eh_handle_sas_errors(struct Scsi_Host *shost, struct list_head *work_q, struct list_head *done_q) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/scsi/
H A Dscsi_transport_fc.h514 struct workqueue_struct *work_q; member in struct:fc_host_attrs
578 (((struct fc_host_attrs *)(x)->shost_data)->work_q)
H A Dscsi_host.h636 struct workqueue_struct *work_q; member in struct:Scsi_Host
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/atm/
H A Dueagle-atm.c171 struct workqueue_struct *work_q; member in struct:uea_softc
1880 queue_work(sc->work_q, &sc->task);
2089 queue_work(sc->work_q, &sc->task);
2096 queue_work(sc->work_q, &sc->task);
2168 sc->work_q = create_workqueue("ueagle-dsp");
2169 if (!sc->work_q) {
2220 destroy_workqueue(sc->work_q);
2242 destroy_workqueue(sc->work_q);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/message/fusion/
H A Dmptfc.c1503 struct workqueue_struct *work_q; local
1508 if ((work_q=ioc->fc_rescan_work_q)) {
1512 destroy_workqueue(work_q);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/mvsas/
H A Dmv_sas.h355 struct delayed_work work_q; member in struct:mvs_wq
H A Dmv_sas.c1987 struct mvs_wq *mwq = container_of(dw, struct mvs_wq, work_q);
2034 MV_INIT_DELAYED_WORK(&mwq->work_q, mvs_work_queue, mwq);
2036 schedule_delayed_work(&mwq->work_q, HZ * 2);
H A Dmv_init.c154 cancel_delayed_work(&mwq->work_q);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/pm8001/
H A Dpm8001_sas.h390 struct delayed_work work_q; member in struct:pm8001_wq
H A Dpm8001_init.c154 cancel_delayed_work(&wq->work_q);
H A Dpm8001_hwi.c1388 struct pm8001_wq *wq = container_of(dw, struct pm8001_wq, work_q);
1429 INIT_DELAYED_WORK(&wq->work_q, pm8001_work_queue);
1431 schedule_delayed_work(&wq->work_q, 0);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wan/
H A 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) argument
635 fst_process_int_work_q(unsigned long /*void **/work_q) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/nes/
H A Dnes_hw.h1039 struct workqueue_struct *work_q; member in struct:nes_adapter

Completed in 248 milliseconds