Home
last modified time | relevance | path

Searched refs:drive_types (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/block/
Dataflop.c230 unsigned drive_types; member
754 minor2disktype[type].drive_types > DriveType) { in do_format()
1555 if (minor2disktype[type].drive_types > DriveType) { in ataflop_queue_rq()
1603 if (minor2disktype[type].drive_types > DriveType) in fd_locked_ioctl()
1672 if (minor2disktype[settype].drive_types > DriveType) { in fd_locked_ioctl()
Damiflop.c246 static struct fd_drive_type drive_types[] = { variable
254 static int num_dr_types = ARRAY_SIZE(drive_types);
1633 if (drive_types[type].code == code) in fd_probe()
1639 unit[drive].type = &drive_types[num_dr_types-1]; /* FD_NODRIVE */ in fd_probe()
1643 unit[drive].type = drive_types + type; in fd_probe()