Home
last modified time | relevance | path

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

/linux/include/uapi/linux/
H A Dfd.h14 struct floppy_struct { struct
52 #define FDSETPRM _IOW(2, 0x42, struct floppy_struct) argument
56 #define FDDEFPRM _IOW(2, 0x43, struct floppy_struct)
57 #define FDGETPRM _IOR(2, 0x04, struct floppy_struct)
/linux/drivers/block/
H A Dswim.c558 static struct floppy_struct floppy_type[4] = {
566 struct floppy_struct **g) in get_floppy_geometry()
588 struct floppy_struct *g; in setup_medium()
707 sizeof(struct floppy_struct))) in floppy_ioctl()
717 struct floppy_struct *g; in floppy_getgeo()
H A Dfloppy.c440 static struct floppy_struct floppy_type[32] = {
483 static struct floppy_struct *current_type[N_DRIVE];
489 static struct floppy_struct user_params[N_DRIVE];
587 static struct floppy_struct *_floppy = floppy_type;
2969 struct floppy_struct *floppy; in drive_name()
3227 static int set_geometry(unsigned int cmd, struct floppy_struct *g, in set_geometry()
3349 static int get_floppy_geometry(int drive, int type, struct floppy_struct **g) in get_floppy_geometry()
3370 struct floppy_struct *g; in fd_getgeo()
3409 struct floppy_struct g; /* geometry */ in fd_locked_ioctl()
3479 (struct floppy_struct **)&outparam); in fd_locked_ioctl()
[all …]
H A Dswim3.c882 static struct floppy_struct floppy_type =
906 sizeof(struct floppy_struct))) in floppy_locked_ioctl()
H A Dataflop.c1593 struct floppy_struct getprm; in fd_locked_ioctl()
1595 struct floppy_struct setprm; in fd_locked_ioctl()
H A Damiflop.c1541 static struct floppy_struct getprm; in fd_locked_ioctl()
1587 if (copy_to_user(argp, &getprm, sizeof(struct floppy_struct))) in fd_locked_ioctl()