Searched refs:FDGC_CURRENT (Results 1 – 8 of 8) sorted by relevance
426 if (!(ival & FDGC_CURRENT)) { in floppy_in_drive()572 if (!(rval & FDGC_CURRENT)) { in query()579 if (rval & FDGC_CURRENT) { in query()
62 #define FDGC_CURRENT 0x02 /* current state of disk change */ macro
350 if (chgd & FDGC_CURRENT) { in format_floppy()
270 if ((ioctl(fd, FDGETCHANGE, &chg) == 0) && !(chg & FDGC_CURRENT)) { in check_floppy()
510 if (fdc & FDGC_CURRENT) { in main()
1667 cpy.temp |= FDGC_CURRENT; in fd_ioctl()1679 cpy.temp &= ~FDGC_CURRENT; in fd_ioctl()1683 cpy.temp &= ~(FDGC_DETECTED | FDGC_CURRENT); in fd_ioctl()
2307 cpy.temp |= FDGC_CURRENT; in fd_ioctl()2309 cpy.temp &= ~FDGC_CURRENT; in fd_ioctl()2320 cpy.temp |= FDGC_CURRENT; in fd_ioctl()2327 cpy.temp &= ~FDGC_CURRENT; in fd_ioctl()2331 cpy.temp &= ~FDGC_CURRENT; in fd_ioctl()2352 if (un->un_ejected && !(cpy.temp & FDGC_CURRENT)) { in fd_ioctl()
828 if (chgd & FDGC_CURRENT) { in format_diskette()