Home
last modified time | relevance | path

Searched refs:scpnt (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/s390/scsi/
Dzfcp_scsi.c73 static void zfcp_scsi_command_fail(struct scsi_cmnd *scpnt, int result) in zfcp_scsi_command_fail() argument
75 set_host_byte(scpnt, result); in zfcp_scsi_command_fail()
76 zfcp_dbf_scsi_fail_send(scpnt); in zfcp_scsi_command_fail()
77 scpnt->scsi_done(scpnt); in zfcp_scsi_command_fail()
81 int zfcp_scsi_queuecommand(struct Scsi_Host *shost, struct scsi_cmnd *scpnt) in zfcp_scsi_queuecommand() argument
83 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(scpnt->device); in zfcp_scsi_queuecommand()
84 struct fc_rport *rport = starget_to_rport(scsi_target(scpnt->device)); in zfcp_scsi_queuecommand()
88 scpnt->result = 0; in zfcp_scsi_queuecommand()
89 scpnt->host_scribble = NULL; in zfcp_scsi_queuecommand()
93 scpnt->result = scsi_result; in zfcp_scsi_queuecommand()
[all …]
Dzfcp_fsf.c2066 struct scsi_cmnd *scpnt; in zfcp_fsf_fcp_cmnd_handler() local
2072 scpnt = req->data; in zfcp_fsf_fcp_cmnd_handler()
2073 if (unlikely(!scpnt)) { in zfcp_fsf_fcp_cmnd_handler()
2081 set_host_byte(scpnt, DID_TRANSPORT_DISRUPTED); in zfcp_fsf_fcp_cmnd_handler()
2088 set_host_byte(scpnt, DID_ERROR); in zfcp_fsf_fcp_cmnd_handler()
2091 zfcp_scsi_dif_sense_error(scpnt, 0x1); in zfcp_fsf_fcp_cmnd_handler()
2094 zfcp_scsi_dif_sense_error(scpnt, 0x2); in zfcp_fsf_fcp_cmnd_handler()
2097 zfcp_scsi_dif_sense_error(scpnt, 0x3); in zfcp_fsf_fcp_cmnd_handler()
2101 zfcp_fc_eval_fcp_rsp(fcp_rsp, scpnt); in zfcp_fsf_fcp_cmnd_handler()
2104 zfcp_fsf_req_trace(req, scpnt); in zfcp_fsf_fcp_cmnd_handler()
[all …]