Searched refs:drive_types (Results 1 – 2 of 2) sorted by relevance
230 unsigned drive_types; member754 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()
246 static struct fd_drive_type drive_types[] = { variable254 static int num_dr_types = ARRAY_SIZE(drive_types);1632 if (drive_types[type].code == code) in fd_probe()1638 unit[drive].type = &drive_types[num_dr_types-1]; /* FD_NODRIVE */ in fd_probe()1642 unit[drive].type = drive_types + type; in fd_probe()