Searched refs:do_door_lock (Results 1 – 2 of 2) sorted by relevance
/drivers/scsi/ |
D | osst.c | 3250 static int do_door_lock(struct osst_tape * STp, int do_lock) in do_door_lock() function 3371 if (STp->do_auto_lock && STp->door_locked == ST_UNLOCKED && !do_door_lock(STp, 1)) in osst_write() 3664 if (STp->do_auto_lock && STp->door_locked == ST_UNLOCKED && !do_door_lock(STp, 1)) in osst_read() 4564 if (do_door_lock(STp, 1)) in __os_scsi_tape_open() 4705 if (do_door_lock(STp, 1)) in __os_scsi_tape_open() 4842 do_door_lock(STp, 0); in os_scsi_tape_close() 5016 do_door_lock(STp, 0); /* Ignore result! */ in osst_ioctl() 5068 retval = do_door_lock(STp, (mtc.mt_op == MTLOCK)); in osst_ioctl()
|
D | st.c | 844 static int do_door_lock(struct scsi_tape * STp, int do_lock) in do_door_lock() function 1383 do_door_lock(STp, 0); in st_release() 1454 !do_door_lock(STp, 1)) in rw_checks() 3439 do_door_lock(STp, 0); /* Ignore result! */ in st_ioctl() 3508 retval = do_door_lock(STp, (mtc.mt_op == MTLOCK)); in st_ioctl()
|