Searched refs:fcprsp (Results 1 – 2 of 2) sorted by relevance
1676 fcp_rsp_iu_t *fcprsp = io->rspbuf.virt; in ocs_scsi_send_resp() local1678 if (!fcprsp) { in ocs_scsi_send_resp()1685 ocs_memset(fcprsp, 0, sizeof(*fcprsp)); in ocs_scsi_send_resp()1687 io->wire_len += (sizeof(*fcprsp) - sizeof(fcprsp->data)); in ocs_scsi_send_resp()1689 fcprsp->scsi_status = scsi_status; in ocs_scsi_send_resp()1690 *((uint16_t*)fcprsp->status_qualifier) = ocs_htobe16(scsi_status_qualifier); in ocs_scsi_send_resp()1699 fcprsp->flags |= FCP_RESID_UNDER; in ocs_scsi_send_resp()1700 *((uint32_t *)fcprsp->fcp_resid) = ocs_htobe32(residual); in ocs_scsi_send_resp()1702 fcprsp->flags |= FCP_RESID_OVER; in ocs_scsi_send_resp()1703 *((uint32_t *)fcprsp->fcp_resid) = ocs_htobe32(-residual); in ocs_scsi_send_resp()[all …]
1337 fcp_rsp_iu_t fcprsp; in ocs_sframe_send_task_set_full_or_busy() local1349 ocs_memset(&fcprsp, 0, sizeof(fcprsp)); in ocs_sframe_send_task_set_full_or_busy()1351 …fcprsp.scsi_status = ocs_list_empty(&node->active_ios) ? SCSI_STATUS_BUSY : SCSI_STATUS_TASK_SET_F… in ocs_sframe_send_task_set_full_or_busy()1353 *((uint32_t*)&fcprsp.fcp_resid) = fcp_dl; in ocs_sframe_send_task_set_full_or_busy()1356 rc = ocs_sframe_send_fcp_rsp(node, seq, &fcprsp, sizeof(fcprsp) - sizeof(fcprsp.data)); in ocs_sframe_send_task_set_full_or_busy()