Searched refs:dkl_vtoc (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/cmd/format/
H A Dlabel.c330 label.dkl_vtoc = cur_parts->vtoc;
335 bcopy(cur_disk->v_volume, label.dkl_vtoc.v_volume, LEN_DKL_VVOL);
348 label.dkl_vtoc.v_sectorsz = cur_blksz;
793 label->dkl_vtoc.v_sanity = vtoc->v_sanity;
794 label->dkl_vtoc.v_nparts = vtoc->v_nparts;
795 label->dkl_vtoc.v_version = vtoc->v_version;
797 (void) memcpy(label->dkl_vtoc.v_volume, vtoc->v_volume,
800 label->dkl_vtoc.v_part[i].p_tag = vtoc->v_part[i].p_tag;
801 label->dkl_vtoc.v_part[i].p_flag = vtoc->v_part[i].p_flag;
802 label->dkl_vtoc
[all...]
H A Dmenu_command.c1704 label.dkl_vtoc = cur_parts->vtoc;
2019 label.dkl_vtoc.v_part[i].p_start / spc();
2021 label.dkl_vtoc.v_part[i].p_size;
2026 parts->vtoc = label.dkl_vtoc;
2259 if ((b_label.dkl_vtoc.v_part[i].p_tag !=
2260 p_label.dkl_vtoc.v_part[i].p_tag) ||
2261 (b_label.dkl_vtoc.v_part[i].p_flag
2262 != p_label.dkl_vtoc.v_part[i].
2264 (b_label.dkl_vtoc.v_part[i].p_start
2265 != p_label.dkl_vtoc
[all...]
H A Dauto_sense.c713 label->dkl_vtoc.v_part[i].p_start /
717 label->dkl_vtoc.v_part[i].p_size;
726 if (label->dkl_vtoc.v_version == V_VERSION) {
727 (void) memcpy(disk_info->v_volume, label->dkl_vtoc.v_volume,
729 part->vtoc = label->dkl_vtoc;
1470 vtoc = &label->dkl_vtoc;
1587 label->dkl_vtoc.v_part[i].p_start = cyl * blks_per_cyl;
1588 label->dkl_vtoc.v_part[i].p_size = ncyls[i] * blks_per_cyl;
1613 label->dkl_vtoc.v_part[i].p_start = cyl * blks_per_cyl;
1614 label->dkl_vtoc
[all...]
H A Dmodify_partition.c517 label->dkl_vtoc.v_part[i].p_start /
520 label->dkl_vtoc.v_part[i].p_size;
523 part->vtoc = label->dkl_vtoc;
H A Dstartup.c2160 search_label.dkl_vtoc.v_part[i].p_start /
2164 search_label.dkl_vtoc.v_part[i].p_size;
2177 if (search_label.dkl_vtoc.v_version == V_VERSION) {
2178 bcopy(search_label.dkl_vtoc.v_volume,
2180 search_parts->vtoc = search_label.dkl_vtoc;
2271 label->dkl_vtoc.v_part[i].p_start /
2274 label->dkl_vtoc.v_part[i].p_size))
2283 if (label->dkl_vtoc.v_version != pinfo->vtoc.v_version)
2285 if (label->dkl_vtoc.v_nparts != pinfo->vtoc.v_nparts)
2288 if (label->dkl_vtoc
[all...]
H A Dmenu_fdisk.c643 cur_parts->vtoc = update_label.dkl_vtoc;
652 update_label.dkl_vtoc.v_part[i].p_start /
656 update_label.dkl_vtoc.v_part[i].p_size;
/illumos-gate/usr/src/uts/common/sys/
H A Ddklabel.h180 struct dk_vtoc dkl_vtoc; /* vtoc inclusions from AT&T SVr4 */ member in struct:dk_label
197 struct dk_vtoc dkl_vtoc; /* vtoc inclusions from AT&T SVr4 */
222 #define dkl_asciilabel dkl_vtoc.v_asciilabel
/illumos-gate/usr/src/boot/sys/sys/
H A Dvtoc.h140 struct dk_vtoc dkl_vtoc; /* vtoc inclusions from AT&T SVr4 */ member in struct:dk_label
/illumos-gate/usr/src/uts/common/io/
H A Dfd.c887 label->dkl_vtoc.v_sanity != VTOC_SANE) {
917 fdp->d_vtoc_version = label->dkl_vtoc.v_version;
918 bcopy(label->dkl_vtoc.v_volume, fdp->d_vtoc_volume, LEN_DKL_VVOL);
919 bcopy(label->dkl_vtoc.v_asciilabel,
925 fdp->d_part[i].p_tag = label->dkl_vtoc.v_part[i].p_tag;
926 fdp->d_part[i].p_flag = label->dkl_vtoc.v_part[i].p_flag;
927 fdp->d_part[i].p_start = label->dkl_vtoc.v_part[i].p_start;
928 fdp->d_part[i].p_size = label->dkl_vtoc.v_part[i].p_size;
930 fdp->d_vtoc_timestamp[i] = label->dkl_vtoc.timestamp[i];
1952 labelp->dkl_vtoc
[all...]
H A Dcmlb.c2321 (((struct dk_label *)buf)->dkl_vtoc.v_sanity == VTOC_SANE)) {
3116 vpartp = labp->dkl_vtoc.v_part;
3135 bcopy(&labp->dkl_vtoc, &cl->cl_vtoc, sizeof (struct dk_vtoc));
3216 vpartp = &(labp->dkl_vtoc.v_part[0]);
4915 bcopy(&cl->cl_vtoc, &dkl->dkl_vtoc, sizeof (struct dk_vtoc));
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvds.c1053 label->dkl_vtoc.v_version = V_EXTVERSION;
1054 label->dkl_vtoc.v_nparts = V_NUMPAR;
1055 label->dkl_vtoc.v_sanity = VTOC_SANE;
1056 label->dkl_vtoc.v_part[VD_ENTIRE_DISK_SLICE].p_tag = V_BACKUP;
2881 label->dkl_vtoc.v_nparts = V_NUMPAR;
2882 label->dkl_vtoc.v_sanity = VTOC_SANE;
2883 label->dkl_vtoc.v_version = vtoc->v_version;
2885 label->dkl_vtoc.v_timestamp[i] = vtoc->timestamp[i];
2886 label->dkl_vtoc.v_part[i].p_tag = vtoc->v_part[i].p_tag;
2887 label->dkl_vtoc
[all...]
/illumos-gate/usr/src/uts/sun/io/
H A Dfd.c5631 to->dkl_vtoc = from->dkl_vtoc;
5679 vtoc->v_bootinfo[0] = un->un_label.dkl_vtoc.v_bootinfo[0];
5680 vtoc->v_bootinfo[1] = un->un_label.dkl_vtoc.v_bootinfo[1];
5681 vtoc->v_bootinfo[2] = un->un_label.dkl_vtoc.v_bootinfo[2];
5684 vtoc->v_sanity = un->un_label.dkl_vtoc.v_sanity;
5685 vtoc->v_version = un->un_label.dkl_vtoc.v_version;
5688 bcopy(un->un_label.dkl_vtoc.v_volume,
5702 vtoc->v_nparts = un->un_label.dkl_vtoc.v_nparts;
5705 bcopy(un->un_label.dkl_vtoc
[all...]
/illumos-gate/usr/src/uts/sun/sys/
H A Dfdvar.h141 struct dk_vtoc dkl_vtoc; /* vtoc stuff from AT&T SVr4 */ member in struct:packed_label
/illumos-gate/usr/src/cmd/mdb/common/modules/disk_label/
H A Ddisk_label.c637 dv = (struct dk_vtoc *)&dl->dkl_vtoc;
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dpart.c683 dv = (struct dk_vtoc *)&dl->dkl_vtoc;
/illumos-gate/usr/src/lib/libfdisk/common/
H A Dlibfdisk.c316 (((struct dk_label *)buf)->dkl_vtoc.v_sanity == VTOC_SANE)) {

Completed in 181 milliseconds