Searched refs:sc_cmd (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/scsi/qedf/ |
H A D | qedf_io.c | 370 /* Clear any stale sc_cmd back pointer */ in qedf_alloc_cmd() 371 io_req->sc_cmd = NULL; in qedf_alloc_cmd() 444 WARN_ON(io_req->sc_cmd); in qedf_release_cmd() 473 struct scsi_cmnd *sc = io_req->sc_cmd; in qedf_map_sg() 530 struct scsi_cmnd *sc = io_req->sc_cmd; in qedf_build_bd_list_from_sg() 551 struct scsi_cmnd *sc_cmd = io_req->sc_cmd; in qedf_build_fcp_cmnd() local 561 int_to_scsilun(sc_cmd->device->lun, in qedf_build_fcp_cmnd() 574 if (sc_cmd->sc_data_direction == DMA_TO_DEVICE) in qedf_build_fcp_cmnd() 576 else if (sc_cmd in qedf_build_fcp_cmnd() 595 struct scsi_cmnd *sc_cmd = io_req->sc_cmd; qedf_init_task() local 809 struct scsi_cmnd *sc_cmd = io_req->sc_cmd; qedf_trace_io() local 852 struct scsi_cmnd *sc_cmd = io_req->sc_cmd; qedf_post_io_req() local 934 qedf_queuecommand(struct Scsi_Host * host,struct scsi_cmnd * sc_cmd) qedf_queuecommand() argument 1057 struct scsi_cmnd *sc_cmd = io_req->sc_cmd; qedf_parse_fcp_rsp() local 1124 struct scsi_cmnd *sc_cmd; qedf_scsi_completion() local 1326 struct scsi_cmnd *sc_cmd; qedf_scsi_done() local [all...] |
H 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() 784 QEDF_ERR(&(fcport->qedf->dbg_ctx), "sc_cmd is NULL for " in qedf_requeue_io_req() 796 new_io_req->sc_cmd = orig_io_req->sc_cmd; in qedf_requeue_io_req() 799 * This keeps the sc_cmd struct from being returned to the tape 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() [all...] |
H A D | qedf.h | 99 struct scsi_cmnd *sc_cmd; member 491 struct scsi_cmnd *sc_cmd);
|
/linux/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_io.c | 165 struct scsi_cmnd *sc_cmd = io_req->sc_cmd; in bnx2fc_scsi_done() local 182 io_req->sc_cmd = NULL; in bnx2fc_scsi_done() 185 if (!sc_cmd) { in bnx2fc_scsi_done() 186 printk(KERN_ERR PFX "scsi_done - sc_cmd NULL. " in bnx2fc_scsi_done() 191 if (!sc_cmd->device) { in bnx2fc_scsi_done() 192 pr_err(PFX "0x%x: sc_cmd->device is NULL.\n", io_req->xid); in bnx2fc_scsi_done() 195 if (!sc_cmd->device->host) { in bnx2fc_scsi_done() 196 pr_err(PFX "0x%x: sc_cmd->device->host is NULL.\n", in bnx2fc_scsi_done() 201 sc_cmd in bnx2fc_scsi_done() 1059 bnx2fc_eh_target_reset(struct scsi_cmnd * sc_cmd) bnx2fc_eh_target_reset() argument 1075 bnx2fc_eh_device_reset(struct scsi_cmnd * sc_cmd) bnx2fc_eh_device_reset() argument 1126 bnx2fc_eh_abort(struct scsi_cmnd * sc_cmd) bnx2fc_eh_abort() argument 1530 struct scsi_cmnd *sc_cmd = io_req->sc_cmd; bnx2fc_process_tm_compl() local 1761 struct scsi_cmnd *sc_cmd = io_req->sc_cmd; bnx2fc_parse_fcp_rsp() local 1840 bnx2fc_queuecommand(struct Scsi_Host * host,struct scsi_cmnd * sc_cmd) bnx2fc_queuecommand() argument 1910 struct scsi_cmnd *sc_cmd; bnx2fc_process_scsi_cmd_compl() local 2028 struct scsi_cmnd *sc_cmd = io_req->sc_cmd; bnx2fc_post_io_req() local [all...] |
H 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);
|
H 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() 489 /* Post a new IO req with the same 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()
|
H 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/qedi/ |
H 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() 602 QEDI_WARN(&qedi->dbg_ctx, "sc_cmd is NULL!\n"); 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() 614 "request->q is NULL so request is not valid, sc_cmd=%p.\n", in qedi_scsi_completion() 615 sc_cmd); in qedi_scsi_completion() 646 scsi_bufflen(sc_cmd)); in qedi_scsi_completion() 647 hdr->residual_count = cpu_to_be32(scsi_bufflen(sc_cmd)); in qedi_scsi_completion() 1919 struct scsi_cmnd *sc_cmd = task->sc; qedi_trace_io() local [all...] |