Lines Matching defs:sdev
311 struct scsi_device *sdev)
319 if (sdev) {
320 rec->lun_status = atomic_read(&sdev_to_zfcp(sdev)->status);
321 rec->lun = zfcp_scsi_dev_lun(sdev);
331 * @sdev: scsi device involved in the erp_action
338 struct zfcp_port *port, struct scsi_device *sdev,
357 zfcp_dbf_set_common(rec, adapter, port, sdev);
377 * @sdev: scsi device involved in the erp_action
384 struct zfcp_port *port, struct scsi_device *sdev,
390 zfcp_dbf_rec_trig(tag, adapter, port, sdev, want, need);
414 zfcp_dbf_set_common(rec, erp->adapter, erp->port, erp->sdev);
421 if (erp->sdev)
423 atomic_read(&sdev_to_zfcp(erp->sdev)->erp_counter);
667 * @sdev: Pointer to SCSI device as context for this event.
671 void zfcp_dbf_scsi_common(char *tag, int level, struct scsi_device *sdev,
675 (struct zfcp_adapter *) sdev->host->hostdata[0];
702 rec->scsi_id = sdev->id;
703 rec->scsi_lun = (u32)sdev->lun;
704 rec->scsi_lun_64_hi = (u32)(sdev->lun >> 32);