Lines Matching defs:sdev
1216 * @sdev: If not NULL, only take ownership for this SCSI device.
1225 struct scsi_device *sdev,
1232 (!sdev || req->scmnd->device == sdev) &&
1264 struct scsi_device *sdev, int result)
1266 struct scsi_cmnd *scmnd = srp_claim_req(ch, req, sdev, NULL);
2701 * @sdev: scsi device struct
2707 srp_change_queue_depth(struct scsi_device *sdev, int qdepth)
2709 if (!sdev->tagged_supported)
2711 return scsi_change_queue_depth(sdev, qdepth);
2847 static int srp_slave_configure(struct scsi_device *sdev)
2849 struct Scsi_Host *shost = sdev->host;
2851 struct request_queue *q = sdev->request_queue;
2854 if (sdev->type == TYPE_DISK) {
3092 struct scsi_device *sdev;
3095 shost_for_each_device(sdev, host)