Home
last modified time | relevance | path

Searched refs:sc_cmd (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/scsi/qedf/
A Dqedf_io.c1034 io_req->sc_cmd = sc_cmd; in qedf_queuecommand()
1145 sc_cmd = io_req->sc_cmd; in qedf_scsi_completion()
1208 sc_cmd->cmnd[3], sc_cmd->cmnd[4], sc_cmd->cmnd[5]); in qedf_scsi_completion()
1236 sc_cmd->cmnd[0], sc_cmd->cmnd[2], sc_cmd->cmnd[3], in qedf_scsi_completion()
1237 sc_cmd->cmnd[4], sc_cmd->cmnd[5], in qedf_scsi_completion()
1345 sc_cmd = io_req->sc_cmd; in qedf_scsi_done()
1397 sc_cmd->device->lun, sc_cmd, sc_cmd->result, sc_cmd->cmnd[0], in qedf_scsi_done()
1398 sc_cmd->cmnd[2], sc_cmd->cmnd[3], sc_cmd->cmnd[4], in qedf_scsi_done()
1399 sc_cmd->cmnd[5], sc_cmd->allowed, sc_cmd->retries, in qedf_scsi_done()
2325 io_req->sc_cmd = sc_cmd; in qedf_execute_tmf()
[all …]
A Dqedf_els.c68 els_req->sc_cmd = NULL; in qedf_initiate_els()
783 if (!orig_io_req->sc_cmd) { in qedf_requeue_io_req()
796 new_io_req->sc_cmd = orig_io_req->sc_cmd; in qedf_requeue_io_req()
804 orig_io_req->sc_cmd = NULL; in qedf_requeue_io_req()
850 struct scsi_cmnd *sc_cmd; in qedf_rec_compl() local
937 sc_cmd = orig_io_req->sc_cmd; in qedf_rec_compl()
938 if (!sc_cmd) { in qedf_rec_compl()
945 if (sc_cmd->sc_data_direction == DMA_TO_DEVICE) { in qedf_rec_compl()
A Dqedf_main.c730 lport = shost_priv(sc_cmd->device->host); in qedf_eh_abort()
747 sc_cmd, sc_cmd->cmnd[0], in qedf_eh_abort()
758 if (!rval || io_req->sc_cmd != sc_cmd) { in qedf_eh_abort()
761 io_req->sc_cmd, sc_cmd, rdata->ids.port_id); in qedf_eh_abort()
770 io_req, io_req->xid, sc_cmd, sc_cmd->cmnd[0], in qedf_eh_abort()
776 rc = fc_block_scsi_eh(sc_cmd); in qedf_eh_abort()
861 sc_cmd->device->host->host_no, sc_cmd->device->id, in qedf_eh_target_reset()
862 sc_cmd->device->lun); in qedf_eh_target_reset()
869 sc_cmd->device->host->host_no, sc_cmd->device->id, in qedf_eh_device_reset()
870 sc_cmd->device->lun); in qedf_eh_device_reset()
[all …]
A Dqedf.h100 struct scsi_cmnd *sc_cmd; member
481 struct scsi_cmnd *sc_cmd);
517 extern int qedf_initiate_tmf(struct scsi_cmnd *sc_cmd, u8 tm_flags);
/linux/drivers/scsi/bnx2fc/
A Dbnx2fc_io.c165 struct scsi_cmnd *sc_cmd = io_req->sc_cmd; in bnx2fc_scsi_done() local
204 sc_cmd, host_byte(sc_cmd->result), sc_cmd->retries, in bnx2fc_scsi_done()
206 scsi_set_resid(sc_cmd, scsi_bufflen(sc_cmd)); in bnx2fc_scsi_done()
723 io_req->sc_cmd = sc_cmd; in bnx2fc_initiate_tmf()
1455 struct scsi_cmnd *sc_cmd = io_req->sc_cmd; in bnx2fc_lun_reset_cmpl() local
1528 struct scsi_cmnd *sc_cmd = io_req->sc_cmd; in bnx2fc_process_tm_compl() local
1598 sc_cmd = io_req->sc_cmd; in bnx2fc_process_tm_compl()
1743 struct scsi_cmnd *sc_cmd = io_req->sc_cmd; in bnx2fc_build_fcp_cmnd() local
1763 struct scsi_cmnd *sc_cmd = io_req->sc_cmd; in bnx2fc_parse_fcp_rsp() local
1893 io_req->sc_cmd = sc_cmd; in bnx2fc_queuecommand()
[all …]
A Dbnx2fc.h430 struct scsi_cmnd *sc_cmd; member
501 int bnx2fc_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *sc_cmd);
547 int bnx2fc_eh_abort(struct scsi_cmnd *sc_cmd);
548 int bnx2fc_eh_target_reset(struct scsi_cmnd *sc_cmd);
549 int bnx2fc_eh_device_reset(struct scsi_cmnd *sc_cmd);
A Dbnx2fc_els.c385 struct scsi_cmnd *sc_cmd; in bnx2fc_rec_compl() local
484 new_io_req->sc_cmd = orig_io_req->sc_cmd; in bnx2fc_rec_compl()
516 sc_cmd = orig_io_req->sc_cmd; in bnx2fc_rec_compl()
517 if (sc_cmd->sc_data_direction == DMA_TO_DEVICE) { in bnx2fc_rec_compl()
711 els_req->sc_cmd = NULL; in bnx2fc_initiate_els()
A Dbnx2fc_hwi.c1493 struct scsi_cmnd *sc_cmd = orig_io_req->sc_cmd; in bnx2fc_init_seq_cleanup_task() local
1508 if (sc_cmd->sc_data_direction == DMA_TO_DEVICE) in bnx2fc_init_seq_cleanup_task()
1706 struct scsi_cmnd *sc_cmd = io_req->sc_cmd; in bnx2fc_init_task() local
1723 if (sc_cmd->sc_data_direction == DMA_TO_DEVICE) in bnx2fc_init_task()
/linux/drivers/scsi/libfc/
A Dfc_fcp.c1069 struct scsi_cmnd *sc_cmd; in fc_fcp_cleanup_each_cmd() local
1075 sc_cmd = fsp->cmd; in fc_fcp_cleanup_each_cmd()
1872 sc_cmd->result = rval; in fc_queuecommand()
1873 scsi_done(sc_cmd); in fc_queuecommand()
1883 scsi_done(sc_cmd); in fc_queuecommand()
1961 struct scsi_cmnd *sc_cmd; in fc_io_compl() local
1985 sc_cmd = fsp->cmd; in fc_io_compl()
2088 sc_cmd->SCp.ptr = NULL; in fc_io_compl()
2090 scsi_done(sc_cmd); in fc_io_compl()
2124 fsp = CMD_SP(sc_cmd); in fc_eh_abort()
[all …]
/linux/drivers/scsi/qedi/
A Dqedi_fw.c580 struct scsi_cmnd *sc_cmd; in qedi_scsi_completion() local
599 sc_cmd = cmd->scsi_cmd; in qedi_scsi_completion()
601 if (!sc_cmd) { in qedi_scsi_completion()
606 if (!sc_cmd->SCp.ptr) { in qedi_scsi_completion()
612 if (!scsi_cmd_to_rq(sc_cmd)->q) { in qedi_scsi_completion()
615 sc_cmd); in qedi_scsi_completion()
646 scsi_bufflen(sc_cmd)); in qedi_scsi_completion()
1931 io_log->op = sc_cmd->cmnd[0]; in qedi_trace_io()
1932 io_log->lba[0] = sc_cmd->cmnd[2]; in qedi_trace_io()
1933 io_log->lba[1] = sc_cmd->cmnd[3]; in qedi_trace_io()
[all …]

Completed in 37 milliseconds