Searched refs:setprm (Results 1 – 1 of 1) sorted by relevance
1522 struct floppy_struct setprm; in fd_locked_ioctl() local1569 if (copy_from_user(&setprm, argp, sizeof(setprm))) in fd_locked_ioctl()1581 drive, setprm.size, setprm.sect, setprm.stretch); in fd_locked_ioctl()1607 if ( dtp->blocks == setprm.size in fd_locked_ioctl()1608 && dtp->spt == setprm.sect in fd_locked_ioctl()1609 && dtp->stretch == setprm.stretch ) { in fd_locked_ioctl()1640 dtp->blocks = setprm.size; in fd_locked_ioctl()1641 dtp->spt = setprm.sect; in fd_locked_ioctl()1642 if (setprm.sect > 14) in fd_locked_ioctl()1646 dtp->stretch = setprm.stretch; in fd_locked_ioctl()[all …]