Searched refs:fd_ref (Results 1 – 2 of 2) sorted by relevance
321 static int fd_ref[4] = { 0,0,0,0 }; variable1547 if (fd_ref[drive] > 1) { in fd_locked_ioctl()1668 if (fd_ref[drive] && old_dev != system) { in floppy_open()1697 fd_ref[drive]++; in floppy_open()1724 if (!fd_ref[drive]--) { in floppy_release()1726 fd_ref[drive] = 0; in floppy_release()
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; member3800 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()[all …]