/illumos-gate/usr/src/lib/libsmedia/plugins/floppy/common/ |
H A D | f_format.c | 74 int32_t spt = 36; /* sectors per track */ in format_floppy() local 224 spt = 15; in format_floppy() 226 spt = 18; in format_floppy() 247 spt = 9; in format_floppy() 260 spt = 8; in format_floppy() 266 spt = 36; in format_floppy() 278 (2 * num_cyl * spt * (M_flag ? 2 : 1))) { in format_floppy() 280 allmap.dka_map[0].dkl_nblk = 2 * (num_cyl - 1) * spt * in format_floppy() 282 allmap.dka_map[1].dkl_nblk = 2 * spt * (M_flag ? 2 : 1); in format_floppy() 283 allmap.dka_map[2].dkl_nblk = 2 * num_cyl * spt * in format_floppy() [all …]
|
/illumos-gate/usr/src/cmd/fdformat/ |
H A D | fdformat.c | 465 int spt = 36; /* sectors per track */ in format_diskette() local 586 spt = 15; in format_diskette() 591 spt = 18; in format_diskette() 619 spt = 9; in format_diskette() 634 spt = 8; in format_diskette() 643 spt = 36; in format_diskette() 655 (2 * num_cyl * spt * (m_flag ? 2 : 1))) { in format_diskette() 657 allmap.dka_map[0].dkl_nblk = 2 * (num_cyl - 1) * spt * in format_diskette() 659 allmap.dka_map[1].dkl_nblk = 2 * spt * (m_flag ? 2 : 1); in format_diskette() 660 allmap.dka_map[2].dkl_nblk = 2 * num_cyl * spt * in format_diskette() [all …]
|
/illumos-gate/usr/src/cmd/format/ |
H A D | param.h | 67 #define MAXBLKS(heads, spt) UINT16_MAX * heads * spt, heads, spt argument
|
H A D | menu_command.c | 812 uint8_t spt; in c_format() local 965 spt = (rawbuf[4] << 2) >> 5; in c_format() 968 switch (spt) { in c_format()
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/fstyp/ |
H A D | fstyp.c | 240 h->bs.spt = ltohs(h->bs.spt); in read_bootsec() 541 h->FATSz, h->bs.spt); in dumpfs() 612 ADD_UINT32(h, "sectors_per_track", h->bs.spt); in get_attr()
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/ |
H A D | mkfs.c | 138 int diam, int hds, int spt); 1096 floppy_bpb_fillin(bpb_t *wbpb, int diam, int hds, int spt) in floppy_bpb_fillin() argument 1102 switch (spt) { in floppy_bpb_fillin() 1125 "and %d sectors/track.\n"), hds, spt); in floppy_bpb_fillin() 1140 switch (spt) { in floppy_bpb_fillin() 1163 "and %d sectors/track.\n"), hds, spt); in floppy_bpb_fillin() 1168 switch (spt) { in floppy_bpb_fillin() 1185 "and %d sectors/track.\n"), hds, spt); in floppy_bpb_fillin() 1215 ulong_t cyls, spt, hds, diam; in lookup_floppy() local 1219 spt = fdchar->fdc_secptrack; in lookup_floppy() [all …]
|
/illumos-gate/usr/src/uts/i86pc/sys/ |
H A D | biosdisk.h | 91 uint32_t spt; member
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | fmsmb.c | 268 const smb_struct_t *spt; in smb_bb_contains() local 303 spt = smb_lookup_id(shp, cont_id); in smb_bb_contains() 304 if (spt->smbst_hdr->smbh_type == SMB_TYPE_BASEBOARD || in smb_bb_contains() 305 spt->smbst_hdr->smbh_type == SMB_TYPE_PROCESSOR) { in smb_bb_contains() 310 if (spt->smbst_hdr->smbh_type == SMB_TYPE_BASEBOARD) { in smb_bb_contains()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | fd.c | 1737 int cyl, head, spc, spt; in fd_ioctl() local 1798 spt = fjp->fj_chars->fdc_secptrack; /* sec/trk */ in fd_ioctl() 1799 spc = fjp->fj_chars->fdc_nhead * spt; /* sec/cyl */ in fd_ioctl() 1801 head = (fc.fdc_blkno % spc) / spt; in fd_ioctl()
|
/illumos-gate/usr/src/uts/common/sys/fs/ |
H A D | pc_fs.h | 122 ushort_t spt; /* sectors per track */ member
|
/illumos-gate/usr/src/uts/common/pcmcia/sys/ |
H A D | cis_handlers.h | 275 uint32_t spt; member
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | dosfs.c | 80 uchar_t spt[2]; /* sectors per track */ member
|
/illumos-gate/usr/src/uts/sun/io/ |
H A D | fd.c | 2420 int cyl, hd, spc, spt; in fd_ioctl() local 2491 spt = un->un_chars->fdc_secptrack; /* sec/trk */ in fd_ioctl() 2492 spc = un->un_chars->fdc_nhead * spt; /* sec/cyl */ in fd_ioctl() 2494 hd = (fc.fdc_blkno % spc) / spt; in fd_ioctl()
|
/illumos-gate/usr/src/uts/common/pcmcia/cis/ |
H A D | cis_handlers.c | 1386 cs->spt = GET_BYTE(tp);
|