Home
last modified time | relevance | path

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

/linux-4.4.14/include/uapi/linux/
Dfd.h13 struct floppy_struct { struct
51 #define FDSETPRM _IOW(2, 0x42, struct floppy_struct) argument
55 #define FDDEFPRM _IOW(2, 0x43, struct floppy_struct)
56 #define FDGETPRM _IOR(2, 0x04, struct floppy_struct)
/linux-4.4.14/drivers/block/
Dswim.c566 static struct floppy_struct floppy_type[4] = {
574 struct floppy_struct **g) in get_floppy_geometry()
596 struct floppy_struct *g; in setup_medium()
712 sizeof(struct floppy_struct))) in floppy_ioctl()
727 struct floppy_struct *g; in floppy_getgeo()
Dfloppy.c448 static struct floppy_struct floppy_type[32] = {
489 static struct floppy_struct *current_type[N_DRIVE];
495 static struct floppy_struct user_params[N_DRIVE];
594 static struct floppy_struct *_floppy = floppy_type;
2996 struct floppy_struct *floppy; in drive_name()
3230 static int set_geometry(unsigned int cmd, struct floppy_struct *g, in set_geometry()
3347 static int get_floppy_geometry(int drive, int type, struct floppy_struct **g) in get_floppy_geometry()
3368 struct floppy_struct *g; in fd_getgeo()
3390 struct floppy_struct g; /* geometry */ in fd_locked_ioctl()
3459 (struct floppy_struct **)&outparam); in fd_locked_ioctl()
Dswim3.c901 static struct floppy_struct floppy_type =
925 sizeof(struct floppy_struct))) in floppy_locked_ioctl()
Dataflop.c1518 struct floppy_struct getprm; in fd_locked_ioctl()
1520 struct floppy_struct setprm; in fd_locked_ioctl()
Damiflop.c1468 static struct floppy_struct getprm; in fd_locked_ioctl()
1515 if (copy_to_user(argp, &getprm, sizeof(struct floppy_struct))) in fd_locked_ioctl()
/linux-4.4.14/block/
Dcompat_ioctl.c326 struct floppy_struct *f; in compat_fd_ioctl()
329 f = karg = kmalloc(sizeof(struct floppy_struct), GFP_KERNEL); in compat_fd_ioctl()
415 struct floppy_struct *f = karg; in compat_fd_ioctl()