Home
last modified time | relevance | path

Searched refs:fdc_ncyl (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/libsmedia/plugins/floppy/common/
H A Df_format.c165 size_of_dev = fdchar.fdc_ncyl * fdchar.fdc_nhead in format_floppy()
296 if (num_cyl > fdchar.fdc_ncyl || spt > fdchar.fdc_secptrack || in format_floppy()
302 if (num_cyl != fdchar.fdc_ncyl || spt != fdchar.fdc_secptrack || in format_floppy()
318 fdchar.fdc_ncyl = num_cyl; in format_floppy()
H A Df_generic.c105 med_info->sm_capacity = fdchar.fdc_ncyl * fdchar.fdc_nhead in _m_get_media_info()
107 med_info->sm_pcyl = fdchar.fdc_ncyl; in _m_get_media_info()
/illumos-gate/usr/src/uts/common/io/
H A Dfd.c860 if ((2 * fjp->fj_chars->fdc_ncyl) == in fdgetlabel()
861 defchar[fdp->d_deffdtype]->fdc_ncyl) { in fdgetlabel()
880 unit, fjp->fj_chars->fdc_ncyl, fjp->fj_chars->fdc_secptrack, in fdgetlabel()
906 fjp->fj_chars->fdc_ncyl = label->dkl_pcyl; in fdgetlabel()
910 if (defchar[fdp->d_deffdtype]->fdc_ncyl == 2 * fjp->fj_chars->fdc_ncyl) in fdgetlabel()
947 fjp->fj_chars->fdc_ncyl, fjp->fj_chars->fdc_nhead, in fdgetlabel()
1326 cpy.dkg.dkg_pcyl = fjp->fj_chars->fdc_ncyl; in fd_ioctl()
1327 cpy.dkg.dkg_ncyl = fjp->fj_chars->fdc_ncyl; in fd_ioctl()
1345 fjp->fj_chars->fdc_ncyl = cpy.dkg.dkg_ncyl; in fd_ioctl()
1910 if (nblks == 0 || fjp->fj_chars->fdc_ncyl == 0) in fd_build_label_vtoc()
[all …]
H A Dfdc.c2941 (int)csb->csb_cmd[2] < (fjp->fj_chars->fdc_ncyl - 1)) in fdc_statemach()
/illumos-gate/usr/src/uts/common/sys/
H A Dfdio.h40 int fdc_ncyl; /* number of cylinders */ member
/illumos-gate/usr/src/cmd/fdformat/
H A Dfdformat.c524 size_of_dev = fdchar.fdc_ncyl * fdchar.fdc_nhead in format_diskette()
723 if (num_cyl > fdchar.fdc_ncyl || spt > fdchar.fdc_secptrack || in format_diskette()
732 if (num_cyl != fdchar.fdc_ncyl || spt != fdchar.fdc_secptrack || in format_diskette()
748 fdchar.fdc_ncyl = num_cyl; in format_diskette()
1510 totalsec = fdchar.fdc_ncyl * fdchar.fdc_nhead * fdchar.fdc_secptrack; in write_DOS_label()
/illumos-gate/usr/src/uts/sun/io/
H A Dfd.c1958 cpy.dkg.dkg_ncyl = un->un_chars->fdc_ncyl; in fd_ioctl()
1963 cpy.dkg.dkg_pcyl = un->un_chars->fdc_ncyl; in fd_ioctl()
2124 if ((un->un_chars->fdc_ncyl == 0) || in fd_ioctl()
2201 if ((cpy.fdchar.fdc_ncyl < 0) || (cpy.fdchar.fdc_ncyl > 255)) { in fd_ioctl()
2204 cpy.fdchar.fdc_ncyl)); in fd_ioctl()
2500 nblks = spc * un->un_chars->fdc_ncyl; in fd_ioctl()
5781 if (ncyl > un->un_chars->fdc_ncyl) { in fd_build_label_vtoc()
5843 un->un_label.dkl_pcyl = un->un_chars->fdc_ncyl; in fd_build_label_vtoc()
6140 media_info.dki_capacity = un->un_chars->fdc_ncyl * in fd_get_media_info()
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_misc.c776 v_toc.v_part[0].p_size = (fdchar.fdc_ncyl - 1) * 2 * in write_sunos_label()
778 v_toc.v_part[1].p_start = (fdchar.fdc_ncyl - 1) * 2 * in write_sunos_label()
783 v_toc.v_part[2].p_size = fdchar.fdc_ncyl * 2 * in write_sunos_label()
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c1217 cyls = fdchar->fdc_ncyl; in lookup_floppy()
2479 fdchar.fdc_ncyl = dg.dkg_ncyl; in open_and_seek()