Home
last modified time | relevance | path

Searched refs:VTOC_SANE (Results 1 – 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/lib/libadm/common/
H A Drdwr_vtoc.c107 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()
/illumos-gate/usr/src/cmd/fmthard/
H A Dfmthard.c271 exit(disk_vtoc.v_sanity == VTOC_SANE ? 0 : 1); in main()
723 vtoc->v_sanity = VTOC_SANE; in validate()
/illumos-gate/usr/src/cmd/addbadsec/
H A Daddbadsec.c182 if ((vtoc.v_sanity != VTOC_SANE) || (vtoc.v_version != V_VERSION)) { in main()
/illumos-gate/usr/src/cmd/format/
H A Dlabel.c749 if (vtoc->v_sanity != VTOC_SANE || in vtoc_to_label()
939 vtoc->v_sanity = VTOC_SANE; in label_to_vtoc()
H A Dpartition.c519 part->vtoc.v_sanity = VTOC_SANE; in set_vtoc_defaults()
H A Dauto_sense.c1472 vtoc->v_sanity = VTOC_SANE;
/illumos-gate/usr/src/uts/common/sys/
H A Dvtoc.h67 #define VTOC_SANE 0x600DDEEE /* Indicates a sane VTOC */ macro
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvdsk_common.h392 (vtoc)->v_sanity = VTOC_SANE; \
/illumos-gate/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.c860 v_toc.v_sanity = VTOC_SANE; in write_sunos_label()
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dsetup.c631 if (vtoc.v_sanity != VTOC_SANE) { in get_last_block()
/illumos-gate/usr/src/uts/common/io/
H A Dfd.c888 label->dkl_vtoc.v_sanity != VTOC_SANE) { in fdgetlabel()
1853 vtocp->v_sanity = VTOC_SANE; in fd_build_user_vtoc()
1895 if (vtocp->v_sanity != VTOC_SANE || in fd_build_label_vtoc()
H A Dcmlb.c2321 (((struct dk_label *)buf)->dkl_vtoc.v_sanity == VTOC_SANE)) {
3543 cl->cl_vtoc.v_sanity = VTOC_SANE;
4215 user_vtoc->v_sanity = VTOC_SANE;
4557 if (user_vtoc->v_sanity != VTOC_SANE ||
5018 if (cl->cl_vtoc.v_sanity == VTOC_SANE) {
H A Dramdisk.c534 rsp->rd_vtoc.v_sanity = VTOC_SANE; in rd_fake_disk_geometry()
H A Dlofi.c2455 vt->v_sanity = VTOC_SANE; in fake_disk_vtoc()
/illumos-gate/usr/src/cmd/mdb/common/modules/disk_label/
H A Ddisk_label.c913 mdb_printf("Label %s sane\n", dv->v_sanity == VTOC_SANE ? in cmd_vtoc()
/illumos-gate/usr/src/uts/sun/io/
H A Dfd.c383 VTOC_SANE, /* verify vtoc sanity */
409 VTOC_SANE, /* verify vtoc sanity */
439 VTOC_SANE, /* verify vtoc sanity */
465 VTOC_SANE, /* verify vtoc sanity */
5754 if ((vtoc->v_sanity != VTOC_SANE) || in fd_build_label_vtoc()
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvds.c1055 label->dkl_vtoc.v_sanity = VTOC_SANE; in vd_build_default_label()
2866 ASSERT(vtoc->v_sanity == VTOC_SANE); in vd_vtocgeom_to_label()
2882 label->dkl_vtoc.v_sanity = VTOC_SANE; in vd_vtocgeom_to_label()
3251 label.dkl_vtoc.v_sanity != VTOC_SANE) || in vd_dskimg_validate_geometry()
3344 if (vtoc->v_sanity != VTOC_SANE || in vd_do_dskimg_ioctl()
/illumos-gate/usr/src/cmd/fdformat/
H A Dfdformat.c1297 fd_vtoc->v_sanity = VTOC_SANE; in write_SunOS_label()
/illumos-gate/usr/src/lib/libfdisk/common/
H A Dlibfdisk.c316 (((struct dk_label *)buf)->dkl_vtoc.v_sanity == VTOC_SANE)) { in fdisk_is_linux_swap()
/illumos-gate/usr/src/cmd/fs.d/udfs/mkfs/
H A Dmkfs.c1474 if (vtoc.v_sanity != VTOC_SANE) { in get_last_block()
/illumos-gate/usr/src/cmd/fs.d/udfs/common/
H A Dud_lib.c947 if (vtoc.v_sanity != VTOC_SANE) { in ud_get_num_blks()
/illumos-gate/usr/src/uts/common/fs/udfs/
H A Dudf_vfsops.c1623 if (vtoc.v_sanity != VTOC_SANE) { in ud_get_last_block()
/illumos-gate/usr/src/cmd/fdisk/
H A Dfdisk.c4375 disk_vtoc.v_sanity = VTOC_SANE;

12