Home
last modified time | relevance | path

Searched refs:task_state_flags (Results 1 – 19 of 19) sorted by relevance

/openbmc/linux/drivers/scsi/isci/
H A Dtask.c93 task->task_state_flags |= SAS_TASK_STATE_DONE; in isci_task_refuse()
94 task->task_state_flags &= ~SAS_TASK_STATE_PENDING; in isci_task_refuse()
156 if (task->task_state_flags & SAS_TASK_STATE_ABORTED) { in isci_task_execute_task()
498 if (!(task->task_state_flags & SAS_TASK_STATE_DONE) && in isci_task_abort_task()
531 task->task_state_flags |= SAS_TASK_STATE_DONE; in isci_task_abort_task()
532 task->task_state_flags &= ~SAS_TASK_STATE_PENDING; in isci_task_abort_task()
580 task->task_state_flags &= ~SAS_TASK_STATE_PENDING; in isci_task_abort_task()
581 task->task_state_flags |= SAS_TASK_STATE_DONE; in isci_task_abort_task()
655 if (task->task_state_flags & SAS_TASK_NEED_DEV_RESET) in isci_task_query_task()
H A Drequest.c2851 task->task_state_flags |= SAS_TASK_NEED_DEV_RESET; in isci_request_io_request_complete()
2937 task->task_state_flags |= SAS_TASK_STATE_DONE; in isci_request_io_request_complete()
2938 task->task_state_flags &= ~SAS_TASK_STATE_PENDING; in isci_request_io_request_complete()
3503 task->task_state_flags |= SAS_TASK_NEED_DEV_RESET; in isci_request_execute()
H A Dhost.c1081 !(task->task_state_flags & SAS_TASK_STATE_ABORTED)) { in ireq_done()
/openbmc/linux/drivers/scsi/libsas/
H A Dsas_ata.c454 if (task->task_state_flags & SAS_TASK_STATE_ABORTED || in sas_ata_internal_abort()
455 task->task_state_flags & SAS_TASK_STATE_DONE) { in sas_ata_internal_abort()
460 task->task_state_flags |= SAS_TASK_STATE_ABORTED; in sas_ata_internal_abort()
466 if (task->task_state_flags & SAS_TASK_STATE_DONE || in sas_ata_internal_abort()
479 if (!(task->task_state_flags & SAS_TASK_STATE_DONE)) in sas_ata_internal_abort()
480 task->task_state_flags &= ~SAS_TASK_STATE_ABORTED; in sas_ata_internal_abort()
H A Dsas_scsi_host.c288 if (task->task_state_flags & SAS_TASK_STATE_DONE) { in sas_scsi_find_task()
557 need_reset = task->task_state_flags & SAS_TASK_NEED_DEV_RESET; in sas_eh_handle_sas_errors()
874 if (!(task->task_state_flags & SAS_TASK_STATE_DONE)) { in sas_task_internal_timedout()
875 task->task_state_flags |= SAS_TASK_STATE_ABORTED; in sas_task_internal_timedout()
924 if (task->task_state_flags & SAS_TASK_STATE_ABORTED) { in sas_execute_internal_abort()
1026 if ((task->task_state_flags & SAS_TASK_STATE_ABORTED)) { in sas_execute_tmf()
1027 if (!(task->task_state_flags & SAS_TASK_STATE_DONE)) { in sas_execute_tmf()
H A Dsas_init.c33 task->task_state_flags = SAS_TASK_STATE_PENDING; in sas_alloc_task()
H A Dsas_expander.c77 if ((task->task_state_flags & SAS_TASK_STATE_ABORTED)) { in smp_execute_task_sg()
80 if (!(task->task_state_flags & SAS_TASK_STATE_DONE)) { in smp_execute_task_sg()
/openbmc/linux/drivers/scsi/aic94xx/
H A Daic94xx_tmf.c346 if (task->task_state_flags & SAS_TASK_STATE_DONE) in asd_clear_nexus()
402 if (task->task_state_flags & SAS_TASK_STATE_DONE) { in asd_abort_task()
466 if (task->task_state_flags & SAS_TASK_STATE_DONE) { in asd_abort_task()
511 if (task->task_state_flags & SAS_TASK_STATE_DONE) in asd_abort_task()
H A Daic94xx_task.c327 task->task_state_flags &= ~SAS_TASK_STATE_PENDING; in asd_task_tasklet_complete()
328 task->task_state_flags |= SAS_TASK_STATE_DONE; in asd_task_tasklet_complete()
329 if (unlikely((task->task_state_flags & SAS_TASK_STATE_ABORTED))) { in asd_task_tasklet_complete()
H A Daic94xx_scb.c516 last_dev_task->task_state_flags |= SAS_TASK_NEED_DEV_RESET; in escb_tasklet_complete()
/openbmc/linux/drivers/scsi/pm8001/
H A Dpm8001_sas.c783 task->task_state_flags &= ~SAS_TASK_STATE_PENDING; in pm8001_open_reject_retry()
784 task->task_state_flags |= SAS_TASK_STATE_DONE; in pm8001_open_reject_retry()
785 if (unlikely((task->task_state_flags in pm8001_open_reject_retry()
1026 if (task->task_state_flags & SAS_TASK_STATE_DONE) { in pm8001_abort_task()
1030 task->task_state_flags |= SAS_TASK_STATE_ABORTED; in pm8001_abort_task()
H A Dpm8001_hwi.c1566 t->task_state_flags |= SAS_TASK_STATE_DONE; in pm8001_work_fn()
1985 t->task_state_flags &= ~SAS_TASK_STATE_PENDING; in mpi_ssp_completion()
1986 t->task_state_flags |= SAS_TASK_STATE_DONE; in mpi_ssp_completion()
2152 t->task_state_flags &= ~SAS_TASK_STATE_PENDING; in mpi_ssp_event()
2153 t->task_state_flags |= SAS_TASK_STATE_DONE; in mpi_ssp_event()
2527 t->task_state_flags &= ~SAS_TASK_STATE_PENDING; in mpi_sata_completion()
2528 t->task_state_flags |= SAS_TASK_STATE_DONE; in mpi_sata_completion()
2893 t->task_state_flags &= ~SAS_TASK_STATE_PENDING; in mpi_smp_completion()
2894 t->task_state_flags |= SAS_TASK_STATE_DONE; in mpi_smp_completion()
3541 t->task_state_flags &= ~SAS_TASK_STATE_PENDING; in pm8001_mpi_task_abort_resp()
[all …]
H A Dpm80xx_hwi.c2063 t->task_state_flags &= ~SAS_TASK_STATE_PENDING; in mpi_ssp_completion()
2064 t->task_state_flags |= SAS_TASK_STATE_DONE; in mpi_ssp_completion()
2065 if (unlikely((t->task_state_flags & SAS_TASK_STATE_ABORTED))) { in mpi_ssp_completion()
2244 t->task_state_flags &= ~SAS_TASK_STATE_PENDING; in mpi_ssp_event()
2245 t->task_state_flags |= SAS_TASK_STATE_DONE; in mpi_ssp_event()
2246 if (unlikely((t->task_state_flags & SAS_TASK_STATE_ABORTED))) { in mpi_ssp_event()
2649 t->task_state_flags &= ~SAS_TASK_STATE_PENDING; in mpi_sata_completion()
2650 t->task_state_flags |= SAS_TASK_STATE_DONE; in mpi_sata_completion()
2651 if (unlikely((t->task_state_flags & SAS_TASK_STATE_ABORTED))) { in mpi_sata_completion()
3066 t->task_state_flags &= ~SAS_TASK_STATE_PENDING; in mpi_smp_completion()
[all …]
/openbmc/linux/drivers/scsi/mvsas/
H A Dmv_sas.c1352 if (task->task_state_flags & SAS_TASK_STATE_DONE) { in mvs_abort_task()
1391 task->task_state_flags |= SAS_TASK_STATE_ABORTED; in mvs_abort_task()
1550 task->task_state_flags &= ~SAS_TASK_STATE_PENDING; in mvs_slot_complete()
1551 task->task_state_flags |= SAS_TASK_STATE_DONE; in mvs_slot_complete()
1553 aborted = task->task_state_flags & SAS_TASK_STATE_ABORTED; in mvs_slot_complete()
/openbmc/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c1092 task->task_state_flags &= ~SAS_TASK_STATE_PENDING; in hisi_sas_do_release_task()
1094 task->task_state_flags |= SAS_TASK_STATE_DONE; in hisi_sas_do_release_task()
1626 if (task->task_state_flags & SAS_TASK_STATE_DONE) { in hisi_sas_abort_task()
1641 task->task_state_flags |= SAS_TASK_STATE_ABORTED; in hisi_sas_abort_task()
1967 if (task->task_state_flags & SAS_TASK_STATE_DONE) { in hisi_sas_internal_abort_timeout()
H A Dhisi_sas_v1_hw.c1198 task->task_state_flags &= ~SAS_TASK_STATE_PENDING; in slot_complete_v1_hw()
1199 task->task_state_flags |= SAS_TASK_STATE_DONE; in slot_complete_v1_hw()
H A Dhisi_sas_v2_hw.c2352 task->task_state_flags &= ~SAS_TASK_STATE_PENDING; in slot_complete_v2_hw()
2468 if (task->task_state_flags & SAS_TASK_STATE_ABORTED) { in slot_complete_v2_hw()
2473 task->task_state_flags |= SAS_TASK_STATE_DONE; in slot_complete_v2_hw()
H A Dhisi_sas_v3_hw.c2306 task->task_state_flags &= ~SAS_TASK_STATE_PENDING; in slot_complete_v3_hw()
2412 if (task->task_state_flags & SAS_TASK_STATE_ABORTED) { in slot_complete_v3_hw()
2417 task->task_state_flags |= SAS_TASK_STATE_DONE; in slot_complete_v3_hw()
/openbmc/linux/include/scsi/
H A Dlibsas.h577 unsigned task_state_flags; member