Home
last modified time | relevance | path

Searched refs:door_locked (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
Dst.h113 unsigned char door_locked; member
Dst.c791 STp->door_locked = ST_UNLOCKED; in check_tape()
1164 if (STp->door_locked == ST_LOCKED_AUTO) in st_release()
1314 if (STp->do_auto_lock && STp->door_locked == ST_UNLOCKED && in st_write()
1316 STp->door_locked = ST_LOCKED_AUTO; in st_write()
1824 if (STp->do_auto_lock && STp->door_locked == ST_UNLOCKED && in st_read()
1826 STp->door_locked = ST_LOCKED_AUTO; in st_read()
2642 STp->door_locked = ST_LOCKED_EXPLICIT; in st_int_ioctl()
2644 STp->door_locked = ST_UNLOCKED; in st_int_ioctl()
2757 STp->door_locked = ST_LOCK_FAILS; in st_int_ioctl()
3196 if (STp->door_locked != ST_UNLOCKED && in st_ioctl()
[all …]
Dosst.c3230 if (STp->do_auto_lock && STp->door_locked == ST_UNLOCKED && in osst_write()
3232 STp->door_locked = ST_LOCKED_AUTO; in osst_write()
3533 if (STp->do_auto_lock && STp->door_locked == ST_UNLOCKED && in osst_read()
3535 STp->door_locked = ST_LOCKED_AUTO; in osst_read()
4182 STp->door_locked = ST_LOCKED_EXPLICIT; in osst_int_ioctl()
4184 STp->door_locked = ST_UNLOCKED; in osst_int_ioctl()
4249 STp->door_locked = ST_LOCK_FAILS; in osst_int_ioctl()
4448 if (STp->door_locked == ST_UNLOCKED) { in os_scsi_tape_open()
4452 STp->door_locked = ST_LOCKED_AUTO; in os_scsi_tape_open()
4545 STp->door_locked = ST_UNLOCKED; in os_scsi_tape_open()
[all …]
Dosst.h579 unsigned char door_locked; member
/linux-2.4.37.9/drivers/ide/
Dide-cd.h99 __u8 door_locked : 1; /* We think that the drive door is locked. */ member
Dide-cd.c2016 CDROM_STATE_FLAGS(drive)->door_locked = lockflag; in cdrom_lockdoor()
2033 if (CDROM_STATE_FLAGS(drive)->door_locked && ejectflag) in cdrom_eject()
2512 if (CDROM_STATE_FLAGS(drive)->door_locked) in ide_cdrom_reset()
2909 CDROM_STATE_FLAGS(drive)->door_locked = 0; in ide_cdrom_setup()
Dide-tape.c1042 int door_locked; member
5501 tape->door_locked = DOOR_EXPLICITLY_LOCKED; in idetape_mtioctop()
5508 tape->door_locked = DOOR_UNLOCKED; in idetape_mtioctop()
5757 if (tape->door_locked != DOOR_EXPLICITLY_LOCKED) in idetape_chrdev_open()
5758 tape->door_locked = DOOR_LOCKED; in idetape_chrdev_open()
5824 if (tape->door_locked == DOOR_LOCKED) { in idetape_chrdev_release()
5827 tape->door_locked = DOOR_UNLOCKED; in idetape_chrdev_release()