Lines Matching refs:sdev
1113 struct scsi_device *sdev, in srp_claim_req() argument
1120 (!sdev || req->scmnd->device == sdev) && in srp_claim_req()
1152 struct scsi_device *sdev, int result) in srp_finish_req() argument
1154 struct scsi_cmnd *scmnd = srp_claim_req(ch, req, sdev, NULL); in srp_finish_req()
1168 struct scsi_device *sdev; in srp_terminate_io() local
1175 shost_for_each_device(sdev, shost) in srp_terminate_io()
1176 WARN_ON_ONCE(sdev->request_queue->request_fn_active); in srp_terminate_io()
2464 srp_change_queue_depth(struct scsi_device *sdev, int qdepth) in srp_change_queue_depth() argument
2466 if (!sdev->tagged_supported) in srp_change_queue_depth()
2468 return scsi_change_queue_depth(sdev, qdepth); in srp_change_queue_depth()
2600 static int srp_slave_configure(struct scsi_device *sdev) in srp_slave_configure() argument
2602 struct Scsi_Host *shost = sdev->host; in srp_slave_configure()
2604 struct request_queue *q = sdev->request_queue; in srp_slave_configure()
2607 if (sdev->type == TYPE_DISK) { in srp_slave_configure()
2810 struct scsi_device *sdev; in srp_sdev_count() local
2813 shost_for_each_device(sdev, host) in srp_sdev_count()