Searched refs:CDC_LOCK (Results 1 – 3 of 3) sorted by relevance
608 ENSURE(cdo, lock_door, CDC_LOCK); in register_cdrom()1126 if (CDROM_CAN(CDC_LOCK) && (cdi->options & CDO_LOCK)) { in open_for_data()1140 if (CDROM_CAN(CDC_LOCK) && cdi->options & CDO_LOCK) { in open_for_data()1191 if (CDROM_CAN(CDC_LOCK) && cdi->options & CDO_LOCK) { in cdrom_open()1273 if ((cdo->capability & CDC_LOCK) && !cdi->keeplocked) { in cdrom_release()2336 if (CDROM_CAN(CDC_LOCK)) { in cdrom_ioctl_eject()2413 if (!CDROM_CAN(CDC_LOCK)) in cdrom_ioctl_set_options()2489 if (!CDROM_CAN(CDC_LOCK)) in cdrom_ioctl_lock_door()3526 CDC_LOCK, info, &pos, CTL_CAPABILITY)) in cdrom_sysctl_info()3598 if (lockdoor && CDROM_CAN(CDC_LOCK)) in cdrom_update_settings()
748 gd.cd_info->mask = CDC_CLOSE_TRAY|CDC_OPEN_TRAY|CDC_LOCK| in probe_gdrom_setupcd()
375 #define CDC_LOCK 0x4 /* disable manual eject */ macro