Home
last modified time | relevance | path

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

/linux-6.15/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-6.15/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];
2969 struct floppy_struct *floppy; in drive_name()
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()
3483 offsetof(struct floppy_struct, name)); in fd_locked_ioctl()
3665 struct floppy_struct v; in compat_set_geometry()
3675 memset(&v, 0, sizeof(struct floppy_struct)); in compat_set_geometry()
[all …]
H A Dswim3.c883 static struct floppy_struct floppy_type =
907 sizeof(struct floppy_struct))) in floppy_locked_ioctl()
H A Dataflop.c1594 struct floppy_struct getprm; in fd_locked_ioctl()
1596 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()