write_prot 192 drivers/block/swim3.c int write_prot; /* 1 if write-protected, 0 if not, -1 dunno */ write_prot 334 drivers/block/swim3.c if (fs->write_prot < 0) write_prot 335 drivers/block/swim3.c fs->write_prot = swim3_readbit(fs, WRITE_PROT); write_prot 336 drivers/block/swim3.c if (fs->write_prot) { write_prot 925 drivers/block/swim3.c fs->write_prot = -1; write_prot 954 drivers/block/swim3.c if (fs->write_prot < 0) write_prot 955 drivers/block/swim3.c fs->write_prot = swim3_readbit(fs, WRITE_PROT); write_prot 956 drivers/block/swim3.c if (fs->write_prot) write_prot 1028 drivers/block/swim3.c fs->write_prot = -1; write_prot 217 drivers/ide/ide-tape.c char write_prot; write_prot 1194 drivers/ide/ide-tape.c if (tape->write_prot) write_prot 1278 drivers/ide/ide-tape.c if (tape->write_prot) write_prot 1516 drivers/ide/ide-tape.c tape->write_prot = 1; write_prot 1518 drivers/ide/ide-tape.c tape->write_prot = tape->drv_write_prot; write_prot 1521 drivers/ide/ide-tape.c if (tape->write_prot) { write_prot 189 drivers/scsi/sd.c wce = (ct & 0x02) && !sdkp->write_prot ? 1 : 0; write_prot 1355 drivers/scsi/sd.c if (sdev->removable || sdkp->write_prot) write_prot 1370 drivers/scsi/sd.c if (sdkp->write_prot && (mode & FMODE_WRITE)) write_prot 2586 drivers/scsi/sd.c int old_wp = sdkp->write_prot; write_prot 2625 drivers/scsi/sd.c sdkp->write_prot = ((data.device_specific & 0x80) != 0); write_prot 2626 drivers/scsi/sd.c set_disk_ro(sdkp->disk, sdkp->write_prot); write_prot 2627 drivers/scsi/sd.c if (sdkp->first_scan || old_wp != sdkp->write_prot) { write_prot 2629 drivers/scsi/sd.c sdkp->write_prot ? "on" : "off"); write_prot 2773 drivers/scsi/sd.c if (sdkp->WCE && sdkp->write_prot) write_prot 3368 drivers/scsi/sd.c sdkp->write_prot = 0; write_prot 96 drivers/scsi/sd.h u8 write_prot; write_prot 1096 drivers/scsi/st.c STp->write_prot = 0; write_prot 1196 drivers/scsi/st.c STp->write_prot = 1; write_prot 1301 drivers/scsi/st.c STp->write_prot = ((filp->f_flags & O_ACCMODE) == O_RDONLY); write_prot 1653 drivers/scsi/st.c if (STp->write_prot) { write_prot 2806 drivers/scsi/st.c if (STp->write_prot) write_prot 2880 drivers/scsi/st.c if (STp->write_prot) write_prot 163 drivers/scsi/st.h unsigned char write_prot;