Lines Matching refs:v_toc
745 struct extvtoc v_toc;
748 (void) memset(&v_toc, 0, sizeof (struct extvtoc));
771 v_toc.v_nparts = 3;
773 v_toc.v_part[0].p_start = 0;
774 v_toc.v_part[0].p_size = (fdchar.fdc_ncyl - 1) * 2 *
776 v_toc.v_part[1].p_start = (fdchar.fdc_ncyl - 1) * 2 *
778 v_toc.v_part[1].p_size = 2 * fdchar.fdc_secptrack * mult_factor;
780 v_toc.v_part[2].p_start = 0;
781 v_toc.v_part[2].p_size = fdchar.fdc_ncyl * 2 *
838 v_toc.v_part[0].p_start = 0;
839 v_toc.v_part[0].p_size = (diskaddr_t)(dkgeom.dkg_ncyl - 1) *
842 v_toc.v_part[1].p_start = (diskaddr_t)(dkgeom.dkg_ncyl - 1) *
844 v_toc.v_part[1].p_size = dkgeom.dkg_nhead * dkgeom.dkg_nsect;
846 v_toc.v_part[2].p_start = 0;
847 v_toc.v_part[2].p_size = (diskaddr_t)dkgeom.dkg_ncyl *
851 v_toc.v_nparts = V_NUMPAR;
858 v_toc.v_sanity = VTOC_SANE;
859 v_toc.v_version = V_VERSION;
866 v_toc.v_sectorsz = DEV_BSIZE;
874 ret = write_extvtoc(fd, &v_toc);