Home
last modified time | relevance | path

Searched refs:t_vtoc (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_menu.c987 struct extvtoc v_toc, t_vtoc; in process_s_flag() local
994 (void) memset(&t_vtoc, 0, sizeof (t_vtoc)); in process_s_flag()
997 t_vtoc.v_nparts = V_NUMPAR; in process_s_flag()
998 t_vtoc.v_sanity = VTOC_SANE; in process_s_flag()
999 t_vtoc.v_version = V_VERSION; in process_s_flag()
1000 t_vtoc.v_sectorsz = DEV_BSIZE; in process_s_flag()
1007 (void) read_extvtoc(fd, &t_vtoc); in process_s_flag()
1013 t_vtoc.v_part[i].p_start = v_toc.v_part[i].p_start; in process_s_flag()
1014 t_vtoc.v_part[i].p_size = v_toc.v_part[i].p_size; in process_s_flag()
1015 t_vtoc.v_part[i].p_tag = v_toc.v_part[i].p_tag; in process_s_flag()
[all …]
H A Drmf_slice.c1517 struct extvtoc t_vtoc; in overwrite_metadata() local
1557 (void) memset(&t_vtoc, 0, sizeof (t_vtoc)); in overwrite_metadata()
1566 ret = read_extvtoc(fd, &t_vtoc); in overwrite_metadata()
1582 ret = read_extvtoc(fd, &t_vtoc); in overwrite_metadata()
1596 if (t_vtoc.v_part[i].p_size != 0) { in overwrite_metadata()
1597 erase(handle, sol_offset + t_vtoc.v_part[i].p_start, in overwrite_metadata()
1598 t_vtoc.v_part[i].p_size); in overwrite_metadata()
1604 sol_offset + t_vtoc.v_part[i].p_start + 256, in overwrite_metadata()
1607 (sol_offset + t_vtoc.v_part[i].p_start + in overwrite_metadata()
1608 t_vtoc.v_part[i].p_size - 256), in overwrite_metadata()
[all …]