Searched refs:fd_ref (Results 1 - 10 of 10) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/block/
H A Dataflop.c1334 static int fd_ref[4] = { 0,0,0,0 }; variable
1628 if (fd_ref[drive] != 1 && fd_ref[drive] != -1)
1735 if (fd_ref[drive] != 1 && fd_ref[drive] != -1)
1907 if (fd_ref[drive] && old_dev != MINOR(inode->i_rdev))
1910 if (fd_ref[drive] == -1 || (fd_ref[drive] && filp->f_flags & O_EXCL))
1914 fd_ref[drive] = -1;
1916 fd_ref[driv
[all...]
H A Dfloppy.c974 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
[all...]
H A Damiflop.c207 static int fd_ref[4] = { 0,0,0,0 }; variable
1501 if (fd_ref[drive] > 1) {
1621 if (fd_ref[drive])
1646 fd_ref[drive]++;
1678 if (!fd_ref[drive]--) {
1679 printk(KERN_CRIT "floppy_release with fd_ref == 0");
1680 fd_ref[drive] = 0;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/acorn/block/
H A Dfd1772.c1110 static int fd_ref[4]; variable
1507 if (fd_ref[drive])
1511 if (fd_ref[drive] == -1 || (fd_ref[drive] && filp->f_flags & O_EXCL))
1515 fd_ref[drive] = -1;
1517 fd_ref[drive]++;
1544 if (fd_ref[drive] < 0)
1545 fd_ref[drive] = 0;
1546 else if (!fd_ref[drive]--) {
1547 printk("floppy_release with fd_ref
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dfd.h217 int fd_ref; member in struct:floppy_drive_struct
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dfd.h217 int fd_ref; member in struct:floppy_drive_struct
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/parisc/kernel/
H A Dioctl32.c672 int fd_ref; member in struct:floppy_drive_struct32
890 err |= __put_user(f->fd_ref, &((struct floppy_drive_struct32 *)arg)->fd_ref);
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc64/kernel/
H A Dioctl32.c907 int fd_ref; member in struct:floppy_drive_struct32
1125 err |= __put_user(f->fd_ref, &((struct floppy_drive_struct32 *)arg)->fd_ref);
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/x86_64/ia32/
H A Dia32_ioctl.c1007 int fd_ref; member in struct:floppy_drive_struct32
1225 err |= __put_user(f->fd_ref, &((struct floppy_drive_struct32 *)arg)->fd_ref);
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc64/kernel/
H A Dioctl32.c1219 int fd_ref; member in struct:floppy_drive_struct32
1437 err |= __put_user(f->fd_ref, &((struct floppy_drive_struct32 *)arg)->fd_ref);

Completed in 149 milliseconds