Searched refs:do_lock (Results 1 – 1 of 1) sorted by relevance
920 static int do_door_lock(struct scsi_tape * STp, int do_lock) in do_door_lock() argument924 DEBC_printk(STp, "%socking drive door.\n", do_lock ? "L" : "Unl"); in do_door_lock()927 do_lock ? SCSI_REMOVAL_PREVENT : SCSI_REMOVAL_ALLOW); in do_door_lock()929 STp->door_locked = do_lock ? ST_LOCKED_EXPLICIT : ST_UNLOCKED; in do_door_lock()