Searched refs:setprm (Results 1 – 1 of 1) sorted by relevance
1595 struct floppy_struct setprm; in fd_locked_ioctl() local1642 if (copy_from_user(&setprm, argp, sizeof(setprm))) in fd_locked_ioctl()1654 drive, setprm.size, setprm.sect, setprm.stretch); in fd_locked_ioctl()1680 if ( dtp->blocks == setprm.size in fd_locked_ioctl()1681 && dtp->spt == setprm.sect in fd_locked_ioctl()1682 && dtp->stretch == setprm.stretch ) { in fd_locked_ioctl()1713 dtp->blocks = setprm.size; in fd_locked_ioctl()1714 dtp->spt = setprm.sect; in fd_locked_ioctl()1715 if (setprm.sect > 14) in fd_locked_ioctl()1719 dtp->stretch = setprm.stretch; in fd_locked_ioctl()[all …]