Searched refs:fdc_nhead (Results 1 – 7 of 7) sorted by relevance
105 med_info->sm_capacity = fdchar.fdc_ncyl * fdchar.fdc_nhead in _m_get_media_info()108 med_info->sm_nhead = fdchar.fdc_nhead; in _m_get_media_info()259 cyl = r_p->offset/(fdchar.fdc_nhead * fdchar.fdc_secptrack); in _m_raw_read()260 rem = r_p->offset%(fdchar.fdc_nhead * fdchar.fdc_secptrack); in _m_raw_read()332 cyl = r_p->offset/(fdchar.fdc_nhead * fdchar.fdc_secptrack); in _m_raw_write()333 rem = r_p->offset%(fdchar.fdc_nhead * fdchar.fdc_secptrack); in _m_raw_write()
165 size_of_dev = fdchar.fdc_ncyl * fdchar.fdc_nhead in format_floppy()380 end_head = fdchar.fdc_nhead; in format_floppy()386 if ((end_cyl > num_cyl) || (end_head > fdchar.fdc_nhead)) { in format_floppy()483 if (fdchar.fdc_nhead == end_head) { in format_floppy()
907 fjp->fj_chars->fdc_nhead = label->dkl_nhead; in fdgetlabel()947 fjp->fj_chars->fdc_ncyl, fjp->fj_chars->fdc_nhead, in fdgetlabel()1168 secpcyl = chp->fdc_nhead * chp->fdc_secptrack; in fdstart()1328 cpy.dkg.dkg_nhead = fjp->fj_chars->fdc_nhead; in fd_ioctl()1346 fjp->fj_chars->fdc_nhead = cpy.dkg.dkg_nhead; in fd_ioctl()1363 nblks = fjp->fj_chars->fdc_nhead * fjp->fj_chars->fdc_secptrack; in fd_ioctl()1450 nblks = fjp->fj_chars->fdc_nhead * in fd_ioctl()1799 spc = fjp->fj_chars->fdc_nhead * spt; /* sec/cyl */ in fd_ioctl()1908 nblks = (fjp->fj_chars->fdc_nhead * fjp->fj_chars->fdc_secptrack * in fd_build_label_vtoc()1982 labelp->dkl_nhead = fjp->fj_chars->fdc_nhead; in fd_build_label_vtoc()[all …]
41 int fdc_nhead; /* number of heads */ member
524 size_of_dev = fdchar.fdc_ncyl * fdchar.fdc_nhead in format_diskette()886 for (hd = 0; hd < fdchar.fdc_nhead; hd++) { in format_diskette()1510 totalsec = fdchar.fdc_ncyl * fdchar.fdc_nhead * fdchar.fdc_secptrack; in write_DOS_label()1515 bpb->b_nhead[0] = fdchar.fdc_nhead; in write_DOS_label()
1959 cpy.dkg.dkg_nhead = un->un_chars->fdc_nhead; in fd_ioctl()2125 (un->un_chars->fdc_nhead == 0) || in fd_ioctl()2189 if ((cpy.fdchar.fdc_nhead < 1) || in fd_ioctl()2190 (cpy.fdchar.fdc_nhead > 2)) { in fd_ioctl()2193 cpy.fdchar.fdc_nhead)); in fd_ioctl()2492 spc = un->un_chars->fdc_nhead * spt; /* sec/cyl */ in fd_ioctl()3215 * ch->fdc_nhead); in fdstart()3229 secpcyl = ch->fdc_nhead * ch->fdc_secptrack; in fdstart()5717 nblks = (un->un_chars->fdc_nhead * un->un_chars->fdc_secptrack * in fd_build_user_vtoc()5761 nblks = (un->un_chars->fdc_nhead * un->un_chars->fdc_secptrack * in fd_build_label_vtoc()[all …]
1220 hds = fdchar->fdc_nhead; in lookup_floppy()2482 fdchar.fdc_nhead = dg.dkg_nhead; in open_and_seek()