Home
last modified time | relevance | path

Searched refs:v_sanity (Results 1 – 25 of 29) sorted by relevance

12

/titanic_44/usr/src/uts/common/sys/
H A Dvtoc.h116 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 Ddklabel.h133 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 Drdwr_vtoc.c53 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 Dlabel.c767 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 Dpartition.c517 part->vtoc.v_sanity = VTOC_SANE; in set_vtoc_defaults()
H A Dauto_sense.c1529 vtoc->v_sanity = VTOC_SANE;
/titanic_44/usr/src/cmd/addbadsec/
H A Daddbadsec.c182 if ((vtoc.v_sanity != VTOC_SANE) || (vtoc.v_version != V_VERSION)) { in main()
/titanic_44/usr/src/cmd/fmthard/
H A Dfmthard.c268 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 Dfd.c882 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 Dcmlb.c2286 (((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 Dramdisk.c534 rsp->rd_vtoc.v_sanity = VTOC_SANE; in rd_fake_disk_geometry()
/titanic_44/usr/src/cmd/fs.d/udfs/fsck/
H A Dsetup.c607 if (vtoc.v_sanity != VTOC_SANE) { in get_last_block()
/titanic_44/usr/src/uts/sun4v/sys/
H A Dvdsk_common.h392 (vtoc)->v_sanity = VTOC_SANE; \
/titanic_44/usr/src/uts/sun4v/io/
H A Dvds.c1054 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 Drmf_slice.c1262 v_toc.v_sanity = VTOC_SANE; in write_default_label()
1450 v_toc.v_sanity = VTOC_SANE; in write_default_label()
H A Drmf_menu.c998 t_vtoc.v_sanity = VTOC_SANE; in process_s_flag()
H A Drmf_misc.c858 v_toc.v_sanity = VTOC_SANE; in write_sunos_label()
/titanic_44/usr/src/cmd/avs/nsctl/
H A Dnskernd.c671 if (vtoc.v_sanity != VTOC_SANE) in get_bsize()
/titanic_44/usr/src/uts/common/avs/ns/solaris/
H A Dnsc_raw.c654 if ((vtoc->v_sanity != VTOC_SANE) || in _raw_get_bsize()
/titanic_44/usr/src/uts/sun/io/
H A Dfd.c5681 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 Dfdformat.c1297 fd_vtoc->v_sanity = VTOC_SANE; in write_SunOS_label()
/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()
/titanic_44/usr/src/cmd/fs.d/udfs/mkfs/
H A Dmkfs.c1474 if (vtoc.v_sanity != VTOC_SANE) { in get_last_block()
/titanic_44/usr/src/cmd/fs.d/udfs/fstyp/
H A Dud_lib.c958 if (vtoc.v_sanity != VTOC_SANE) { in ud_get_num_blks()
/titanic_44/usr/src/uts/common/fs/udfs/
H A Dudf_vfsops.c1624 if (vtoc.v_sanity != VTOC_SANE) { in ud_get_last_block()

12