Home
last modified time | relevance | path

Searched refs:drv_write_prot (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/scsi/
Dst.h164 unsigned char drv_write_prot; member
Dst.c1150 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()
/Linux-v5.4/drivers/ide/
Dide-tape.c215 char drv_write_prot; member
1407 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()