Searched refs:fdc_nhead (Results 1 – 7 of 7) sorted by relevance
107 med_info->sm_capacity = fdchar.fdc_ncyl * fdchar.fdc_nhead in _m_get_media_info()110 med_info->sm_nhead = fdchar.fdc_nhead; in _m_get_media_info()261 cyl = r_p->offset/(fdchar.fdc_nhead * fdchar.fdc_secptrack); in _m_raw_read()262 rem = r_p->offset%(fdchar.fdc_nhead * fdchar.fdc_secptrack); in _m_raw_read()334 cyl = r_p->offset/(fdchar.fdc_nhead * fdchar.fdc_secptrack); in _m_raw_write()335 rem = r_p->offset%(fdchar.fdc_nhead * fdchar.fdc_secptrack); in _m_raw_write()
167 size_of_dev = fdchar.fdc_ncyl * fdchar.fdc_nhead in format_floppy()382 end_head = fdchar.fdc_nhead; in format_floppy()388 if ((end_cyl > num_cyl) || (end_head > fdchar.fdc_nhead)) { in format_floppy()485 if (fdchar.fdc_nhead == end_head) { in format_floppy()
43 int fdc_nhead; /* number of heads */ member
901 fjp->fj_chars->fdc_nhead = label->dkl_nhead; in fdgetlabel()941 fjp->fj_chars->fdc_ncyl, fjp->fj_chars->fdc_nhead, in fdgetlabel()1162 secpcyl = chp->fdc_nhead * chp->fdc_secptrack; in fdstart()1322 cpy.dkg.dkg_nhead = fjp->fj_chars->fdc_nhead; in fd_ioctl()1340 fjp->fj_chars->fdc_nhead = cpy.dkg.dkg_nhead; in fd_ioctl()1357 nblks = fjp->fj_chars->fdc_nhead * fjp->fj_chars->fdc_secptrack; in fd_ioctl()1444 nblks = fjp->fj_chars->fdc_nhead * in fd_ioctl()1793 spc = fjp->fj_chars->fdc_nhead * spt; /* sec/cyl */ in fd_ioctl()1902 nblks = (fjp->fj_chars->fdc_nhead * fjp->fj_chars->fdc_secptrack * in fd_build_label_vtoc()1976 labelp->dkl_nhead = fjp->fj_chars->fdc_nhead; in fd_build_label_vtoc()[all …]
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()
1956 cpy.dkg.dkg_nhead = un->un_chars->fdc_nhead; in fd_ioctl()2122 (un->un_chars->fdc_nhead == 0) || in fd_ioctl()2186 if ((cpy.fdchar.fdc_nhead < 1) || in fd_ioctl()2187 (cpy.fdchar.fdc_nhead > 2)) { in fd_ioctl()2190 cpy.fdchar.fdc_nhead)); in fd_ioctl()2489 spc = un->un_chars->fdc_nhead * spt; /* sec/cyl */ in fd_ioctl()3212 * ch->fdc_nhead); in fdstart()3226 secpcyl = ch->fdc_nhead * ch->fdc_secptrack; in fdstart()5714 nblks = (un->un_chars->fdc_nhead * un->un_chars->fdc_secptrack * in fd_build_user_vtoc()5758 nblks = (un->un_chars->fdc_nhead * un->un_chars->fdc_secptrack * in fd_build_label_vtoc()[all …]
1218 hds = fdchar->fdc_nhead; in lookup_floppy()2367 fdchar.fdc_nhead = dg.dkg_nhead; in open_and_seek()