/titanic_44/usr/src/uts/common/sys/ |
H A D | vtoc.h | 116 unsigned long v_sanity; /* to verify vtoc sanity */ member 138 uint64_t v_sanity; /* to verify vtoc sanity */ member 157 v.v_sanity = (unsigned long)extv.v_sanity; \ 180 extv.v_sanity = (uint64_t)v.v_sanity; \ 210 uint32_t v_sanity; /* to verify vtoc sanity */ member 227 v.v_sanity = v32.v_sanity; \ 252 extv.v_sanity = v32.v_sanity; \ 277 v32.v_sanity = v.v_sanity; \ 306 v32.v_sanity = extv.v_sanity; \
|
H A D | dklabel.h | 133 uint32_t v_sanity; /* to verify vtoc sanity */ member 148 uint32_t v_sanity; /* to verify vtoc sanity */
|
/titanic_44/usr/src/lib/libadm/common/ |
H A D | rdwr_vtoc.c | 53 vd->v_sanity = (unsigned)vs->v_sanity; \ 107 if (vtoc->v_sanity != VTOC_SANE) { in read_vtoc() 167 if (vtoc->v_sanity != VTOC_SANE || vtoc->v_nparts > V_NUMPAR) { in write_vtoc() 252 if (extvtoc->v_sanity != VTOC_SANE) { in read_extvtoc() 309 if (extvtoc->v_sanity != VTOC_SANE || extvtoc->v_nparts > V_NUMPAR) { in write_extvtoc()
|
/titanic_44/usr/src/cmd/format/ |
H A D | label.c | 767 if (vtoc->v_sanity != VTOC_SANE || in vtoc_to_label() 811 label->dkl_vtoc.v_sanity = vtoc->v_sanity; in vtoc_to_label() 957 vtoc->v_sanity = VTOC_SANE; in label_to_vtoc() 1107 fmt_print("v_sanity: %lx\n", label->dkl_vtoc.v_sanity);
|
H A D | partition.c | 517 part->vtoc.v_sanity = VTOC_SANE; in set_vtoc_defaults()
|
H A D | auto_sense.c | 1529 vtoc->v_sanity = VTOC_SANE;
|
/titanic_44/usr/src/cmd/addbadsec/ |
H A D | addbadsec.c | 182 if ((vtoc.v_sanity != VTOC_SANE) || (vtoc.v_version != V_VERSION)) { in main()
|
/titanic_44/usr/src/cmd/fmthard/ |
H A D | fmthard.c | 268 exit(disk_vtoc.v_sanity == VTOC_SANE ? 0 : 1); in main() 720 vtoc->v_sanity = VTOC_SANE; in validate()
|
/titanic_44/usr/src/uts/common/io/ |
H A D | fd.c | 882 label->dkl_vtoc.v_sanity != VTOC_SANE) { in fdgetlabel() 1847 vtocp->v_sanity = VTOC_SANE; in fd_build_user_vtoc() 1889 if (vtocp->v_sanity != VTOC_SANE || in fd_build_label_vtoc() 1951 labelp->dkl_vtoc.v_sanity = vtocp->v_sanity; in fd_build_label_vtoc()
|
H A D | cmlb.c | 2286 (((struct dk_label *)buf)->dkl_vtoc.v_sanity == VTOC_SANE)) { 3508 cl->cl_vtoc.v_sanity = VTOC_SANE; 4180 user_vtoc->v_sanity = VTOC_SANE; 4513 if (user_vtoc->v_sanity != VTOC_SANE || 4584 cl->cl_vtoc.v_sanity = (uint32_t)user_vtoc->v_sanity; 4969 if (cl->cl_vtoc.v_sanity == VTOC_SANE) {
|
H A D | ramdisk.c | 534 rsp->rd_vtoc.v_sanity = VTOC_SANE; in rd_fake_disk_geometry()
|
/titanic_44/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | setup.c | 607 if (vtoc.v_sanity != VTOC_SANE) { in get_last_block()
|
/titanic_44/usr/src/uts/sun4v/sys/ |
H A D | vdsk_common.h | 392 (vtoc)->v_sanity = VTOC_SANE; \
|
/titanic_44/usr/src/uts/sun4v/io/ |
H A D | vds.c | 1054 label->dkl_vtoc.v_sanity = VTOC_SANE; in vd_build_default_label() 2865 ASSERT(vtoc->v_sanity == VTOC_SANE); in vd_vtocgeom_to_label() 2881 label->dkl_vtoc.v_sanity = VTOC_SANE; in vd_vtocgeom_to_label() 2931 vtoc->v_sanity = label->dkl_vtoc.v_sanity; in vd_label_to_vtocgeom() 2991 if (vtoc->v_sanity != vd->vtoc.v_sanity || in vd_slice_vtoc_isvalid() 3249 label.dkl_vtoc.v_sanity != VTOC_SANE) || in vd_dskimg_validate_geometry() 3342 if (vtoc->v_sanity != VTOC_SANE || in vd_do_dskimg_ioctl()
|
/titanic_44/usr/src/cmd/rmformat/ |
H A D | rmf_slice.c | 1262 v_toc.v_sanity = VTOC_SANE; in write_default_label() 1450 v_toc.v_sanity = VTOC_SANE; in write_default_label()
|
H A D | rmf_menu.c | 998 t_vtoc.v_sanity = VTOC_SANE; in process_s_flag()
|
H A D | rmf_misc.c | 858 v_toc.v_sanity = VTOC_SANE; in write_sunos_label()
|
/titanic_44/usr/src/cmd/avs/nsctl/ |
H A D | nskernd.c | 671 if (vtoc.v_sanity != VTOC_SANE) in get_bsize()
|
/titanic_44/usr/src/uts/common/avs/ns/solaris/ |
H A D | nsc_raw.c | 654 if ((vtoc->v_sanity != VTOC_SANE) || in _raw_get_bsize()
|
/titanic_44/usr/src/uts/sun/io/ |
H A D | fd.c | 5681 vtoc->v_sanity = un->un_label.dkl_vtoc.v_sanity; in fd_build_user_vtoc() 5751 if ((vtoc->v_sanity != VTOC_SANE) || in fd_build_label_vtoc() 5794 un->un_label.dkl_vtoc.v_sanity = vtoc->v_sanity; in fd_build_label_vtoc()
|
/titanic_44/usr/src/cmd/fdformat/ |
H A D | fdformat.c | 1297 fd_vtoc->v_sanity = VTOC_SANE; in write_SunOS_label()
|
/titanic_44/usr/src/lib/libfdisk/common/ |
H A D | libfdisk.c | 315 (((struct dk_label *)buf)->dkl_vtoc.v_sanity == VTOC_SANE)) { in fdisk_is_linux_swap()
|
/titanic_44/usr/src/cmd/fs.d/udfs/mkfs/ |
H A D | mkfs.c | 1474 if (vtoc.v_sanity != VTOC_SANE) { in get_last_block()
|
/titanic_44/usr/src/cmd/fs.d/udfs/fstyp/ |
H A D | ud_lib.c | 958 if (vtoc.v_sanity != VTOC_SANE) { in ud_get_num_blks()
|
/titanic_44/usr/src/uts/common/fs/udfs/ |
H A D | udf_vfsops.c | 1624 if (vtoc.v_sanity != VTOC_SANE) { in ud_get_last_block()
|