Lines Matching refs:cgc
150 struct cdrom_generic_command __user *cgc; in compat_cdrom_generic_command() local
156 cgc = compat_alloc_user_space(sizeof(*cgc)); in compat_cdrom_generic_command()
159 if (copy_in_user(&cgc->cmd, &cgc32->cmd, sizeof(cgc->cmd)) || in compat_cdrom_generic_command()
161 put_user(compat_ptr(data), &cgc->buffer) || in compat_cdrom_generic_command()
162 copy_in_user(&cgc->buflen, &cgc32->buflen, in compat_cdrom_generic_command()
165 put_user(compat_ptr(data), &cgc->sense) || in compat_cdrom_generic_command()
167 put_user(dir, &cgc->data_direction) || in compat_cdrom_generic_command()
169 put_user(itmp, &cgc->quiet) || in compat_cdrom_generic_command()
171 put_user(itmp, &cgc->timeout) || in compat_cdrom_generic_command()
173 put_user(compat_ptr(data), &cgc->reserved[0])) in compat_cdrom_generic_command()
176 return __blkdev_driver_ioctl(bdev, mode, cmd, (unsigned long)cgc); in compat_cdrom_generic_command()