Lines Matching refs:fd_ref
974 if (UDRS->fd_ref == 0 || UDP->select_delay != 0)
3243 if (UDRS->fd_ref > 1){
3247 } else if (UDRS->fd_ref){
3317 drive_state[cnt].fd_ref)
3328 drive_state[cnt].fd_ref)
3509 if (UDRS->fd_ref != 1)
3556 if (UDRS->fd_ref != 1)
3674 if (UDRS->fd_ref < 0)
3675 UDRS->fd_ref=0;
3676 else if (!UDRS->fd_ref--) {
3677 DPRINT("floppy_release with fd_ref == 0");
3678 UDRS->fd_ref = 0;
3714 if (UDRS->fd_ref && old_dev != MINOR(inode->i_rdev))
3717 if (!UDRS->fd_ref && (UDP->flags & FD_BROKEN_DCL)){
3722 if (UDRS->fd_ref == -1 ||
3723 (UDRS->fd_ref && (filp->f_flags & O_EXCL)))
3730 UDRS->fd_ref = -1;
3732 UDRS->fd_ref++;