Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libsmedia/plugins/floppy/common/
H A Df_generic.c108 * fdchar.fdc_secptrack; in _m_get_media_info()
111 med_info->sm_nsect = fdchar.fdc_secptrack; 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()
263 head = rem/fdchar.fdc_secptrack; in _m_raw_read()
264 start_sector = rem%fdchar.fdc_secptrack + 1; in _m_raw_read()
277 fdraw.fdr_cmd[6] = 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()
336 head = rem/fdchar.fdc_secptrack; in _m_raw_write()
[all …]
H A Df_format.c168 * fdchar.fdc_secptrack * fdchar.fdc_sec_size; in format_floppy()
298 if (num_cyl > fdchar.fdc_ncyl || spt > fdchar.fdc_secptrack || in format_floppy()
304 if (num_cyl != fdchar.fdc_ncyl || spt != fdchar.fdc_secptrack || in format_floppy()
322 fdchar.fdc_secptrack = spt; in format_floppy()
/titanic_41/usr/src/uts/common/io/
H A Dfd.c814 FDREAD, 1, 0, fjp->fj_chars->fdc_secptrack, in fdgetlabel()
819 0, fjp->fj_chars->fdc_secptrack + 1, in fdgetlabel()
874 unit, fjp->fj_chars->fdc_ncyl, fjp->fj_chars->fdc_secptrack, in fdgetlabel()
902 fjp->fj_chars->fdc_secptrack = (label->dkl_nsect * DEV_BSIZE) / in fdgetlabel()
942 fjp->fj_chars->fdc_secptrack); in fdgetlabel()
1162 secpcyl = chp->fdc_nhead * chp->fdc_secptrack; in fdstart()
1200 head = bincyl / chp->fdc_secptrack; in fdstart()
1202 sect = (bincyl % chp->fdc_secptrack) + 1; in fdstart()
1214 ((chp->fdc_secptrack - sect + 1) << in fdstart()
1217 (chp->fdc_secptrack - sect + 1) << in fdstart()
[all …]
H A Dfdc.c1156 csb->csb_cmd[6] = (uchar_t)max(fjp->fj_chars->fdc_secptrack, sector); in fdrw()
1270 csb->csb_cmd[3] = numsctr = fjp->fj_chars->fdc_secptrack; in fdtrkformat()
/titanic_41/usr/src/cmd/fdformat/
H A Dfdformat.c525 * fdchar.fdc_secptrack * fdchar.fdc_sec_size; 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()
750 fdchar.fdc_secptrack = spt; in format_diskette()
1510 totalsec = fdchar.fdc_ncyl * fdchar.fdc_nhead * fdchar.fdc_secptrack; in write_DOS_label()
1513 bpb->b_spt[0] = fdchar.fdc_secptrack; in write_DOS_label()
/titanic_41/usr/src/uts/common/sys/
H A Dfdio.h45 int fdc_secptrack; /* sectors per track */ member
/titanic_41/usr/src/uts/sun/io/
H A Dfd.c1957 cpy.dkg.dkg_nsect = un->un_chars->fdc_secptrack; in fd_ioctl()
2123 (un->un_chars->fdc_secptrack == 0)) { in fd_ioctl()
2488 spt = un->un_chars->fdc_secptrack; /* sec/trk */ in fd_ioctl()
2993 csb->csb_cmds[3] = ch->fdc_secptrack; in fdformat()
3008 csb->csb_len = (uint_t)4 * ch->fdc_secptrack; in fdformat()
3036 csb->csb_len = (uint_t)4 * ch->fdc_secptrack + 16; in fdformat()
3043 for (i = 1; i <= ch->fdc_secptrack; i++) { in fdformat()
3190 csb->csb_cmds[6] = ch->fdc_secptrack; /* EOT-# of sectors/trk */ in fdstart()
3211 start_part = (dkm->dkl_cylno * ch->fdc_secptrack in fdstart()
3226 secpcyl = ch->fdc_nhead * ch->fdc_secptrack; in fdstart()
[all …]
/titanic_41/usr/src/cmd/rmformat/
H A Drmf_misc.c775 fdchar.fdc_secptrack * mult_factor; in write_sunos_label()
777 fdchar.fdc_secptrack * mult_factor; in write_sunos_label()
778 v_toc.v_part[1].p_size = 2 * fdchar.fdc_secptrack * mult_factor; in write_sunos_label()
782 fdchar.fdc_secptrack * mult_factor; in write_sunos_label()
/titanic_41/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c1217 spt = fdchar->fdc_secptrack; in lookup_floppy()
2366 fdchar.fdc_secptrack = dg.dkg_nsect; in open_and_seek()