Home
last modified time | relevance | path

Searched refs:do_door_lock (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/scsi/
Dosst.c3326 static int do_door_lock(struct osst_tape * STp, int do_lock) in do_door_lock() function
3447 if (STp->do_auto_lock && STp->door_locked == ST_UNLOCKED && !do_door_lock(STp, 1)) in osst_write()
3740 if (STp->do_auto_lock && STp->door_locked == ST_UNLOCKED && !do_door_lock(STp, 1)) in osst_read()
4640 if (do_door_lock(STp, 1)) in __os_scsi_tape_open()
4783 if (do_door_lock(STp, 1)) in __os_scsi_tape_open()
4920 do_door_lock(STp, 0); in os_scsi_tape_close()
5097 do_door_lock(STp, 0); /* Ignore result! */ in osst_ioctl()
5149 retval = do_door_lock(STp, (mtc.mt_op == MTLOCK)); in osst_ioctl()
Dst.c848 static int do_door_lock(struct scsi_tape * STp, int do_lock) in do_door_lock() function
1403 do_door_lock(STp, 0); in st_release()
1475 !do_door_lock(STp, 1)) in rw_checks()
3466 do_door_lock(STp, 0); /* Ignore result! */ in st_ioctl()
3535 retval = do_door_lock(STp, (mtc.mt_op == MTLOCK)); in st_ioctl()