Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/drivers/block/
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()
709 sizeof(struct floppy_struct))) in floppy_ioctl()
719 struct floppy_struct *g; in floppy_getgeo()
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];
588 static struct floppy_struct *_floppy = floppy_type;
2967 struct floppy_struct *floppy; in drive_name()
3223 static int set_geometry(unsigned int cmd, struct floppy_struct *g, in set_geometry()
3344 static int get_floppy_geometry(int drive, int type, struct floppy_struct **g) in get_floppy_geometry()
3365 struct floppy_struct *g; in fd_getgeo()
3404 struct floppy_struct g; /* geometry */ in fd_locked_ioctl()
3473 (struct floppy_struct **)&outparam); in fd_locked_ioctl()
[all …]
Dswim3.c883 static struct floppy_struct floppy_type =
907 sizeof(struct floppy_struct))) in floppy_locked_ioctl()
Dataflop.c1593 struct floppy_struct getprm; in fd_locked_ioctl()
1595 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()