• Home
  • Raw
  • Download

Lines Matching refs:scsi_cd

115 static void get_sectorsize(struct scsi_cd *);
116 static void get_capabilities(struct scsi_cd *);
140 static inline struct scsi_cd *scsi_cd(struct gendisk *disk) in scsi_cd() function
142 return container_of(disk->private_data, struct scsi_cd, driver); in scsi_cd()
147 struct scsi_cd *cd = dev_get_drvdata(dev); in sr_runtime_suspend()
162 static inline struct scsi_cd *scsi_cd_get(struct gendisk *disk) in scsi_cd_get()
164 struct scsi_cd *cd = NULL; in scsi_cd_get()
169 cd = scsi_cd(disk); in scsi_cd_get()
180 static void scsi_cd_put(struct scsi_cd *cd) in scsi_cd_put()
234 struct scsi_cd *cd = cdi->handle; in sr_check_events()
327 struct scsi_cd *cd = scsi_cd(SCpnt->request->rq_disk); in sr_done()
391 struct scsi_cd *cd; in sr_init_command()
398 cd = scsi_cd(rq->rq_disk); in sr_init_command()
526 struct scsi_cd *cd; in sr_block_open()
552 struct scsi_cd *cd = scsi_cd(disk); in sr_block_release()
562 struct scsi_cd *cd = scsi_cd(bdev->bd_disk); in sr_block_ioctl()
605 struct scsi_cd *cd; in sr_block_check_events()
621 struct scsi_cd *cd; in sr_block_revalidate_disk()
654 struct scsi_cd *cd = cdi->handle; in sr_open()
674 struct scsi_cd *cd = cdi->handle; in sr_release()
685 struct scsi_cd *cd; in sr_probe()
781 static void get_sectorsize(struct scsi_cd *cd) in get_sectorsize()
862 static void get_capabilities(struct scsi_cd *cd) in get_capabilities()
975 struct scsi_cd *cd = cdi->handle; in sr_packet()
1000 struct scsi_cd *cd = container_of(kref, struct scsi_cd, kref); in sr_kref_release()
1018 struct scsi_cd *cd = dev_get_drvdata(dev); in sr_remove()