Home
last modified time | relevance | path

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

/Linux-v5.15/include/uapi/linux/
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-v5.15/drivers/block/
Dswim.c556 static struct floppy_struct floppy_type[4] = {
564 struct floppy_struct **g) in get_floppy_geometry()
586 struct floppy_struct *g; in setup_medium()
707 sizeof(struct floppy_struct))) in floppy_ioctl()
717 struct floppy_struct *g; in floppy_getgeo()
Dfloppy.c439 static struct floppy_struct floppy_type[32] = {
482 static struct floppy_struct *current_type[N_DRIVE];
488 static struct floppy_struct user_params[N_DRIVE];
588 static struct floppy_struct *_floppy = floppy_type;
2970 struct floppy_struct *floppy; in drive_name()
3193 static int set_geometry(unsigned int cmd, struct floppy_struct *g, in set_geometry()
3314 static int get_floppy_geometry(int drive, int type, struct floppy_struct **g) in get_floppy_geometry()
3335 struct floppy_struct *g; in fd_getgeo()
3375 struct floppy_struct g; /* geometry */ in fd_locked_ioctl()
3444 (struct floppy_struct **)&outparam); in fd_locked_ioctl()
[all …]
Dswim3.c882 static struct floppy_struct floppy_type =
906 sizeof(struct floppy_struct))) in floppy_locked_ioctl()
Dataflop.c1571 struct floppy_struct getprm; in fd_locked_ioctl()
1573 struct floppy_struct setprm; in fd_locked_ioctl()
Damiflop.c1540 static struct floppy_struct getprm; in fd_locked_ioctl()
1587 if (copy_to_user(argp, &getprm, sizeof(struct floppy_struct))) in fd_locked_ioctl()