Lines Matching refs:fd_ref
972 if (drive_state[drive].fd_ref == 0 || drive_params[drive].select_delay != 0) in scandrives()
3149 if (drive_state[drive].fd_ref > 1) { in raw_cmd_ioctl()
3153 } else if (drive_state[drive].fd_ref) { in raw_cmd_ioctl()
3449 if (drive_state[drive].fd_ref != 1) in fd_locked_ioctl()
3501 if (drive_state[drive].fd_ref != 1) in fd_locked_ioctl()
3617 compat_int_t fd_ref; member
3800 v.fd_ref = drive_state[drive].fd_ref; in compat_getdrvstat()
3973 if (!drive_state[drive].fd_ref--) { in floppy_release()
3975 drive_state[drive].fd_ref = 0; in floppy_release()
3977 if (!drive_state[drive].fd_ref) in floppy_release()
4002 if (!drive_state[drive].fd_ref && (drive_params[drive].flags & FD_BROKEN_DCL)) { in floppy_open()
4007 drive_state[drive].fd_ref++; in floppy_open()
4075 drive_state[drive].fd_ref--; in floppy_open()
4077 if (!drive_state[drive].fd_ref) in floppy_open()