Searched refs:setprm (Results 1 – 1 of 1) sorted by relevance
1520 struct floppy_struct setprm; in fd_locked_ioctl() local1567 if (copy_from_user(&setprm, argp, sizeof(setprm))) in fd_locked_ioctl()1579 drive, setprm.size, setprm.sect, setprm.stretch); in fd_locked_ioctl()1605 if ( dtp->blocks == setprm.size in fd_locked_ioctl()1606 && dtp->spt == setprm.sect in fd_locked_ioctl()1607 && dtp->stretch == setprm.stretch ) { in fd_locked_ioctl()1638 dtp->blocks = setprm.size; in fd_locked_ioctl()1639 dtp->spt = setprm.sect; in fd_locked_ioctl()1640 if (setprm.sect > 14) in fd_locked_ioctl()1644 dtp->stretch = setprm.stretch; in fd_locked_ioctl()[all …]