Searched refs:setprm (Results 1 – 1 of 1) sorted by relevance
1570 struct floppy_struct setprm; in fd_locked_ioctl() local1617 if (copy_from_user(&setprm, argp, sizeof(setprm))) in fd_locked_ioctl()1629 drive, setprm.size, setprm.sect, setprm.stretch); in fd_locked_ioctl()1654 if ( dtp->blocks == setprm.size in fd_locked_ioctl()1655 && dtp->spt == setprm.sect in fd_locked_ioctl()1656 && dtp->stretch == setprm.stretch ) { in fd_locked_ioctl()1687 dtp->blocks = setprm.size; in fd_locked_ioctl()1688 dtp->spt = setprm.sect; in fd_locked_ioctl()1689 if (setprm.sect > 14) in fd_locked_ioctl()1693 dtp->stretch = setprm.stretch; in fd_locked_ioctl()[all …]