Home
last modified time | relevance | path

Searched refs:scmnd (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/
Dstorvsc_drv.c990 struct scsi_cmnd *scmnd, in storvsc_handle_error() argument
1005 set_host_byte(scmnd, DID_NO_CONNECT); in storvsc_handle_error()
1018 set_host_byte(scmnd, DID_REQUEUE); in storvsc_handle_error()
1037 switch (scmnd->cmnd[0]) { in storvsc_handle_error()
1040 set_host_byte(scmnd, DID_PASSTHROUGH); in storvsc_handle_error()
1050 set_host_byte(scmnd, DID_ERROR); in storvsc_handle_error()
1061 set_host_byte(scmnd, DID_TARGET_FAILURE); in storvsc_handle_error()
1076 struct scsi_cmnd *scmnd = cmd_request->cmd; in storvsc_command_completion() local
1089 scmnd->result = vm_srb->scsi_status; in storvsc_command_completion()
1091 if (scmnd->result) { in storvsc_command_completion()
[all …]
Dvirtio_scsi.c736 static enum blk_eh_timer_return virtscsi_eh_timed_out(struct scsi_cmnd *scmnd) in virtscsi_eh_timed_out() argument
/kernel/linux/linux-5.10/drivers/infiniband/ulp/srp/
Dib_srp.c1193 static void srp_unmap_data(struct scsi_cmnd *scmnd, in srp_unmap_data() argument
1202 if (!scsi_sglist(scmnd) || in srp_unmap_data()
1203 (scmnd->sc_data_direction != DMA_TO_DEVICE && in srp_unmap_data()
1204 scmnd->sc_data_direction != DMA_FROM_DEVICE)) in srp_unmap_data()
1225 ib_dma_unmap_sg(ibdev, scsi_sglist(scmnd), scsi_sg_count(scmnd), in srp_unmap_data()
1226 scmnd->sc_data_direction); in srp_unmap_data()
1243 struct scsi_cmnd *scmnd) in srp_claim_req() argument
1248 if (req->scmnd && in srp_claim_req()
1249 (!sdev || req->scmnd->device == sdev) && in srp_claim_req()
1250 (!scmnd || req->scmnd == scmnd)) { in srp_claim_req()
[all …]
Dib_srp.h124 struct scsi_cmnd *scmnd; member
/kernel/linux/linux-5.10/drivers/scsi/csiostor/
Dcsio_scsi.c86 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 …]
/kernel/linux/linux-5.10/drivers/s390/scsi/
Dzfcp_dbf.h469 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()
Dzfcp_fsf.c1021 struct zfcp_fsf_req *zfcp_fsf_abort_fcp_cmnd(struct scsi_cmnd *scmnd) in zfcp_fsf_abort_fcp_cmnd() argument
1024 struct scsi_device *sdev = scmnd->device; in zfcp_fsf_abort_fcp_cmnd()
1027 unsigned long old_req_id = (unsigned long) scmnd->host_scribble; in zfcp_fsf_abort_fcp_cmnd()
/kernel/linux/linux-5.10/drivers/scsi/aacraid/
Dlinit.c635 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()