Lines Matching defs:sdev
294 struct scsi_device *sdev)
302 if (sdev) {
303 rec->lun_status = atomic_read(&sdev_to_zfcp(sdev)->status);
304 rec->lun = zfcp_scsi_dev_lun(sdev);
314 * @sdev: scsi device involved in the erp_action
321 struct zfcp_port *port, struct scsi_device *sdev,
340 zfcp_dbf_set_common(rec, adapter, port, sdev);
360 * @sdev: scsi device involved in the erp_action
367 struct zfcp_port *port, struct scsi_device *sdev,
373 zfcp_dbf_rec_trig(tag, adapter, port, sdev, want, need);
397 zfcp_dbf_set_common(rec, erp->adapter, erp->port, erp->sdev);
404 if (erp->sdev)
406 atomic_read(&sdev_to_zfcp(erp->sdev)->erp_counter);
650 * @sdev: Pointer to SCSI device as context for this event.
654 void zfcp_dbf_scsi_common(char *tag, int level, struct scsi_device *sdev,
658 (struct zfcp_adapter *) sdev->host->hostdata[0];
685 rec->scsi_id = sdev->id;
686 rec->scsi_lun = (u32)sdev->lun;
687 rec->scsi_lun_64_hi = (u32)(sdev->lun >> 32);