Lines Matching refs:vrq
847 rq->vrq->scsi.flags |= cpu_to_le32(FCP_CMND_WRD); in esas2r_queuecommand()
849 rq->vrq->scsi.flags |= cpu_to_le32(FCP_CMND_RDD); in esas2r_queuecommand()
852 memcpy(rq->vrq->scsi.cdb, cmd->cmnd, cmd->cmd_len); in esas2r_queuecommand()
853 rq->vrq->scsi.length = cpu_to_le32(bufflen); in esas2r_queuecommand()
855 rq->vrq->scsi.flags |= cpu_to_le32(cmd->device->lun); in esas2r_queuecommand()
944 ar->vrq->scsi.length = 0; in esas2r_check_active_queue()
946 ar->vrq->scsi.flags |= cpu_to_le32( in esas2r_check_active_queue()
947 (u8)le32_to_cpu(rq->vrq->scsi.flags)); in esas2r_check_active_queue()
949 memset(ar->vrq->scsi.cdb, 0, in esas2r_check_active_queue()
950 sizeof(ar->vrq->scsi.cdb)); in esas2r_check_active_queue()
952 ar->vrq->scsi.flags |= cpu_to_le32( in esas2r_check_active_queue()
954 ar->vrq->scsi.u.abort_handle = in esas2r_check_active_queue()
955 rq->vrq->scsi.handle; in esas2r_check_active_queue()
1141 rq->vrq->scsi.flags |= cpu_to_le32(cmd->device->lun); in esas2r_dev_targ_reset()
1208 if (rq->vrq->scsi.function == VDA_FUNC_SCSI) { in esas2r_log_request_failure()
1215 rq->vrq->scsi.cdb[0]); in esas2r_log_request_failure()
1219 rq->vrq->scsi.cdb[0]); in esas2r_log_request_failure()
1221 } else if ((rq->vrq->scsi.cdb[0] != INQUIRY in esas2r_log_request_failure()
1222 && rq->vrq->scsi.cdb[0] != REPORT_LUNS) in esas2r_log_request_failure()
1226 (rq->vrq->scsi.cdb[0] == INQUIRY)) { in esas2r_log_request_failure()
1231 rq->vrq->scsi.cdb[0], reqstatus, in esas2r_log_request_failure()