Home
last modified time | relevance | path

Searched refs:smcm_status (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/uts/common/io/scsi/adapters/smrt/
H A Dsmrt_ciss.c395 if (smcm->smcm_status & SMRT_CMD_STATUS_POLLED) { in smrt_periodic()
403 if (smcm->smcm_status & SMRT_CMD_STATUS_ABORT_SENT) { in smrt_periodic()
427 smcm->smcm_status |= SMRT_CMD_STATUS_TIMEOUT; in smrt_periodic()
527 if (smcm->smcm_status & SMRT_CMD_IGNORE_RUNNING) { in smrt_submit()
528 VERIFY(smcm->smcm_status & SMRT_CMD_STATUS_POLLED); in smrt_submit()
537 !(smcm->smcm_status & SMRT_CMD_IGNORE_RUNNING)) { in smrt_submit()
563 VERIFY(!(smcm->smcm_status & SMRT_CMD_STATUS_USED)); in smrt_submit()
564 smcm->smcm_status |= SMRT_CMD_STATUS_USED; in smrt_submit()
586 VERIFY(!(smcm->smcm_status & SMRT_CMD_STATUS_INFLIGHT)); in smrt_submit()
587 smcm->smcm_status |= SMRT_CMD_STATUS_INFLIGHT; in smrt_submit()
[all …]
H A Dsmrt_sata.c73 smcm->smcm_status |= SMRT_CMD_STATUS_POLLED; in smrt_sata_determine_wwn()
82 VERIFY0(smcm->smcm_status & SMRT_CMD_STATUS_POLL_COMPLETE); in smrt_sata_determine_wwn()
89 smcm->smcm_status |= SMRT_CMD_STATUS_ABANDONED; in smrt_sata_determine_wwn()
90 smcm->smcm_status &= ~SMRT_CMD_STATUS_POLLED; in smrt_sata_determine_wwn()
95 if (smcm->smcm_status & SMRT_CMD_STATUS_RESET_SENT) { in smrt_sata_determine_wwn()
105 if (smcm->smcm_status & SMRT_CMD_STATUS_ERROR) { in smrt_sata_determine_wwn()
H A Dsmrt_ciss_simple.c99 smcm->smcm_status &= ~SMRT_CMD_STATUS_INFLIGHT; in smrt_retrieve_simple()
101 smcm->smcm_status |= SMRT_CMD_STATUS_ERROR; in smrt_retrieve_simple()
141 VERIFY(smcm->smcm_status & SMRT_CMD_STATUS_POLLED); in smrt_preinit_command_simple()
147 smcm->smcm_status |= SMRT_CMD_STATUS_INFLIGHT; in smrt_preinit_command_simple()
181 smcm->smcm_status &= ~SMRT_CMD_STATUS_INFLIGHT; in smrt_preinit_command_simple()
183 smcm->smcm_status |= SMRT_CMD_STATUS_ERROR; in smrt_preinit_command_simple()
186 smcm->smcm_status |= SMRT_CMD_STATUS_POLL_COMPLETE; in smrt_preinit_command_simple()
H A Dsmrt_hba.c464 if (smcm->smcm_status & SMRT_CMD_STATUS_TRAN_START) { in smrt_tran_start()
471 smcm->smcm_status |= SMRT_CMD_STATUS_TRAN_START; in smrt_tran_start()
489 smcm->smcm_status |= SMRT_CMD_STATUS_TRAN_IGNORED; in smrt_tran_start()
528 smcm->smcm_status |= SMRT_CMD_STATUS_POLLED; in smrt_tran_start()
713 smcm->smcm_status |= SMRT_CMD_STATUS_POLLED; in smrt_tran_reset()
723 VERIFY0(smcm->smcm_status & SMRT_CMD_STATUS_POLL_COMPLETE); in smrt_tran_reset()
729 smcm->smcm_status |= SMRT_CMD_STATUS_ABANDONED; in smrt_tran_reset()
730 smcm->smcm_status &= ~SMRT_CMD_STATUS_POLLED; in smrt_tran_reset()
732 } else if ((smcm->smcm_status & SMRT_CMD_STATUS_RESET_SENT) || in smrt_tran_reset()
733 (smcm->smcm_status & SMRT_CMD_STATUS_ERROR)) { in smrt_tran_reset()
[all …]
H A Dsmrt_physical.c157 smcm->smcm_status |= SMRT_CMD_STATUS_POLLED; in smrt_phys_identify()
169 VERIFY0(smcm->smcm_status & SMRT_CMD_STATUS_POLL_COMPLETE); in smrt_phys_identify()
176 smcm->smcm_status |= SMRT_CMD_STATUS_ABANDONED; in smrt_phys_identify()
177 smcm->smcm_status &= ~SMRT_CMD_STATUS_POLLED; in smrt_phys_identify()
184 if (smcm->smcm_status & SMRT_CMD_STATUS_RESET_SENT) { in smrt_phys_identify()
193 if (smcm->smcm_status & SMRT_CMD_STATUS_ERROR) { in smrt_phys_identify()
429 smcm->smcm_status |= SMRT_CMD_STATUS_POLLED; in smrt_phys_discover()
440 VERIFY0(smcm->smcm_status & SMRT_CMD_STATUS_POLL_COMPLETE); in smrt_phys_discover()
447 smcm->smcm_status |= SMRT_CMD_STATUS_ABANDONED; in smrt_phys_discover()
448 smcm->smcm_status &= ~SMRT_CMD_STATUS_POLLED; in smrt_phys_discover()
[all …]
H A Dsmrt_logvol.c222 smcm->smcm_status |= SMRT_CMD_STATUS_POLLED; in smrt_logvol_discover()
233 VERIFY0(smcm->smcm_status & SMRT_CMD_STATUS_POLL_COMPLETE); in smrt_logvol_discover()
240 smcm->smcm_status |= SMRT_CMD_STATUS_ABANDONED; in smrt_logvol_discover()
241 smcm->smcm_status &= ~SMRT_CMD_STATUS_POLLED; in smrt_logvol_discover()
246 if (smcm->smcm_status & SMRT_CMD_STATUS_RESET_SENT) { in smrt_logvol_discover()
255 if (smcm->smcm_status & SMRT_CMD_STATUS_ERROR) { in smrt_logvol_discover()
H A Dsmrt_commands.c294 VERIFY(!(smcm->smcm_status & SMRT_CMD_STATUS_INFLIGHT)); in smrt_command_reuse()
295 smcm->smcm_status = SMRT_CMD_STATUS_REUSED; in smrt_command_reuse()
322 VERIFY(!(smcm->smcm_status & SMRT_CMD_STATUS_INFLIGHT)); in smrt_command_free()
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/smrt/
H A Dsmrt.h558 smrt_command_status_t smcm_status; member