Lines Matching defs:fdchar
148 static void lookup_floppy(struct fd_char *fdchar, bpb_t *wbpb);
1235 lookup_floppy(struct fd_char *fdchar, bpb_t *wbpb)
1240 cyls = fdchar->fdc_ncyl;
1241 diam = fdchar->fdc_medium;
1242 spt = fdchar->fdc_secptrack;
1243 hds = fdchar->fdc_nhead;
1949 struct fd_char fdchar;
1962 if (ioctl(fd, FDIOGCHAR, &fdchar) != -1) {
1970 fdchar.fdc_medium = 3;
1973 lookup_floppy(&fdchar, &compare);
2256 struct fd_char fdchar;
2369 } else if (ioctl(fd, FDIOGCHAR, &fdchar) == -1) {
2387 fdchar.fdc_ncyl = dg.dkg_ncyl;
2388 fdchar.fdc_medium = 3;
2389 fdchar.fdc_secptrack = dg.dkg_nsect;
2390 fdchar.fdc_nhead = dg.dkg_nhead;
2391 lookup_floppy(&fdchar, wbpb);
2400 fdchar.fdc_medium = 3;
2402 lookup_floppy(&fdchar, wbpb);