Lines Matching refs:scsi_cd
117 static void get_sectorsize(struct scsi_cd *);
118 static void get_capabilities(struct scsi_cd *);
142 static inline struct scsi_cd *scsi_cd(struct gendisk *disk)
144 return container_of(disk->private_data, struct scsi_cd, driver);
149 struct scsi_cd *cd = dev_get_drvdata(dev);
161 * The get and put routines for the struct scsi_cd. Note this entity
164 static inline struct scsi_cd *scsi_cd_get(struct gendisk *disk)
166 struct scsi_cd *cd = NULL;
171 cd = scsi_cd(disk);
182 static void scsi_cd_put(struct scsi_cd *cd)
238 struct scsi_cd *cd = cdi->handle;
331 struct scsi_cd *cd = scsi_cd(SCpnt->request->rq_disk);
393 struct scsi_cd *cd;
400 cd = scsi_cd(rq->rq_disk);
519 static void sr_revalidate_disk(struct scsi_cd *cd)
532 struct scsi_cd *cd;
559 struct scsi_cd *cd = scsi_cd(disk);
571 struct scsi_cd *cd = scsi_cd(bdev->bd_disk);
614 struct scsi_cd *cd = scsi_cd(bdev->bd_disk);
659 struct scsi_cd *cd;
686 struct scsi_cd *cd = cdi->handle;
706 struct scsi_cd *cd = cdi->handle;
717 struct scsi_cd *cd;
819 static void get_sectorsize(struct scsi_cd *cd)
898 static void get_capabilities(struct scsi_cd *cd)
1011 struct scsi_cd *cd = cdi->handle;
1026 * sr_kref_release - Called to free the scsi_cd structure
1036 struct scsi_cd *cd = container_of(kref, struct scsi_cd, kref);
1056 struct scsi_cd *cd = dev_get_drvdata(dev);