Searched refs:scmnd (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/drivers/scsi/ |
D | storvsc_drv.c | 975 struct scsi_cmnd *scmnd, in storvsc_handle_error() argument 997 set_host_byte(scmnd, DID_REQUEUE); in storvsc_handle_error() 1013 set_host_byte(scmnd, DID_REQUEUE); in storvsc_handle_error() 1030 switch (scmnd->cmnd[0]) { in storvsc_handle_error() 1033 set_host_byte(scmnd, DID_PASSTHROUGH); in storvsc_handle_error() 1043 set_host_byte(scmnd, DID_ERROR); in storvsc_handle_error() 1048 set_host_byte(scmnd, DID_NO_CONNECT); in storvsc_handle_error() 1061 set_host_byte(scmnd, DID_BAD_TARGET); in storvsc_handle_error() 1076 struct scsi_cmnd *scmnd = cmd_request->cmd; in storvsc_command_completion() local 1090 scmnd->result = vm_srb->scsi_status; in storvsc_command_completion() [all …]
|
D | virtio_scsi.c | 786 static enum scsi_timeout_action virtscsi_eh_timed_out(struct scsi_cmnd *scmnd) in virtscsi_eh_timed_out() argument
|
D | scsi_debug.c | 268 #define ASSIGN_QUEUED_CMD(scmnd, qc) { (scmnd)->host_scribble = (void *) qc; } argument
|
/linux-6.12.1/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 1176 static void srp_unmap_data(struct scsi_cmnd *scmnd, in srp_unmap_data() argument 1185 if (!scsi_sglist(scmnd) || in srp_unmap_data() 1186 (scmnd->sc_data_direction != DMA_TO_DEVICE && in srp_unmap_data() 1187 scmnd->sc_data_direction != DMA_FROM_DEVICE)) in srp_unmap_data() 1208 ib_dma_unmap_sg(ibdev, scsi_sglist(scmnd), scsi_sg_count(scmnd), in srp_unmap_data() 1209 scmnd->sc_data_direction); in srp_unmap_data() 1226 struct scsi_cmnd *scmnd) in srp_claim_req() argument 1231 if (req->scmnd && in srp_claim_req() 1232 (!sdev || req->scmnd->device == sdev) && in srp_claim_req() 1233 (!scmnd || req->scmnd == scmnd)) { in srp_claim_req() [all …]
|
D | ib_srp.h | 134 struct scsi_cmnd *scmnd; member
|
/linux-6.12.1/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(csio_priv(scmnd)->fc_tm_flags == 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 = csio_priv(scmnd)->fc_tm_flags; in csio_scsi_fcp_cmnd() [all …]
|
/linux-6.12.1/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 | 1042 struct zfcp_fsf_req *zfcp_fsf_abort_fcp_cmnd(struct scsi_cmnd *scmnd) in zfcp_fsf_abort_fcp_cmnd() argument 1045 struct scsi_device *sdev = scmnd->device; in zfcp_fsf_abort_fcp_cmnd() 1048 u64 old_req_id = (u64) scmnd->host_scribble; in zfcp_fsf_abort_fcp_cmnd()
|
/linux-6.12.1/drivers/scsi/aacraid/ |
D | linit.c | 635 static bool fib_count_iter(struct scsi_cmnd *scmnd, void *data) in fib_count_iter() argument 639 switch (aac_priv(scmnd)->owner) { in fib_count_iter()
|