Searched refs:drv_write_prot (Results 1 – 3 of 3) sorted by relevance
164 unsigned char drv_write_prot; member
1150 STp->drv_write_prot = 0; in check_tape()1172 STp->drv_write_prot = ((STp->buffer)->b_data[2] & 0x80) != 0; in check_tape()1195 if (STp->drv_write_prot) { in check_tape()3770 if (STp->drv_write_prot) in st_ioctl()
215 char drv_write_prot; member1407 if (tape->drv_write_prot) in do_idetape_chrdev_ioctl()1458 tape->drv_write_prot = (buf[2] & 0x80) >> 7; in ide_tape_get_bsize_from_bdesc()1461 tape->blk_size, tape->drv_write_prot); in ide_tape_get_bsize_from_bdesc()1518 tape->write_prot = tape->drv_write_prot; in idetape_chrdev_open()