Lines Matching refs:scsi_cd
115 static void get_sectorsize(struct scsi_cd *);
116 static int get_capabilities(struct scsi_cd *);
141 static inline struct scsi_cd *scsi_cd(struct gendisk *disk) in scsi_cd() function
148 struct scsi_cd *cd = dev_get_drvdata(dev); in sr_runtime_suspend()
205 struct scsi_cd *cd = cdi->handle; in sr_check_events()
299 struct scsi_cd *cd = scsi_cd(rq->q->disk); in sr_done()
359 struct scsi_cd *cd; in sr_init_command()
366 cd = scsi_cd(rq->q->disk); in sr_init_command()
473 static void sr_revalidate_disk(struct scsi_cd *cd) in sr_revalidate_disk()
486 struct scsi_cd *cd = scsi_cd(bdev->bd_disk); in sr_block_open()
509 struct scsi_cd *cd = scsi_cd(disk); in sr_block_release()
521 struct scsi_cd *cd = scsi_cd(bdev->bd_disk); in sr_block_ioctl()
555 struct scsi_cd *cd = disk->private_data; in sr_block_check_events()
564 struct scsi_cd *cd = disk->private_data; in sr_free_disk()
588 struct scsi_cd *cd = cdi->handle; in sr_open()
614 struct scsi_cd *cd; in sr_probe()
719 static void get_sectorsize(struct scsi_cd *cd) in get_sectorsize()
798 static int get_capabilities(struct scsi_cd *cd) in get_capabilities()
912 struct scsi_cd *cd = cdi->handle; in sr_packet()
978 struct scsi_cd *cd = dev_get_drvdata(dev); in sr_remove()