tag | line | file | source code |
UDRS | 174 | drivers/block/floppy.c | #define UCLEARF(x) (clear_bit(x##_BIT, &UDRS->flags)) |
UDRS | 175 | drivers/block/floppy.c | #define USETF(x) (set_bit(x##_BIT, &UDRS->flags)) |
UDRS | 176 | drivers/block/floppy.c | #define UTESTF(x) (test_bit(x##_BIT, &UDRS->flags)) |
UDRS | 523 | drivers/block/floppy.c | if(jiffies < UDP->select_delay + UDRS->select_date) |
UDRS | 539 | drivers/block/floppy.c | DPRINT1("flags=%x\n",UDRS->flags); |
UDRS | 546 | drivers/block/floppy.c | if(UDRS->maxblock){ |
UDRS | 551 | drivers/block/floppy.c | if (UDRS->keep_data >= 0) { |
UDRS | 563 | drivers/block/floppy.c | UDRS->last_checked=jiffies; |
UDRS | 600 | drivers/block/floppy.c | UDRS->select_date = jiffies; |
UDRS | 631 | drivers/block/floppy.c | ( mode || UDRS->track != NEED_1_RECAL)) |
UDRS | 632 | drivers/block/floppy.c | UDRS->track = NEED_2_RECAL; |
UDRS | 730 | drivers/block/floppy.c | delta = jiffies - UDRS->first_read_date + HZ - |
UDRS | 753 | drivers/block/floppy.c | if ( UDRS->fd_ref == 0 || UDP->select_delay != 0) |
UDRS | 2636 | drivers/block/floppy.c | if ( UDRS->fd_ref > 1 ){ |
UDRS | 2640 | drivers/block/floppy.c | } else if ( UDRS->fd_ref ){ |
UDRS | 2756 | drivers/block/floppy.c | return COPYOUT(*UDRS); |
UDRS | 2784 | drivers/block/floppy.c | if (UDRS->fd_ref != 1) |
UDRS | 2796 | drivers/block/floppy.c | UDRS->keep_data = 0; |
UDRS | 2953 | drivers/block/floppy.c | if(!UDRS->maxblock) |
UDRS | 2954 | drivers/block/floppy.c | UDRS->maxblock=1;/* make change detectable */ |
UDRS | 2961 | drivers/block/floppy.c | if(block > UDRS->maxblock) |
UDRS | 2962 | drivers/block/floppy.c | UDRS->maxblock = block; |
UDRS | 2978 | drivers/block/floppy.c | if (UDRS->fd_ref < 0) |
UDRS | 2979 | drivers/block/floppy.c | UDRS->fd_ref=0; |
UDRS | 2980 | drivers/block/floppy.c | else if (!UDRS->fd_ref--) { |
UDRS | 2982 | drivers/block/floppy.c | UDRS->fd_ref = 0; |
UDRS | 3014 | drivers/block/floppy.c | old_dev = UDRS->fd_device; |
UDRS | 3015 | drivers/block/floppy.c | if (UDRS->fd_ref && old_dev != inode->i_rdev) |
UDRS | 3018 | drivers/block/floppy.c | if(!UDRS->fd_ref && (UDP->flags & FD_BROKEN_DCL)){ |
UDRS | 3023 | drivers/block/floppy.c | if(UDRS->fd_ref == -1 || |
UDRS | 3024 | drivers/block/floppy.c | (UDRS->fd_ref && (filp->f_flags & O_EXCL))) |
UDRS | 3031 | drivers/block/floppy.c | UDRS->fd_ref = -1; |
UDRS | 3033 | drivers/block/floppy.c | UDRS->fd_ref++; |
UDRS | 3035 | drivers/block/floppy.c | UDRS->fd_device = inode->i_rdev; |
UDRS | 3055 | drivers/block/floppy.c | UDRS->last_checked = 0; |
UDRS | 3081 | drivers/block/floppy.c | if(UDRS->last_checked + UDP->checkfreq < jiffies){ |
UDRS | 3112 | drivers/block/floppy.c | UDRS->maxblock = 0; |
UDRS | 3113 | drivers/block/floppy.c | UDRS->maxtrack = 0; |
UDRS | 3119 | drivers/block/floppy.c | UDRS->generation++; |
UDRS | 3380 | drivers/block/floppy.c | UDRS->flags = FD_VERIFY | FD_DISK_NEWCHANGE | FD_DISK_CHANGED; |
UDRS | 3381 | drivers/block/floppy.c | UDRS->generation = 0; |
UDRS | 3382 | drivers/block/floppy.c | UDRS->keep_data = 0; |
UDRS | 3383 | drivers/block/floppy.c | UDRS->fd_ref = 0; |
UDRS | 3384 | drivers/block/floppy.c | UDRS->fd_device = 0; |