Searched refs:FDGC_CURWPROT (Results 1 – 7 of 7) sorted by relevance
65 #define FDGC_CURWPROT 0x10 /* current state of write protect */ macro
210 if (j & FDGC_CURWPROT) in _m_get_media_status()
360 if (chgd & FDGC_CURWPROT) { in format_floppy()
271 *wprot = ((chg & FDGC_CURWPROT) != NULL); in check_floppy()
1684 cpy.temp |= FDGC_CURWPROT; in fd_ioctl()1686 cpy.temp &= ~FDGC_CURWPROT; in fd_ioctl()
838 if (chgd & FDGC_CURWPROT) { in format_diskette()
2358 cpy.temp |= FDGC_CURWPROT; in fd_ioctl()