Searched refs:scmnd (Results 1 – 8 of 8) sorted by relevance
/drivers/scsi/ |
D | storvsc_drv.c | 1034 struct scsi_cmnd *scmnd, in storvsc_handle_error() argument 1051 set_host_byte(scmnd, DID_REQUEUE); in storvsc_handle_error() 1067 set_host_byte(scmnd, DID_REQUEUE); in storvsc_handle_error() 1084 switch (scmnd->cmnd[0]) { in storvsc_handle_error() 1087 set_host_byte(scmnd, DID_PASSTHROUGH); in storvsc_handle_error() 1097 set_host_byte(scmnd, DID_ERROR); in storvsc_handle_error() 1102 set_host_byte(scmnd, DID_NO_CONNECT); in storvsc_handle_error() 1115 set_host_byte(scmnd, DID_TARGET_FAILURE); in storvsc_handle_error() 1130 struct scsi_cmnd *scmnd = cmd_request->cmd; in storvsc_command_completion() local 1144 scmnd->result = vm_srb->scsi_status; in storvsc_command_completion() [all …]
|
D | virtio_scsi.c | 734 static enum blk_eh_timer_return virtscsi_eh_timed_out(struct scsi_cmnd *scmnd) in virtscsi_eh_timed_out() argument
|
/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 1174 static void srp_unmap_data(struct scsi_cmnd *scmnd, in srp_unmap_data() argument 1183 if (!scsi_sglist(scmnd) || in srp_unmap_data() 1184 (scmnd->sc_data_direction != DMA_TO_DEVICE && in srp_unmap_data() 1185 scmnd->sc_data_direction != DMA_FROM_DEVICE)) in srp_unmap_data() 1206 ib_dma_unmap_sg(ibdev, scsi_sglist(scmnd), scsi_sg_count(scmnd), in srp_unmap_data() 1207 scmnd->sc_data_direction); in srp_unmap_data() 1224 struct scsi_cmnd *scmnd) in srp_claim_req() argument 1229 if (req->scmnd && in srp_claim_req() 1230 (!sdev || req->scmnd->device == sdev) && in srp_claim_req() 1231 (!scmnd || req->scmnd == scmnd)) { in srp_claim_req() [all …]
|
D | ib_srp.h | 126 struct scsi_cmnd *scmnd; member
|
/drivers/scsi/csiostor/ |
D | csio_scsi.c | 86 struct scsi_cmnd *scmnd = csio_scsi_cmnd(ioreq); in csio_scsi_match_io() local 90 if (scmnd == NULL) in csio_scsi_match_io() 95 ((uint64_t)scmnd->device->lun == sld->oslun)); in csio_scsi_match_io() 166 struct scsi_cmnd *scmnd = csio_scsi_cmnd(req); in csio_scsi_fcp_cmnd() local 169 if (likely(scmnd->SCp.Message == 0)) { in csio_scsi_fcp_cmnd() 170 int_to_scsilun(scmnd->device->lun, &fcp_cmnd->fc_lun); in csio_scsi_fcp_cmnd() 174 memcpy(fcp_cmnd->fc_cdb, scmnd->cmnd, 16); in csio_scsi_fcp_cmnd() 176 fcp_cmnd->fc_dl = cpu_to_be32(scsi_bufflen(scmnd)); in csio_scsi_fcp_cmnd() 187 int_to_scsilun(scmnd->device->lun, &fcp_cmnd->fc_lun); in csio_scsi_fcp_cmnd() 188 fcp_cmnd->fc_tm_flags = (uint8_t)scmnd->SCp.Message; in csio_scsi_fcp_cmnd() [all …]
|
/drivers/s390/scsi/ |
D | zfcp_dbf.h | 469 static inline void zfcp_dbf_scsi_nullcmnd(struct scsi_cmnd *scmnd, in zfcp_dbf_scsi_nullcmnd() argument 472 _zfcp_dbf_scsi("scfc__1", 3, scmnd, fsf_req); in zfcp_dbf_scsi_nullcmnd()
|
D | zfcp_fsf.c | 1039 struct zfcp_fsf_req *zfcp_fsf_abort_fcp_cmnd(struct scsi_cmnd *scmnd) in zfcp_fsf_abort_fcp_cmnd() argument 1042 struct scsi_device *sdev = scmnd->device; in zfcp_fsf_abort_fcp_cmnd() 1045 unsigned long old_req_id = (unsigned long) scmnd->host_scribble; in zfcp_fsf_abort_fcp_cmnd()
|
/drivers/scsi/aacraid/ |
D | linit.c | 635 static bool fib_count_iter(struct scsi_cmnd *scmnd, void *data, bool reserved) in fib_count_iter() argument 639 switch (scmnd->SCp.phase) { in fib_count_iter()
|