Searched refs:scmnd (Results 1 – 5 of 5) sorted by relevance
/linux-2.6.39/drivers/staging/hv/ |
D | storvsc_drv.c | 69 static int storvsc_queuecommand(struct Scsi_Host *shost, struct scsi_cmnd *scmnd); 72 static int storvsc_host_reset_handler(struct scsi_cmnd *scmnd); 340 struct scsi_cmnd *scmnd = cmd_request->cmd; in storvsc_commmand_completion() local 342 (struct host_device_context *)scmnd->device->host->hostdata; in storvsc_commmand_completion() 357 copy_from_bounce_buffer(scsi_sglist(scmnd), in storvsc_commmand_completion() 359 scsi_sg_count(scmnd)); in storvsc_commmand_completion() 364 scmnd->result = request->status; in storvsc_commmand_completion() 366 if (scmnd->result) { in storvsc_commmand_completion() 367 if (scsi_normalize_sense(scmnd->sense_buffer, in storvsc_commmand_completion() 373 scsi_set_resid(scmnd, in storvsc_commmand_completion() [all …]
|
/linux-2.6.39/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 551 static void srp_unmap_data(struct scsi_cmnd *scmnd, in srp_unmap_data() argument 558 if (!scsi_sglist(scmnd) || in srp_unmap_data() 559 (scmnd->sc_data_direction != DMA_TO_DEVICE && in srp_unmap_data() 560 scmnd->sc_data_direction != DMA_FROM_DEVICE)) in srp_unmap_data() 567 ib_dma_unmap_sg(ibdev, scsi_sglist(scmnd), scsi_sg_count(scmnd), in srp_unmap_data() 568 scmnd->sc_data_direction); in srp_unmap_data() 576 srp_unmap_data(req->scmnd, target, req); in srp_remove_req() 579 req->scmnd = NULL; in srp_remove_req() 586 req->scmnd->result = DID_RESET << 16; in srp_reset_req() 587 req->scmnd->scsi_done(req->scmnd); in srp_reset_req() [all …]
|
D | ib_srp.h | 117 struct scsi_cmnd *scmnd; member
|
/linux-2.6.39/drivers/s390/scsi/ |
D | zfcp_dbf.h | 369 void zfcp_dbf_scsi_devreset(char *tag, struct scsi_cmnd *scmnd, u8 flag) in zfcp_dbf_scsi_devreset() argument 379 _zfcp_dbf_scsi(tmp_tag, 1, scmnd, NULL); in zfcp_dbf_scsi_devreset()
|
D | zfcp_fsf.c | 832 struct zfcp_fsf_req *zfcp_fsf_abort_fcp_cmnd(struct scsi_cmnd *scmnd) in zfcp_fsf_abort_fcp_cmnd() argument 835 struct scsi_device *sdev = scmnd->device; in zfcp_fsf_abort_fcp_cmnd() 838 unsigned long old_req_id = (unsigned long) scmnd->host_scribble; in zfcp_fsf_abort_fcp_cmnd() 1994 struct scsi_cmnd *scmnd = req->data; in zfcp_fsf_fcp_handler_common() local 1995 struct scsi_device *sdev = scmnd->device; in zfcp_fsf_fcp_handler_common() 2266 struct zfcp_fsf_req *zfcp_fsf_fcp_task_mgmt(struct scsi_cmnd *scmnd, in zfcp_fsf_fcp_task_mgmt() argument 2271 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(scmnd->device); in zfcp_fsf_fcp_task_mgmt() 2291 req->data = scmnd; in zfcp_fsf_fcp_task_mgmt() 2302 zfcp_fc_scsi_to_fcp(fcp_cmnd, scmnd, tm_flags); in zfcp_fsf_fcp_task_mgmt()
|