Searched refs:sc_cmd (Results 1 – 10 of 10) sorted by relevance
| /linux/drivers/scsi/qedf/ |
| A D | qedf_io.c | 551 struct scsi_cmnd *sc_cmd = io_req->sc_cmd; in qedf_build_fcp_cmnd() local 1037 io_req->sc_cmd = sc_cmd; in qedf_queuecommand() 1102 if (sc_cmd && sc_cmd->sense_buffer) { in qedf_parse_fcp_rsp() 1147 sc_cmd = io_req->sc_cmd; in qedf_scsi_completion() 1210 sc_cmd->cmnd[3], sc_cmd->cmnd[4], sc_cmd->cmnd[5]); in qedf_scsi_completion() 1238 sc_cmd->cmnd[0], sc_cmd->cmnd[2], sc_cmd->cmnd[3], in qedf_scsi_completion() 1239 sc_cmd->cmnd[4], sc_cmd->cmnd[5], in qedf_scsi_completion() 1347 sc_cmd = io_req->sc_cmd; in qedf_scsi_done() 1399 sc_cmd->device->lun, sc_cmd, sc_cmd->result, sc_cmd->cmnd[0], in qedf_scsi_done() 1400 sc_cmd->cmnd[2], sc_cmd->cmnd[3], sc_cmd->cmnd[4], in qedf_scsi_done() [all …]
|
| A D | qedf_els.c | 68 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 D | qedf_main.c | 723 static int qedf_eh_abort(struct scsi_cmnd *sc_cmd) in qedf_eh_abort() argument 738 lport = shost_priv(sc_cmd->device->host); in qedf_eh_abort() 751 io_req = qedf_priv(sc_cmd)->io_req; in qedf_eh_abort() 755 sc_cmd, sc_cmd->cmnd[0], in qedf_eh_abort() 766 if (!rval || io_req->sc_cmd != sc_cmd) { in qedf_eh_abort() 769 io_req->sc_cmd, sc_cmd, rdata->ids.port_id); in qedf_eh_abort() 778 io_req, io_req->xid, sc_cmd, sc_cmd->cmnd[0], in qedf_eh_abort() 792 while (io_req->sc_cmd && (wait_count != 0)) { in qedf_eh_abort() 813 io_req, sc_cmd, io_req->xid, io_req->fp_idx, in qedf_eh_abort() 966 static int qedf_eh_host_reset(struct scsi_cmnd *sc_cmd) in qedf_eh_host_reset() argument [all …]
|
| A D | qedf.h | 99 struct scsi_cmnd *sc_cmd; member 491 struct scsi_cmnd *sc_cmd);
|
| /linux/drivers/scsi/bnx2fc/ |
| A D | bnx2fc_io.c | 165 struct scsi_cmnd *sc_cmd = io_req->sc_cmd; in bnx2fc_scsi_done() local 185 if (!sc_cmd) { in bnx2fc_scsi_done() 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() 1530 struct scsi_cmnd *sc_cmd = io_req->sc_cmd; in bnx2fc_process_tm_compl() local 1577 if (sc_cmd) { in bnx2fc_process_tm_compl() 1601 sc_cmd = io_req->sc_cmd; in bnx2fc_process_tm_compl() 1761 struct scsi_cmnd *sc_cmd = io_req->sc_cmd; in bnx2fc_parse_fcp_rsp() local 1890 io_req->sc_cmd = sc_cmd; in bnx2fc_queuecommand() 1933 sc_cmd = io_req->sc_cmd; in bnx2fc_process_scsi_cmd_compl() [all …]
|
| A D | bnx2fc.h | 423 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 D | bnx2fc_els.c | 385 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 D | bnx2fc_hwi.c | 1493 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 1724 if (sc_cmd->sc_data_direction == DMA_TO_DEVICE) in bnx2fc_init_task() 1784 int_to_scsilun(sc_cmd->device->lun, &fcp_cmnd->fc_lun); in bnx2fc_init_task() 1785 memcpy(fcp_cmnd->fc_cdb, sc_cmd->cmnd, sc_cmd->cmd_len); in bnx2fc_init_task()
|
| /linux/drivers/scsi/libfc/ |
| A D | fc_fcp.c | 1064 struct scsi_cmnd *sc_cmd; in fc_fcp_cleanup_each_cmd() local 1070 sc_cmd = fsp->cmd; in fc_fcp_cleanup_each_cmd() 1867 sc_cmd->result = rval; in fc_queuecommand() 1868 scsi_done(sc_cmd); in fc_queuecommand() 1878 scsi_done(sc_cmd); in fc_queuecommand() 1954 struct scsi_cmnd *sc_cmd; in fc_io_compl() local 1978 sc_cmd = fsp->cmd; in fc_io_compl() 2081 libfc_priv(sc_cmd)->fsp = NULL; in fc_io_compl() 2083 scsi_done(sc_cmd); in fc_io_compl() 2117 fsp = libfc_priv(sc_cmd)->fsp; in fc_eh_abort() [all …]
|
| /linux/drivers/scsi/qedi/ |
| A D | qedi_fw.c | 580 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 (!iscsi_cmd(sc_cmd)->task) { 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() 1929 io_log->op = sc_cmd->cmnd[0]; in qedi_trace_io() 1930 io_log->lba[0] = sc_cmd->cmnd[2]; in qedi_trace_io() 1931 io_log->lba[1] = sc_cmd->cmnd[3]; in qedi_trace_io() [all …]
|
Completed in 40 milliseconds