Lines Matching refs:v_toc
1248 struct extvtoc v_toc; in write_default_label() local
1258 (void) memset(&v_toc, 0, sizeof (v_toc)); in write_default_label()
1261 v_toc.v_nparts = V_NUMPAR; in write_default_label()
1262 v_toc.v_sanity = VTOC_SANE; in write_default_label()
1263 v_toc.v_version = V_VERSION; in write_default_label()
1264 v_toc.v_sectorsz = DEV_BSIZE; in write_default_label()
1285 v_toc.v_part[0].p_start = 0; in write_default_label()
1286 v_toc.v_part[0].p_size = capacity; in write_default_label()
1287 v_toc.v_part[0].p_tag = V_ROOT; in write_default_label()
1288 v_toc.v_part[0].p_flag = 0; /* Mountable */ in write_default_label()
1290 v_toc.v_part[2].p_start = 0; in write_default_label()
1291 v_toc.v_part[2].p_size = capacity; in write_default_label()
1292 v_toc.v_part[2].p_tag = V_BACKUP; in write_default_label()
1293 v_toc.v_part[2].p_flag = V_UNMNT; in write_default_label()
1299 (void) memcpy(v_toc.v_asciilabel, asciilabel, in write_default_label()
1307 ret = write_extvtoc(fd, &v_toc); in write_default_label()
1327 struct extvtoc v_toc; in write_default_label() local
1343 (void) memset(&v_toc, 0, sizeof (v_toc)); in write_default_label()
1449 v_toc.v_nparts = V_NUMPAR; in write_default_label()
1450 v_toc.v_sanity = VTOC_SANE; in write_default_label()
1451 v_toc.v_version = V_VERSION; in write_default_label()
1452 v_toc.v_sectorsz = DEV_BSIZE; in write_default_label()
1454 v_toc.v_part[0].p_start = 0; in write_default_label()
1455 v_toc.v_part[0].p_size = capacity; in write_default_label()
1456 v_toc.v_part[0].p_tag = V_ROOT; in write_default_label()
1457 v_toc.v_part[0].p_flag = 0; /* Mountable */ in write_default_label()
1459 v_toc.v_part[2].p_start = 0; in write_default_label()
1460 v_toc.v_part[2].p_size = capacity; in write_default_label()
1461 v_toc.v_part[2].p_tag = V_BACKUP; in write_default_label()
1462 v_toc.v_part[2].p_flag = V_UNMNT; in write_default_label()
1468 (void) memcpy(v_toc.v_asciilabel, asciilabel, in write_default_label()
1477 ret = write_extvtoc(fd, &v_toc); in write_default_label()