/openbmc/linux/drivers/scsi/isci/ |
H A D | task.c | 93 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 D | request.c | 2851 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 D | host.c | 1081 !(task->task_state_flags & SAS_TASK_STATE_ABORTED)) { in ireq_done()
|
/openbmc/linux/drivers/scsi/libsas/ |
H A D | sas_ata.c | 454 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 D | sas_scsi_host.c | 288 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 D | sas_init.c | 33 task->task_state_flags = SAS_TASK_STATE_PENDING; in sas_alloc_task()
|
H A D | sas_expander.c | 77 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 D | aic94xx_tmf.c | 346 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 D | aic94xx_task.c | 327 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 D | aic94xx_scb.c | 516 last_dev_task->task_state_flags |= SAS_TASK_NEED_DEV_RESET; in escb_tasklet_complete()
|
/openbmc/linux/drivers/scsi/pm8001/ |
H A D | pm8001_sas.c | 783 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 D | pm8001_hwi.c | 1566 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 D | pm80xx_hwi.c | 2063 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 D | mv_sas.c | 1352 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 D | hisi_sas_main.c | 1092 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 D | hisi_sas_v1_hw.c | 1198 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 D | hisi_sas_v2_hw.c | 2352 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 D | hisi_sas_v3_hw.c | 2306 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 D | libsas.h | 577 unsigned task_state_flags; member
|