Lines Matching defs:spt
465 int spt = 36; /* sectors per track */
598 spt = 15;
603 spt = 18;
631 spt = 9;
646 spt = 8;
655 spt = 36;
663 * while the spt variable is in terms of the true block size on
667 (2 * num_cyl * spt * (m_flag ? 2 : 1))) {
669 allmap.dka_map[0].dkl_nblk = 2 * (num_cyl - 1) * spt *
671 allmap.dka_map[1].dkl_nblk = 2 * spt * (m_flag ? 2 : 1);
672 allmap.dka_map[2].dkl_nblk = 2 * num_cyl * spt *
675 allmap.dka_map[3].dkl_nblk = 2 * (num_cyl - 1) * spt *
679 2 * spt * (m_flag ? 2 : 1);
687 fd_vtoc->v_part[0].p_size = ((num_cyl - 1) * 2 * spt *
689 fd_vtoc->v_part[1].p_start = ((num_cyl - 1) * 2 * spt *
691 fd_vtoc->v_part[1].p_size = 2 * spt * (m_flag ? 2 : 1);
694 fd_vtoc->v_part[2].p_size = num_cyl * 2 * spt * (m_flag ? 2 : 1);
735 if (num_cyl > fdchar.fdc_ncyl || spt > fdchar.fdc_secptrack ||
744 if (num_cyl != fdchar.fdc_ncyl || spt != fdchar.fdc_secptrack ||
762 fdchar.fdc_secptrack = spt;
801 cyl_size = 2 * sec_size * spt;
823 capacity, num_cyl, spt, interleave, real_name);
861 if ((fbuf = (uchar_t *)malloc((unsigned)(4 * spt))) == 0) {
895 fcmd_fmt.fdc_blkno += spt;
921 for (i = 1; i <= spt; i++) {
933 fdr_form.fdr_cmd[3] = spt;
935 fdr_form.fdr_nbytes = 4 * spt;
1033 if ((val = verify(fd, 2 * spt * cyl, cyl_size)) != 0) {