IDE_DFLAG_WP 333 drivers/ide/ide-floppy.c drive->dev_flags |= IDE_DFLAG_WP; IDE_DFLAG_WP 335 drivers/ide/ide-floppy.c drive->dev_flags &= ~IDE_DFLAG_WP; IDE_DFLAG_WP 337 drivers/ide/ide-floppy.c set_disk_ro(disk, !!(drive->dev_flags & IDE_DFLAG_WP)); IDE_DFLAG_WP 217 drivers/ide/ide-gd.c if ((drive->dev_flags & IDE_DFLAG_WP) && (mode & FMODE_WRITE)) {