Searched refs:tray_open (Results 1 – 7 of 7) sorted by relevance
60 return !s->tray_open && s->nb_sectors > 0; in media_present()575 if (s->tray_open) { in event_status_media()1081 if (!start && !s->tray_open && s->tray_locked) { in cmd_start_stop_unit()1088 if (s->tray_open != !start) { in cmd_start_stop_unit()1090 s->tray_open = !start; in cmd_start_stop_unit()1336 !s->tray_open && blk_is_inserted(s->blk) && s->cdrom_changed) { in ide_atapi_cmd()
1198 s->tray_open = !load; in ide_cd_change_cb()1397 s->tray_open = 0; in ide_reset()2564 return ((IDEState *)opaque)->tray_open; in ide_cd_is_tray_open()2908 return s->tray_open || s->tray_locked; in ide_tray_state_needed()2944 VMSTATE_BOOL(tray_open, IDEState),
98 bool tray_open; member
116 bool tray_open; member1039 if (s->tray_open) { in scsi_event_status_media()1506 if (!start && !s->tray_open && s->tray_locked) { in scsi_disk_emulate_start_stop()1514 if (s->tray_open != !start) { in scsi_disk_emulate_start_stop()1516 s->tray_open = !start; in scsi_disk_emulate_start_stop()2415 s->tray_open = 0; in scsi_disk_reset()2461 s->tray_open = !load; in scsi_cd_change_media_cb()2479 return ((SCSIDiskState *)opaque)->tray_open; in scsi_cd_is_tray_open()3242 VMSTATE_BOOL(tray_open, SCSIDiskState),
654 info->tray_open ? "open" : "closed"); in print_block_info()
444 info->tray_open = blk_dev_is_tray_open(blk); in bdrv_query_info()
705 # @tray_open: True if the device's tray is open (only present if it721 '*tray_open': 'bool', '*io-status': 'BlockDeviceIoStatus' } }