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()
236 struct scsi_cd *cd = cdi->handle; in sr_check_events() local
329 struct scsi_cd *cd = scsi_cd(SCpnt->request->rq_disk); in sr_done() local
391 struct scsi_cd *cd; in sr_init_command() local
517 static void sr_revalidate_disk(struct scsi_cd *cd) in sr_revalidate_disk()
530 struct scsi_cd *cd; in sr_block_open() local
557 struct scsi_cd *cd = scsi_cd(disk); in sr_block_release() local
569 struct scsi_cd *cd = scsi_cd(bdev->bd_disk); in sr_block_ioctl() local
612 struct scsi_cd *cd = scsi_cd(bdev->bd_disk); in sr_block_compat_ioctl() local
657 struct scsi_cd *cd; in sr_block_check_events() local
684 struct scsi_cd *cd = cdi->handle; in sr_open() local
704 struct scsi_cd *cd = cdi->handle; in sr_release() local
715 struct scsi_cd *cd; in sr_probe() local
817 static void get_sectorsize(struct scsi_cd *cd) in get_sectorsize()
896 static void get_capabilities(struct scsi_cd *cd) in get_capabilities()
1009 struct scsi_cd *cd = cdi->handle; in sr_packet() local
1034 struct scsi_cd *cd = container_of(kref, struct scsi_cd, kref); in sr_kref_release() local
1054 struct scsi_cd *cd = dev_get_drvdata(dev); in sr_remove() local