Lines Matching refs:dkl_vtoc
348 label.dkl_vtoc = cur_parts->vtoc;
353 bcopy(cur_disk->v_volume, label.dkl_vtoc.v_volume, LEN_DKL_VVOL);
366 label.dkl_vtoc.v_sectorsz = cur_blksz;
811 label->dkl_vtoc.v_sanity = vtoc->v_sanity;
812 label->dkl_vtoc.v_nparts = vtoc->v_nparts;
813 label->dkl_vtoc.v_version = vtoc->v_version;
815 (void) memcpy(label->dkl_vtoc.v_volume, vtoc->v_volume,
818 label->dkl_vtoc.v_part[i].p_tag = vtoc->v_part[i].p_tag;
819 label->dkl_vtoc.v_part[i].p_flag = vtoc->v_part[i].p_flag;
820 label->dkl_vtoc.v_timestamp[i] = vtoc->timestamp[i];
824 label->dkl_vtoc.v_reserved[i] = vtoc->v_reserved[i];
826 label->dkl_vtoc.v_bootinfo[0] = vtoc->v_bootinfo[0];
827 label->dkl_vtoc.v_bootinfo[1] = vtoc->v_bootinfo[1];
828 label->dkl_vtoc.v_bootinfo[2] = vtoc->v_bootinfo[2];
847 lmap = label->dkl_vtoc.v_part;
911 switch (label->dkl_vtoc.v_version) {
926 lpart = label->dkl_vtoc.v_part;
935 vtoc->timestamp[i] = label->dkl_vtoc.v_timestamp[i];
937 (void) memcpy(vtoc->v_volume, label->dkl_vtoc.v_volume,
941 vtoc->v_reserved[i] = label->dkl_vtoc.v_reserved[i];
943 vtoc->v_bootinfo[0] = label->dkl_vtoc.v_bootinfo[0];
944 vtoc->v_bootinfo[1] = label->dkl_vtoc.v_bootinfo[1];
945 vtoc->v_bootinfo[2] = label->dkl_vtoc.v_bootinfo[2];
1098 fmt_print("version: %d\n", label->dkl_vtoc.v_version);
1101 if (label->dkl_vtoc.v_volume[i] == 0)
1103 fmt_print("%c", label->dkl_vtoc.v_volume[i]);
1106 fmt_print("v_nparts: %d\n", label->dkl_vtoc.v_nparts);
1107 fmt_print("v_sanity: %lx\n", label->dkl_vtoc.v_sanity);
1149 label->dkl_vtoc.v_part[i].p_start,
1150 label->dkl_vtoc.v_part[i].p_size);
1156 label->dkl_vtoc.v_part[i].p_tag,
1157 label->dkl_vtoc.v_part[i].p_flag);
1166 fmt_print("0x%x ", label->dkl_vtoc.v_bootinfo[i]);
1174 fmt_print("0x%x ", label->dkl_vtoc.v_reserved[i]);
1182 fmt_print("0x%x ", label->dkl_vtoc.v_timestamp[i]);