Lines Matching refs:cgc32
722 struct compat_cdrom_generic_command cgc32; in scsi_get_cdrom_generic_arg() local
724 if (copy_from_user(&cgc32, arg, sizeof(cgc32))) in scsi_get_cdrom_generic_arg()
728 .buffer = compat_ptr(cgc32.buffer), in scsi_get_cdrom_generic_arg()
729 .buflen = cgc32.buflen, in scsi_get_cdrom_generic_arg()
730 .stat = cgc32.stat, in scsi_get_cdrom_generic_arg()
731 .sense = compat_ptr(cgc32.sense), in scsi_get_cdrom_generic_arg()
732 .data_direction = cgc32.data_direction, in scsi_get_cdrom_generic_arg()
733 .quiet = cgc32.quiet, in scsi_get_cdrom_generic_arg()
734 .timeout = cgc32.timeout, in scsi_get_cdrom_generic_arg()
735 .unused = compat_ptr(cgc32.unused), in scsi_get_cdrom_generic_arg()
737 memcpy(&cgc->cmd, &cgc32.cmd, CDROM_PACKET_SIZE); in scsi_get_cdrom_generic_arg()
752 struct compat_cdrom_generic_command cgc32 = { in scsi_put_cdrom_generic_arg() local
762 memcpy(&cgc32.cmd, &cgc->cmd, CDROM_PACKET_SIZE); in scsi_put_cdrom_generic_arg()
764 if (copy_to_user(arg, &cgc32, sizeof(cgc32))) in scsi_put_cdrom_generic_arg()