Lines Matching refs:sdev
1107 struct scsi_device *sdev, in srp_claim_req() argument
1114 (!sdev || req->scmnd->device == sdev) && in srp_claim_req()
1146 struct scsi_device *sdev, int result) in srp_finish_req() argument
1148 struct scsi_cmnd *scmnd = srp_claim_req(ch, req, sdev, NULL); in srp_finish_req()
1162 struct scsi_device *sdev; in srp_terminate_io() local
1169 shost_for_each_device(sdev, shost) in srp_terminate_io()
1170 WARN_ON_ONCE(sdev->request_queue->request_fn_active); in srp_terminate_io()
2405 srp_change_queue_depth(struct scsi_device *sdev, int qdepth) in srp_change_queue_depth() argument
2407 if (!sdev->tagged_supported) in srp_change_queue_depth()
2409 return scsi_change_queue_depth(sdev, qdepth); in srp_change_queue_depth()
2541 static int srp_slave_configure(struct scsi_device *sdev) in srp_slave_configure() argument
2543 struct Scsi_Host *shost = sdev->host; in srp_slave_configure()
2545 struct request_queue *q = sdev->request_queue; in srp_slave_configure()
2548 if (sdev->type == TYPE_DISK) { in srp_slave_configure()
2755 struct scsi_device *sdev; in srp_sdev_count() local
2758 shost_for_each_device(sdev, host) in srp_sdev_count()