Lines Matching defs:sc
668 * @sc: Pointer to SCSI command, or NULL with task management function (TMF).
672 struct scsi_cmnd *sc, struct zfcp_fsf_req *fsf)
687 if (sc) {
688 rec->scsi_result = sc->result;
689 rec->scsi_retries = sc->retries;
690 rec->scsi_allowed = sc->allowed;
691 rec->scsi_id = sc->device->id;
692 rec->scsi_lun = (u32)sc->device->lun;
693 rec->scsi_lun_64_hi = (u32)(sc->device->lun >> 32);
694 rec->host_scribble = (u64)sc->host_scribble;
696 memcpy(rec->scsi_opcode, sc->cmnd,
697 min_t(int, sc->cmd_len, ZFCP_DBF_SCSI_OPCODE));