Lines Matching defs:cd
149 struct scsi_cd *cd = dev_get_drvdata(dev); in sr_runtime_suspend() local
166 struct scsi_cd *cd = NULL; in scsi_cd_get() local
182 static void scsi_cd_put(struct scsi_cd *cd) in scsi_cd_put()
238 struct scsi_cd *cd = cdi->handle; in sr_check_events() local
331 struct scsi_cd *cd = scsi_cd(SCpnt->request->rq_disk); in sr_done() local
393 struct scsi_cd *cd; in sr_init_command() local
519 static void sr_revalidate_disk(struct scsi_cd *cd) in sr_revalidate_disk()
532 struct scsi_cd *cd; in sr_block_open() local
559 struct scsi_cd *cd = scsi_cd(disk); in sr_block_release() local
571 struct scsi_cd *cd = scsi_cd(bdev->bd_disk); in sr_block_ioctl() local
614 struct scsi_cd *cd = scsi_cd(bdev->bd_disk); in sr_block_compat_ioctl() local
659 struct scsi_cd *cd; in sr_block_check_events() local
686 struct scsi_cd *cd = cdi->handle; in sr_open() local
706 struct scsi_cd *cd = cdi->handle; in sr_release() local
717 struct scsi_cd *cd; in sr_probe() local
819 static void get_sectorsize(struct scsi_cd *cd) in get_sectorsize()
898 static void get_capabilities(struct scsi_cd *cd) in get_capabilities()
1011 struct scsi_cd *cd = cdi->handle; in sr_packet() local
1036 struct scsi_cd *cd = container_of(kref, struct scsi_cd, kref); in sr_kref_release() local
1056 struct scsi_cd *cd = dev_get_drvdata(dev); in sr_remove() local