Lines Matching defs:comp_status

1815 	uint16_t		comp_status;
1849 comp_status = (uint16_t)ddi_get16(ha->hba_buf.acc_handle,
1850 &pkt->comp_status);
1855 if (comp_status == CS_QUEUE_FULL) {
1859 comp_status = CS_COMPLETE;
1867 (comp_status == CS_DATA_UNDERRUN) &&
1869 comp_status = CS_COMPLETE;
1877 comp_status == CS_COMPLETE &&
1885 comp_status = CS_ABORTED;
1905 if ((comp_status == CS_COMPLETE) &
1910 sp->pkt->pkt_reason = comp_status;
1947 uint16_t comp_status;
1982 comp_status = (uint16_t)ddi_get16(ha->hba_buf.acc_handle,
1983 &pkt->comp_status);
1986 if (comp_status == CS_QUEUE_FULL) {
1990 comp_status = CS_COMPLETE;
1997 if ((comp_status == CS_DATA_UNDERRUN) &&
1999 comp_status = CS_COMPLETE;
2006 if (comp_status == CS_COMPLETE &&
2013 comp_status = CS_ABORTED;
2019 if ((comp_status == CS_COMPLETE) &
2024 sp->pkt->pkt_reason = comp_status;
2133 uint16_t comp_status;
2146 sts.comp_status = (uint16_t)ddi_get16(ha->hba_buf.acc_handle,
2147 &pkt24->comp_status);
2152 sts.residual_length = sts.comp_status == CS_DATA_UNDERRUN ?
2162 if ((sts.comp_status == CS_DATA_UNDERRUN) &&
2178 (sts.comp_status != CS_DATA_UNDERRUN ||
2245 sts.comp_status = (uint16_t)ddi_get16(
2246 ha->hba_buf.acc_handle, &pkt23->comp_status);
2251 sts.residual_length = sts.comp_status == CS_DATA_UNDERRUN ?
2310 sp->pkt->pkt_reason = sts.comp_status;
2362 if (sts.comp_status == CS_RESET && LOOP_READY(ha)) {
2377 (sts.comp_status == CS_INCOMPLETE ||
2378 sts.comp_status == CS_PORT_UNAVAILABLE ||
2379 sts.comp_status == CS_PORT_LOGGED_OUT ||
2380 sts.comp_status == CS_PORT_CONFIG_CHG ||
2381 sts.comp_status == CS_PORT_BUSY)) {
2383 "\n", sts.comp_status, tq->d_id.b24, sp->lun_queue->lun_no,
2404 (sts.comp_status == CS_PORT_LOGGED_OUT ||
2405 sts.comp_status == CS_PORT_UNAVAILABLE)) {
2422 (sts.comp_status == CS_RESET ||
2423 (sts.comp_status == CS_QUEUE_FULL && tq->qfull_retry_count != 0) ||
2424 (sts.comp_status == CS_ABORTED && !(sp->flags & SRB_ABORTING)))) {
2425 if (sts.comp_status == CS_RESET) {
2428 } else if (sts.comp_status == CS_QUEUE_FULL) {
2460 if ((sts.comp_status == CS_DATA_UNDERRUN) &&
2475 if (sts.comp_status == CS_DATA_UNDERRUN &&
2485 "\n", sts.comp_status, tq->d_id.b24,
2714 ha->hba_buf.acc_handle, &pkt23->comp_status);
3025 ha->hba_buf.acc_handle, &pkt23->comp_status);
3245 ha->hba_buf.acc_handle, &rsp->comp_status);