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