Searched refs:door_locked (Results 1 – 3 of 3) sorted by relevance
213 int door_locked; member1301 if (tape->door_locked) { in idetape_mtioctop()1303 tape->door_locked = DOOR_UNLOCKED; in idetape_mtioctop()1350 tape->door_locked = DOOR_EXPLICITLY_LOCKED; in idetape_mtioctop()1356 tape->door_locked = DOOR_UNLOCKED; in idetape_mtioctop()1533 if (tape->door_locked != DOOR_EXPLICITLY_LOCKED) in idetape_chrdev_open()1534 tape->door_locked = DOOR_LOCKED; in idetape_chrdev_open()1590 if (tape->door_locked == DOOR_LOCKED) { in idetape_chrdev_release()1592 tape->door_locked = DOOR_UNLOCKED; in idetape_chrdev_release()
171 unsigned char door_locked; member
925 STp->door_locked = do_lock ? ST_LOCKED_EXPLICIT : ST_UNLOCKED; in do_door_lock()927 STp->door_locked = ST_LOCK_FAILS; in do_door_lock()1100 STp->door_locked = ST_UNLOCKED; in check_tape()1461 if (STp->door_locked == ST_LOCKED_AUTO) in st_release()1534 if (STp->do_auto_lock && STp->door_locked == ST_UNLOCKED && in rw_checks()1536 STp->door_locked = ST_LOCKED_AUTO; in rw_checks()3639 if (mtc.mt_op == MTOFFL && STp->door_locked != ST_UNLOCKED) in st_ioctl()