tag | line | file | source code |
UDRS | 227 | drivers/block/floppy.c | #define UCLEARF(x) (clear_bit(x##_BIT, &UDRS->flags)) |
UDRS | 228 | drivers/block/floppy.c | #define USETF(x) (set_bit(x##_BIT, &UDRS->flags)) |
UDRS | 229 | drivers/block/floppy.c | #define UTESTF(x) (test_bit(x##_BIT, &UDRS->flags)) |
UDRS | 650 | drivers/block/floppy.c | if (jiffies < UDP->select_delay + UDRS->select_date) |
UDRS | 666 | drivers/block/floppy.c | DPRINT1("flags=%x\n",UDRS->flags); |
UDRS | 673 | drivers/block/floppy.c | if (UDRS->maxblock){ |
UDRS | 678 | drivers/block/floppy.c | if (UDRS->keep_data >= 0) { |
UDRS | 690 | drivers/block/floppy.c | UDRS->last_checked=jiffies; |
UDRS | 727 | drivers/block/floppy.c | UDRS->select_date = jiffies; |
UDRS | 758 | drivers/block/floppy.c | (mode || UDRS->track != NEED_1_RECAL)) |
UDRS | 759 | drivers/block/floppy.c | UDRS->track = NEED_2_RECAL; |
UDRS | 859 | drivers/block/floppy.c | delta = jiffies - UDRS->first_read_date + HZ - |
UDRS | 882 | drivers/block/floppy.c | if (UDRS->fd_ref == 0 || UDP->select_delay != 0) |
UDRS | 2968 | drivers/block/floppy.c | if (UDRS->fd_ref > 1){ |
UDRS | 2972 | drivers/block/floppy.c | } else if (UDRS->fd_ref){ |
UDRS | 3228 | drivers/block/floppy.c | UDRS->keep_data = 0; |
UDRS | 3253 | drivers/block/floppy.c | if (UDRS->fd_ref != 1) |
UDRS | 3281 | drivers/block/floppy.c | OUT(FDGETDRVSTAT, UDRS); |
UDRS | 3380 | drivers/block/floppy.c | if (!UDRS->maxblock) |
UDRS | 3381 | drivers/block/floppy.c | UDRS->maxblock=1;/* make change detectable */ |
UDRS | 3388 | drivers/block/floppy.c | INFBOUND(UDRS->maxblock, block); |
UDRS | 3404 | drivers/block/floppy.c | if (UDRS->fd_ref < 0) |
UDRS | 3405 | drivers/block/floppy.c | UDRS->fd_ref=0; |
UDRS | 3406 | drivers/block/floppy.c | else if (!UDRS->fd_ref--) { |
UDRS | 3408 | drivers/block/floppy.c | UDRS->fd_ref = 0; |
UDRS | 3440 | drivers/block/floppy.c | old_dev = UDRS->fd_device; |
UDRS | 3441 | drivers/block/floppy.c | if (UDRS->fd_ref && old_dev != MINOR(inode->i_rdev)) |
UDRS | 3444 | drivers/block/floppy.c | if (!UDRS->fd_ref && (UDP->flags & FD_BROKEN_DCL)){ |
UDRS | 3449 | drivers/block/floppy.c | if (UDRS->fd_ref == -1 || |
UDRS | 3450 | drivers/block/floppy.c | (UDRS->fd_ref && (filp->f_flags & O_EXCL))) |
UDRS | 3457 | drivers/block/floppy.c | UDRS->fd_ref = -1; |
UDRS | 3459 | drivers/block/floppy.c | UDRS->fd_ref++; |
UDRS | 3488 | drivers/block/floppy.c | UDRS->fd_device = MINOR(inode->i_rdev); |
UDRS | 3507 | drivers/block/floppy.c | UDRS->last_checked = 0; |
UDRS | 3533 | drivers/block/floppy.c | if (UDRS->last_checked + UDP->checkfreq < jiffies){ |
UDRS | 3568 | drivers/block/floppy.c | UDRS->maxblock = 0; |
UDRS | 3569 | drivers/block/floppy.c | UDRS->maxtrack = 0; |
UDRS | 3575 | drivers/block/floppy.c | UDRS->generation++; |
UDRS | 3875 | drivers/block/floppy.c | CLEARSTRUCT(UDRS); |
UDRS | 3877 | drivers/block/floppy.c | UDRS->flags = FD_VERIFY | FD_DISK_NEWCHANGE | FD_DISK_CHANGED; |
UDRS | 3878 | drivers/block/floppy.c | UDRS->fd_device = -1; |