Lines Matching refs:sdev
99 static int mptfc_slave_alloc(struct scsi_device *sdev);
192 struct scsi_device *sdev = SCpnt->device; in mptfc_block_error_handler() local
193 struct Scsi_Host *shost = sdev->host; in mptfc_block_error_handler()
194 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in mptfc_block_error_handler()
576 mptfc_dump_lun_info(MPT_ADAPTER *ioc, struct fc_rport *rport, struct scsi_device *sdev, in mptfc_dump_lun_info() argument
589 sdev->host->host_no, in mptfc_dump_lun_info()
591 sdev->id, ri->pg0.CurrentTargetID, in mptfc_dump_lun_info()
605 mptfc_slave_alloc(struct scsi_device *sdev) in mptfc_slave_alloc() argument
614 starget = scsi_target(sdev); in mptfc_slave_alloc()
620 hd = shost_priv(sdev->host); in mptfc_slave_alloc()
631 sdev->hostdata = vdevice; in mptfc_slave_alloc()
640 vdevice->lun = sdev->lun; in mptfc_slave_alloc()
645 mptfc_dump_lun_info(ioc, rport, sdev, vtarget); in mptfc_slave_alloc()