Lines Matching defs:sdev
1214 * @sdev: If not NULL, only take ownership for this SCSI device.
1223 struct scsi_device *sdev,
1230 (!sdev || req->scmnd->device == sdev) &&
1262 struct scsi_device *sdev, int result)
1264 struct scsi_cmnd *scmnd = srp_claim_req(ch, req, sdev, NULL);
2699 * @sdev: scsi device struct
2705 srp_change_queue_depth(struct scsi_device *sdev, int qdepth)
2707 if (!sdev->tagged_supported)
2709 return scsi_change_queue_depth(sdev, qdepth);
2845 static int srp_slave_configure(struct scsi_device *sdev)
2847 struct Scsi_Host *shost = sdev->host;
2849 struct request_queue *q = sdev->request_queue;
2852 if (sdev->type == TYPE_DISK) {
3069 struct scsi_device *sdev;
3072 shost_for_each_device(sdev, host)