Home
last modified time | relevance | path

Searched refs:dkl_vtoc (Results 1 – 13 of 13) sorted by relevance

/titanic_44/usr/src/cmd/format/
H A Dlabel.c348 label.dkl_vtoc = cur_parts->vtoc; in write_label()
353 bcopy(cur_disk->v_volume, label.dkl_vtoc.v_volume, LEN_DKL_VVOL); in write_label()
366 label.dkl_vtoc.v_sectorsz = cur_blksz; in write_label()
811 label->dkl_vtoc.v_sanity = vtoc->v_sanity; in vtoc_to_label()
812 label->dkl_vtoc.v_nparts = vtoc->v_nparts; in vtoc_to_label()
813 label->dkl_vtoc.v_version = vtoc->v_version; in vtoc_to_label()
815 (void) memcpy(label->dkl_vtoc.v_volume, vtoc->v_volume, in vtoc_to_label()
818 label->dkl_vtoc.v_part[i].p_tag = vtoc->v_part[i].p_tag; in vtoc_to_label()
819 label->dkl_vtoc.v_part[i].p_flag = vtoc->v_part[i].p_flag; in vtoc_to_label()
820 label->dkl_vtoc.v_timestamp[i] = vtoc->timestamp[i]; in vtoc_to_label()
[all …]
H A Dauto_sense.c769 label->dkl_vtoc.v_part[i].p_start / in new_direct_disk_type()
773 label->dkl_vtoc.v_part[i].p_size; in new_direct_disk_type()
782 if (label->dkl_vtoc.v_version == V_VERSION) { in new_direct_disk_type()
783 (void) memcpy(disk_info->v_volume, label->dkl_vtoc.v_volume, in new_direct_disk_type()
785 part->vtoc = label->dkl_vtoc; in new_direct_disk_type()
1526 vtoc = &label->dkl_vtoc;
1643 label->dkl_vtoc.v_part[i].p_start = cyl * blks_per_cyl;
1644 label->dkl_vtoc.v_part[i].p_size = ncyls[i] * blks_per_cyl;
1669 label->dkl_vtoc.v_part[i].p_start = cyl * blks_per_cyl;
1670 label->dkl_vtoc.v_part[i].p_size = ncyls[i] * blks_per_cyl;
[all …]
H A Dmenu_command.c1692 label.dkl_vtoc = cur_parts->vtoc; in c_label()
2007 label.dkl_vtoc.v_part[i].p_start / spc(); in c_backup()
2009 label.dkl_vtoc.v_part[i].p_size; in c_backup()
2013 parts->vtoc = label.dkl_vtoc; in c_backup()
2240 if ((b_label.dkl_vtoc.v_part[i].p_tag != in c_verify()
2241 p_label.dkl_vtoc.v_part[i].p_tag) || in c_verify()
2242 (b_label.dkl_vtoc.v_part[i].p_flag in c_verify()
2243 != p_label.dkl_vtoc.v_part[i]. in c_verify()
2245 (b_label.dkl_vtoc.v_part[i].p_start in c_verify()
2246 != p_label.dkl_vtoc.v_part[i]. in c_verify()
[all …]
H A Dstartup.c2160 search_label.dkl_vtoc.v_part[i].p_start / in add_device_to_disklist()
2164 search_label.dkl_vtoc.v_part[i].p_size; in add_device_to_disklist()
2177 if (search_label.dkl_vtoc.v_version == V_VERSION) { in add_device_to_disklist()
2178 bcopy(search_label.dkl_vtoc.v_volume, in add_device_to_disklist()
2180 search_parts->vtoc = search_label.dkl_vtoc; in add_device_to_disklist()
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.v_part[i].p_tag !=
[all …]
H A Dmodify_partition.c538 label->dkl_vtoc.v_part[i].p_start /
541 label->dkl_vtoc.v_part[i].p_size;
544 part->vtoc = label->dkl_vtoc;
H A Dmenu_fdisk.c642 cur_parts->vtoc = update_label.dkl_vtoc;
651 update_label.dkl_vtoc.v_part[i].p_start /
655 update_label.dkl_vtoc.v_part[i].p_size;
/titanic_44/usr/src/uts/common/sys/
H A Ddklabel.h180 struct dk_vtoc dkl_vtoc; /* vtoc inclusions from AT&T SVr4 */ member
197 struct dk_vtoc dkl_vtoc; /* vtoc inclusions from AT&T SVr4 */
222 #define dkl_asciilabel dkl_vtoc.v_asciilabel
/titanic_44/usr/src/uts/common/io/
H A Dfd.c882 label->dkl_vtoc.v_sanity != VTOC_SANE) { in fdgetlabel()
912 fdp->d_vtoc_version = label->dkl_vtoc.v_version; in fdgetlabel()
913 bcopy(label->dkl_vtoc.v_volume, fdp->d_vtoc_volume, LEN_DKL_VVOL); in fdgetlabel()
914 bcopy(label->dkl_vtoc.v_asciilabel, in fdgetlabel()
920 fdp->d_part[i].p_tag = label->dkl_vtoc.v_part[i].p_tag; in fdgetlabel()
921 fdp->d_part[i].p_flag = label->dkl_vtoc.v_part[i].p_flag; in fdgetlabel()
922 fdp->d_part[i].p_start = label->dkl_vtoc.v_part[i].p_start; in fdgetlabel()
923 fdp->d_part[i].p_size = label->dkl_vtoc.v_part[i].p_size; in fdgetlabel()
925 fdp->d_vtoc_timestamp[i] = label->dkl_vtoc.timestamp[i]; in fdgetlabel()
1947 labelp->dkl_vtoc.v_bootinfo[0] = (uint32_t)vtocp->v_bootinfo[0]; in fd_build_label_vtoc()
[all …]
H A Dcmlb.c2286 (((struct dk_label *)buf)->dkl_vtoc.v_sanity == VTOC_SANE)) {
3081 vpartp = labp->dkl_vtoc.v_part;
3100 bcopy(&labp->dkl_vtoc, &cl->cl_vtoc, sizeof (struct dk_vtoc));
3181 vpartp = &(labp->dkl_vtoc.v_part[0]);
4871 bcopy(&cl->cl_vtoc, &dkl->dkl_vtoc, sizeof (struct dk_vtoc));
/titanic_44/usr/src/uts/sun/io/
H A Dfd.c5628 to->dkl_vtoc = from->dkl_vtoc; in fdunpacklabel()
5676 vtoc->v_bootinfo[0] = un->un_label.dkl_vtoc.v_bootinfo[0]; in fd_build_user_vtoc()
5677 vtoc->v_bootinfo[1] = un->un_label.dkl_vtoc.v_bootinfo[1]; in fd_build_user_vtoc()
5678 vtoc->v_bootinfo[2] = un->un_label.dkl_vtoc.v_bootinfo[2]; in fd_build_user_vtoc()
5681 vtoc->v_sanity = un->un_label.dkl_vtoc.v_sanity; in fd_build_user_vtoc()
5682 vtoc->v_version = un->un_label.dkl_vtoc.v_version; in fd_build_user_vtoc()
5685 bcopy(un->un_label.dkl_vtoc.v_volume, in fd_build_user_vtoc()
5699 vtoc->v_nparts = un->un_label.dkl_vtoc.v_nparts; in fd_build_user_vtoc()
5702 bcopy(un->un_label.dkl_vtoc.v_reserved, in fd_build_user_vtoc()
5703 vtoc->v_reserved, sizeof (un->un_label.dkl_vtoc.v_reserved)); in fd_build_user_vtoc()
[all …]
/titanic_44/usr/src/uts/sun4v/io/
H A Dvds.c1052 label->dkl_vtoc.v_version = V_EXTVERSION; in vd_build_default_label()
1053 label->dkl_vtoc.v_nparts = V_NUMPAR; in vd_build_default_label()
1054 label->dkl_vtoc.v_sanity = VTOC_SANE; in vd_build_default_label()
1055 label->dkl_vtoc.v_part[VD_ENTIRE_DISK_SLICE].p_tag = V_BACKUP; in vd_build_default_label()
2880 label->dkl_vtoc.v_nparts = V_NUMPAR; in vd_vtocgeom_to_label()
2881 label->dkl_vtoc.v_sanity = VTOC_SANE; in vd_vtocgeom_to_label()
2882 label->dkl_vtoc.v_version = vtoc->v_version; in vd_vtocgeom_to_label()
2884 label->dkl_vtoc.v_timestamp[i] = vtoc->timestamp[i]; in vd_vtocgeom_to_label()
2885 label->dkl_vtoc.v_part[i].p_tag = vtoc->v_part[i].p_tag; in vd_vtocgeom_to_label()
2886 label->dkl_vtoc.v_part[i].p_flag = vtoc->v_part[i].p_flag; in vd_vtocgeom_to_label()
[all …]
/titanic_44/usr/src/uts/sun/sys/
H A Dfdvar.h141 struct dk_vtoc dkl_vtoc; /* vtoc stuff from AT&T SVr4 */ member
/titanic_44/usr/src/lib/libfdisk/common/
H A Dlibfdisk.c315 (((struct dk_label *)buf)->dkl_vtoc.v_sanity == VTOC_SANE)) { in fdisk_is_linux_swap()