/illumos-gate/usr/src/lib/libadm/common/ |
H A D | rdwr_vtoc.c | 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()
|
/illumos-gate/usr/src/cmd/fmthard/ |
H A D | fmthard.c | 271 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 D | addbadsec.c | 182 if ((vtoc.v_sanity != VTOC_SANE) || (vtoc.v_version != V_VERSION)) { in main()
|
/illumos-gate/usr/src/cmd/format/ |
H A D | label.c | 749 if (vtoc->v_sanity != VTOC_SANE || in vtoc_to_label() 939 vtoc->v_sanity = VTOC_SANE; in label_to_vtoc()
|
H A D | partition.c | 519 part->vtoc.v_sanity = VTOC_SANE; in set_vtoc_defaults()
|
H A D | auto_sense.c | 1472 vtoc->v_sanity = VTOC_SANE;
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | vtoc.h | 67 #define VTOC_SANE 0x600DDEEE /* Indicates a sane VTOC */ macro
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vdsk_common.h | 392 (vtoc)->v_sanity = VTOC_SANE; \
|
/illumos-gate/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 | 860 v_toc.v_sanity = VTOC_SANE; in write_sunos_label()
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | setup.c | 631 if (vtoc.v_sanity != VTOC_SANE) { in get_last_block()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | fd.c | 888 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 D | cmlb.c | 2321 (((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 D | ramdisk.c | 534 rsp->rd_vtoc.v_sanity = VTOC_SANE; in rd_fake_disk_geometry()
|
H A D | lofi.c | 2455 vt->v_sanity = VTOC_SANE; in fake_disk_vtoc()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/disk_label/ |
H A D | disk_label.c | 913 mdb_printf("Label %s sane\n", dv->v_sanity == VTOC_SANE ? in cmd_vtoc()
|
/illumos-gate/usr/src/uts/sun/io/ |
H A D | fd.c | 383 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 D | vds.c | 1055 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 D | fdformat.c | 1297 fd_vtoc->v_sanity = VTOC_SANE; in write_SunOS_label()
|
/illumos-gate/usr/src/lib/libfdisk/common/ |
H A D | libfdisk.c | 316 (((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 D | mkfs.c | 1474 if (vtoc.v_sanity != VTOC_SANE) { in get_last_block()
|
/illumos-gate/usr/src/cmd/fs.d/udfs/common/ |
H A D | ud_lib.c | 947 if (vtoc.v_sanity != VTOC_SANE) { in ud_get_num_blks()
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_vfsops.c | 1623 if (vtoc.v_sanity != VTOC_SANE) { in ud_get_last_block()
|
/illumos-gate/usr/src/cmd/fdisk/ |
H A D | fdisk.c | 4375 disk_vtoc.v_sanity = VTOC_SANE;
|