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()
208 struct scsi_cd *cd = cdi->handle; in sr_check_events()
302 struct scsi_cd *cd = scsi_cd(rq->q->disk); in sr_done()
362 struct scsi_cd *cd; in sr_init_command()
369 cd = scsi_cd(rq->q->disk); in sr_init_command()
476 static void sr_revalidate_disk(struct scsi_cd *cd) in sr_revalidate_disk()
489 struct scsi_cd *cd = scsi_cd(disk); in sr_block_open()
512 struct scsi_cd *cd = scsi_cd(disk); in sr_block_release()
524 struct scsi_cd *cd = scsi_cd(bdev->bd_disk); in sr_block_ioctl()
558 struct scsi_cd *cd = disk->private_data; in sr_block_check_events()
567 struct scsi_cd *cd = disk->private_data; in sr_free_disk()
591 struct scsi_cd *cd = cdi->handle; in sr_open()
612 struct scsi_cd *cd; in sr_probe()
717 static void get_sectorsize(struct scsi_cd *cd) in get_sectorsize()
796 static int get_capabilities(struct scsi_cd *cd) in get_capabilities()
910 struct scsi_cd *cd = cdi->handle; in sr_packet()
976 struct scsi_cd *cd = dev_get_drvdata(dev); in sr_remove()