Searched refs:scpnt (Results 1 – 2 of 2) sorted by relevance
/linux-3.4.99/drivers/s390/scsi/ |
D | zfcp_scsi.c | 75 static void zfcp_scsi_command_fail(struct scsi_cmnd *scpnt, int result) in zfcp_scsi_command_fail() argument 77 set_host_byte(scpnt, result); in zfcp_scsi_command_fail() 78 zfcp_dbf_scsi_fail_send(scpnt); in zfcp_scsi_command_fail() 79 scpnt->scsi_done(scpnt); in zfcp_scsi_command_fail() 83 int zfcp_scsi_queuecommand(struct Scsi_Host *shost, struct scsi_cmnd *scpnt) in zfcp_scsi_queuecommand() argument 85 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(scpnt->device); in zfcp_scsi_queuecommand() 86 struct fc_rport *rport = starget_to_rport(scsi_target(scpnt->device)); in zfcp_scsi_queuecommand() 90 scpnt->result = 0; in zfcp_scsi_queuecommand() 91 scpnt->host_scribble = NULL; in zfcp_scsi_queuecommand() 95 scpnt->result = scsi_result; in zfcp_scsi_queuecommand() [all …]
|
D | zfcp_fsf.c | 2127 struct scsi_cmnd *scpnt; in zfcp_fsf_fcp_cmnd_handler() local 2133 scpnt = req->data; in zfcp_fsf_fcp_cmnd_handler() 2134 if (unlikely(!scpnt)) { in zfcp_fsf_fcp_cmnd_handler() 2142 set_host_byte(scpnt, DID_TRANSPORT_DISRUPTED); in zfcp_fsf_fcp_cmnd_handler() 2149 set_host_byte(scpnt, DID_ERROR); in zfcp_fsf_fcp_cmnd_handler() 2152 zfcp_scsi_dif_sense_error(scpnt, 0x1); in zfcp_fsf_fcp_cmnd_handler() 2155 zfcp_scsi_dif_sense_error(scpnt, 0x2); in zfcp_fsf_fcp_cmnd_handler() 2158 zfcp_scsi_dif_sense_error(scpnt, 0x3); in zfcp_fsf_fcp_cmnd_handler() 2162 zfcp_fc_eval_fcp_rsp(fcp_rsp, scpnt); in zfcp_fsf_fcp_cmnd_handler() 2165 zfcp_fsf_req_trace(req, scpnt); in zfcp_fsf_fcp_cmnd_handler() [all …]
|