Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/isci/
Dtask.c93 task->task_state_flags |= SAS_TASK_STATE_DONE; in isci_task_refuse()
94 task->task_state_flags &= ~(SAS_TASK_AT_INITIATOR | in isci_task_refuse()
157 if (task->task_state_flags & SAS_TASK_STATE_ABORTED) { in isci_task_execute_task()
165 task->task_state_flags |= SAS_TASK_AT_INITIATOR; in isci_task_execute_task()
174 task->task_state_flags &= ~SAS_TASK_AT_INITIATOR; in isci_task_execute_task()
500 if (!(task->task_state_flags & SAS_TASK_STATE_DONE) && in isci_task_abort_task()
501 (task->task_state_flags & SAS_TASK_AT_INITIATOR) && in isci_task_abort_task()
534 task->task_state_flags |= SAS_TASK_STATE_DONE; in isci_task_abort_task()
535 task->task_state_flags &= ~(SAS_TASK_AT_INITIATOR | in isci_task_abort_task()
584 task->task_state_flags &= ~(SAS_TASK_AT_INITIATOR | in isci_task_abort_task()
[all …]
Drequest.c2858 task->task_state_flags |= SAS_TASK_NEED_DEV_RESET; in isci_request_io_request_complete()
2944 task->task_state_flags |= SAS_TASK_STATE_DONE; in isci_request_io_request_complete()
2945 task->task_state_flags &= ~(SAS_TASK_AT_INITIATOR | in isci_request_io_request_complete()
3515 task->task_state_flags |= SAS_TASK_NEED_DEV_RESET; in isci_request_execute()
Dhost.c1083 !(task->task_state_flags & SAS_TASK_STATE_ABORTED)) { in ireq_done()
/kernel/linux/linux-5.10/drivers/scsi/pm8001/
Dpm8001_sas.c490 t->task_state_flags |= SAS_TASK_AT_INITIATOR; in pm8001_task_exec()
698 if (!(task->task_state_flags & SAS_TASK_STATE_DONE)) { in pm8001_tmf_timedout()
699 task->task_state_flags |= SAS_TASK_STATE_ABORTED; in pm8001_tmf_timedout()
755 if (task->task_state_flags & SAS_TASK_STATE_ABORTED) { in pm8001_exec_internal_tmf_task()
843 if (task->task_state_flags & SAS_TASK_STATE_ABORTED) { in pm8001_exec_internal_task_abort()
969 task->task_state_flags &= ~SAS_TASK_STATE_PENDING; in pm8001_open_reject_retry()
970 task->task_state_flags &= ~SAS_TASK_AT_INITIATOR; in pm8001_open_reject_retry()
971 task->task_state_flags |= SAS_TASK_STATE_DONE; in pm8001_open_reject_retry()
972 if (unlikely((task->task_state_flags in pm8001_open_reject_retry()
1203 if (task->task_state_flags & SAS_TASK_STATE_DONE) { in pm8001_abort_task()
[all …]
Dpm8001_hwi.c1528 if (unlikely((t->task_state_flags & SAS_TASK_STATE_DONE))) { in pm8001_work_fn()
1554 t->task_state_flags &= ~SAS_TASK_STATE_PENDING; in pm8001_work_fn()
1555 t->task_state_flags &= ~SAS_TASK_AT_INITIATOR; in pm8001_work_fn()
1556 t->task_state_flags |= SAS_TASK_STATE_DONE; in pm8001_work_fn()
1557 if (unlikely((t->task_state_flags & SAS_TASK_STATE_ABORTED))) { in pm8001_work_fn()
1595 if (unlikely((t->task_state_flags & SAS_TASK_STATE_DONE))) { in pm8001_work_fn()
2051 t->task_state_flags &= ~SAS_TASK_STATE_PENDING; in mpi_ssp_completion()
2052 t->task_state_flags &= ~SAS_TASK_AT_INITIATOR; in mpi_ssp_completion()
2053 t->task_state_flags |= SAS_TASK_STATE_DONE; in mpi_ssp_completion()
2054 if (unlikely((t->task_state_flags & SAS_TASK_STATE_ABORTED))) { in mpi_ssp_completion()
[all …]
Dpm80xx_hwi.c2143 t->task_state_flags &= ~SAS_TASK_STATE_PENDING; in mpi_ssp_completion()
2144 t->task_state_flags &= ~SAS_TASK_AT_INITIATOR; in mpi_ssp_completion()
2145 t->task_state_flags |= SAS_TASK_STATE_DONE; in mpi_ssp_completion()
2146 if (unlikely((t->task_state_flags & SAS_TASK_STATE_ABORTED))) { in mpi_ssp_completion()
2327 t->task_state_flags &= ~SAS_TASK_STATE_PENDING; in mpi_ssp_event()
2328 t->task_state_flags &= ~SAS_TASK_AT_INITIATOR; in mpi_ssp_event()
2329 t->task_state_flags |= SAS_TASK_STATE_DONE; in mpi_ssp_event()
2330 if (unlikely((t->task_state_flags & SAS_TASK_STATE_ABORTED))) { in mpi_ssp_event()
2737 t->task_state_flags &= ~SAS_TASK_STATE_PENDING; in mpi_sata_completion()
2738 t->task_state_flags &= ~SAS_TASK_AT_INITIATOR; in mpi_sata_completion()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/libsas/
Dsas_ata.c217 task->task_state_flags = SAS_TASK_STATE_PENDING; in sas_ata_qc_issue()
419 if (task->task_state_flags & SAS_TASK_STATE_ABORTED || in sas_ata_internal_abort()
420 task->task_state_flags & SAS_TASK_STATE_DONE) { in sas_ata_internal_abort()
425 task->task_state_flags |= SAS_TASK_STATE_ABORTED; in sas_ata_internal_abort()
431 if (task->task_state_flags & SAS_TASK_STATE_DONE || in sas_ata_internal_abort()
444 if (!(task->task_state_flags & SAS_TASK_STATE_DONE)) in sas_ata_internal_abort()
445 task->task_state_flags &= ~SAS_TASK_STATE_ABORTED; in sas_ata_internal_abort()
Dsas_scsi_host.c290 if (task->task_state_flags & SAS_TASK_STATE_DONE) { in sas_scsi_find_task()
590 need_reset = task->task_state_flags & SAS_TASK_NEED_DEV_RESET; in sas_eh_handle_sas_errors()
Dsas_expander.c38 if (!(task->task_state_flags & SAS_TASK_STATE_DONE)) { in smp_task_timedout()
39 task->task_state_flags |= SAS_TASK_STATE_ABORTED; in smp_task_timedout()
95 if ((task->task_state_flags & SAS_TASK_STATE_ABORTED)) { in smp_execute_task_sg()
98 if (!(task->task_state_flags & SAS_TASK_STATE_DONE)) { in smp_execute_task_sg()
Dsas_init.c33 task->task_state_flags = SAS_TASK_STATE_PENDING; in sas_alloc_task()
/kernel/linux/linux-5.10/drivers/scsi/aic94xx/
Daic94xx_task.c324 task->task_state_flags &= ~SAS_TASK_STATE_PENDING; in asd_task_tasklet_complete()
325 task->task_state_flags &= ~SAS_TASK_AT_INITIATOR; in asd_task_tasklet_complete()
326 task->task_state_flags |= SAS_TASK_STATE_DONE; in asd_task_tasklet_complete()
327 if (unlikely((task->task_state_flags & SAS_TASK_STATE_ABORTED))) { in asd_task_tasklet_complete()
580 t->task_state_flags |= SAS_TASK_AT_INITIATOR; in asd_execute_task()
601 t->task_state_flags &= ~SAS_TASK_AT_INITIATOR; in asd_execute_task()
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_scb.c512 last_dev_task->task_state_flags |= SAS_TASK_NEED_DEV_RESET; in escb_tasklet_complete()
/kernel/linux/linux-5.10/drivers/scsi/mvsas/
Dmv_sas.c814 task->task_state_flags |= SAS_TASK_AT_INITIATOR; in mvs_task_prep()
1272 task->task_state_flags |= SAS_TASK_STATE_ABORTED; in mvs_tmf_timedout()
1309 if ((task->task_state_flags & SAS_TASK_STATE_ABORTED)) { in mvs_exec_internal_tmf_task()
1310 if (!(task->task_state_flags & SAS_TASK_STATE_DONE)) { in mvs_exec_internal_tmf_task()
1482 if (task->task_state_flags & SAS_TASK_STATE_DONE) { in mvs_abort_task()
1527 task->task_state_flags |= SAS_TASK_STATE_ABORTED; in mvs_abort_task()
1719 task->task_state_flags &= in mvs_slot_complete()
1721 task->task_state_flags |= SAS_TASK_STATE_DONE; in mvs_slot_complete()
1723 aborted = task->task_state_flags & SAS_TASK_STATE_ABORTED; in mvs_slot_complete()
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/
Dhisi_sas_main.c546 task->task_state_flags |= SAS_TASK_AT_INITIATOR; in hisi_sas_task_prep()
1014 task->task_state_flags &= in hisi_sas_do_release_task()
1017 task->task_state_flags |= SAS_TASK_STATE_DONE; in hisi_sas_do_release_task()
1182 if (!(task->task_state_flags & SAS_TASK_STATE_DONE)) { in hisi_sas_tmf_timedout()
1183 task->task_state_flags |= SAS_TASK_STATE_ABORTED; in hisi_sas_tmf_timedout()
1237 if ((task->task_state_flags & SAS_TASK_STATE_ABORTED)) { in hisi_sas_exec_internal_tmf_task()
1238 if (!(task->task_state_flags & SAS_TASK_STATE_DONE)) { in hisi_sas_exec_internal_tmf_task()
1629 if (task->task_state_flags & SAS_TASK_STATE_DONE) { in hisi_sas_abort_task()
1645 task->task_state_flags |= SAS_TASK_STATE_ABORTED; in hisi_sas_abort_task()
2006 task->task_state_flags |= SAS_TASK_AT_INITIATOR; in hisi_sas_internal_abort_task_exec()
[all …]
Dhisi_sas_v1_hw.c1203 task->task_state_flags &= in slot_complete_v1_hw()
1205 task->task_state_flags |= SAS_TASK_STATE_DONE; in slot_complete_v1_hw()
Dhisi_sas_v2_hw.c2347 task->task_state_flags &= in slot_complete_v2_hw()
2461 if (task->task_state_flags & SAS_TASK_STATE_ABORTED) { in slot_complete_v2_hw()
2466 task->task_state_flags |= SAS_TASK_STATE_DONE; in slot_complete_v2_hw()
Dhisi_sas_v3_hw.c2195 task->task_state_flags &= in slot_complete_v3_hw()
2297 if (task->task_state_flags & SAS_TASK_STATE_ABORTED) { in slot_complete_v3_hw()
2302 task->task_state_flags |= SAS_TASK_STATE_DONE; in slot_complete_v3_hw()
/kernel/linux/linux-5.10/include/scsi/
Dlibsas.h577 unsigned task_state_flags; member