Lines Matching refs:setprm
1568 struct floppy_struct setprm; in fd_ioctl() local
1630 if (copy_from_user(&setprm, (void *) param, sizeof(setprm))) in fd_ioctl()
1642 drive, setprm.size, setprm.sect, setprm.stretch); in fd_ioctl()
1668 if ( dtp->blocks == setprm.size in fd_ioctl()
1669 && dtp->spt == setprm.sect in fd_ioctl()
1670 && dtp->stretch == setprm.stretch ) { in fd_ioctl()
1701 dtp->blocks = setprm.size; in fd_ioctl()
1702 dtp->spt = setprm.sect; in fd_ioctl()
1703 if (setprm.sect > 14) in fd_ioctl()
1707 dtp->stretch = setprm.stretch; in fd_ioctl()
1714 if (!dtp || setprm.track != dtp->blocks/dtp->spt/2 || in fd_ioctl()
1715 setprm.head != 2) { in fd_ioctl()