Searched refs:v_toc (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/cmd/rmformat/ |
H A D | rmf_slice.c | 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() [all …]
|
H A D | rmf_misc.c | 745 struct extvtoc v_toc; in write_sunos_label() local 748 (void) memset(&v_toc, 0, sizeof (struct extvtoc)); in write_sunos_label() 771 v_toc.v_nparts = 3; in write_sunos_label() 773 v_toc.v_part[0].p_start = 0; in write_sunos_label() 774 v_toc.v_part[0].p_size = (fdchar.fdc_ncyl - 1) * 2 * in write_sunos_label() 776 v_toc.v_part[1].p_start = (fdchar.fdc_ncyl - 1) * 2 * in write_sunos_label() 778 v_toc.v_part[1].p_size = 2 * fdchar.fdc_secptrack * mult_factor; in write_sunos_label() 780 v_toc.v_part[2].p_start = 0; in write_sunos_label() 781 v_toc.v_part[2].p_size = fdchar.fdc_ncyl * 2 * in write_sunos_label() 838 v_toc.v_part[0].p_start = 0; in write_sunos_label() [all …]
|
H A D | rmf_menu.c | 987 struct extvtoc v_toc, t_vtoc; in process_s_flag() local 988 if (valid_slice_file(handle, fd, slice_file, &v_toc)) { 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() 1016 t_vtoc.v_part[i].p_flag = v_toc.v_part[i].p_flag; in process_s_flag() 1122 struct extvtoc v_toc; in process_b_flag() local 1163 ret = read_extvtoc(fd, &v_toc); in process_b_flag() 1184 (void) strncpy(v_toc.v_volume, label, LEN_DKL_VVOL); in process_b_flag() 1190 ret = write_extvtoc(fd, &v_toc); in process_b_flag()
|