Lines Matching refs:v_toc
747 struct extvtoc v_toc; in write_sunos_label() local
750 (void) memset(&v_toc, 0, sizeof (struct extvtoc)); in write_sunos_label()
773 v_toc.v_nparts = 3; in write_sunos_label()
775 v_toc.v_part[0].p_start = 0; in write_sunos_label()
776 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()
780 v_toc.v_part[1].p_size = 2 * fdchar.fdc_secptrack * mult_factor; in write_sunos_label()
782 v_toc.v_part[2].p_start = 0; in write_sunos_label()
783 v_toc.v_part[2].p_size = fdchar.fdc_ncyl * 2 * in write_sunos_label()
840 v_toc.v_part[0].p_start = 0; in write_sunos_label()
841 v_toc.v_part[0].p_size = (diskaddr_t)(dkgeom.dkg_ncyl - 1) * in write_sunos_label()
844 v_toc.v_part[1].p_start = (diskaddr_t)(dkgeom.dkg_ncyl - 1) * in write_sunos_label()
846 v_toc.v_part[1].p_size = dkgeom.dkg_nhead * dkgeom.dkg_nsect; in write_sunos_label()
848 v_toc.v_part[2].p_start = 0; in write_sunos_label()
849 v_toc.v_part[2].p_size = (diskaddr_t)dkgeom.dkg_ncyl * in write_sunos_label()
853 v_toc.v_nparts = V_NUMPAR; in write_sunos_label()
860 v_toc.v_sanity = VTOC_SANE; in write_sunos_label()
861 v_toc.v_version = V_VERSION; in write_sunos_label()
868 v_toc.v_sectorsz = DEV_BSIZE; in write_sunos_label()
876 ret = write_extvtoc(fd, &v_toc); in write_sunos_label()