Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/scsi/isci/
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()
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()
Dhost.c1081 !(task->task_state_flags & SAS_TASK_STATE_ABORTED)) { in ireq_done()
/linux-6.6.21/drivers/scsi/libsas/
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()
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()
Dsas_init.c33 task->task_state_flags = SAS_TASK_STATE_PENDING; in sas_alloc_task()
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()
/linux-6.6.21/drivers/scsi/aic94xx/
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()
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()
Daic94xx_scb.c516 last_dev_task->task_state_flags |= SAS_TASK_NEED_DEV_RESET; in escb_tasklet_complete()
/linux-6.6.21/drivers/scsi/pm8001/
Dpm8001_sas.c781 task->task_state_flags &= ~SAS_TASK_STATE_PENDING; in pm8001_open_reject_retry()
782 task->task_state_flags |= SAS_TASK_STATE_DONE; in pm8001_open_reject_retry()
783 if (unlikely((task->task_state_flags in pm8001_open_reject_retry()
1024 if (task->task_state_flags & SAS_TASK_STATE_DONE) { in pm8001_abort_task()
1028 task->task_state_flags |= SAS_TASK_STATE_ABORTED; in pm8001_abort_task()
Dpm8001_hwi.c1539 if (unlikely((t->task_state_flags & SAS_TASK_STATE_DONE))) { in pm8001_work_fn()
1565 t->task_state_flags &= ~SAS_TASK_STATE_PENDING; in pm8001_work_fn()
1566 t->task_state_flags |= SAS_TASK_STATE_DONE; in pm8001_work_fn()
1567 if (unlikely((t->task_state_flags & SAS_TASK_STATE_ABORTED))) { in pm8001_work_fn()
1604 if (unlikely((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()
1987 if (unlikely((t->task_state_flags & SAS_TASK_STATE_ABORTED))) { 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()
[all …]
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 …]
/linux-6.6.21/drivers/scsi/mvsas/
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()
/linux-6.6.21/drivers/scsi/hisi_sas/
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()
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()
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()
Dhisi_sas_v3_hw.c2298 task->task_state_flags &= ~SAS_TASK_STATE_PENDING; in slot_complete_v3_hw()
2404 if (task->task_state_flags & SAS_TASK_STATE_ABORTED) { in slot_complete_v3_hw()
2409 task->task_state_flags |= SAS_TASK_STATE_DONE; in slot_complete_v3_hw()
/linux-6.6.21/include/scsi/
Dlibsas.h577 unsigned task_state_flags; member