Home
last modified time | relevance | path

Searched refs:setprm (Results 1 – 1 of 1) sorted by relevance

/linux-6.15/drivers/block/
H A Dataflop.c1596 struct floppy_struct setprm; in fd_locked_ioctl() local
1643 if (copy_from_user(&setprm, argp, sizeof(setprm))) in fd_locked_ioctl()
1655 drive, setprm.size, setprm.sect, setprm.stretch); in fd_locked_ioctl()
1681 if ( dtp->blocks == setprm.size in fd_locked_ioctl()
1682 && dtp->spt == setprm.sect in fd_locked_ioctl()
1683 && dtp->stretch == setprm.stretch ) { in fd_locked_ioctl()
1714 dtp->blocks = setprm.size; in fd_locked_ioctl()
1715 dtp->spt = setprm.sect; in fd_locked_ioctl()
1716 if (setprm.sect > 14) in fd_locked_ioctl()
1720 dtp->stretch = setprm.stretch; in fd_locked_ioctl()
[all …]