Home
last modified time | relevance | path

Searched refs:DKL_MAGIC (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/
H A Ddklabel.h41 #define DKL_MAGIC 0xDABE /* magic number */ macro
/illumos-gate/usr/src/cmd/format/
H A Dlabel.c79 if (label->dkl_magic != DKL_MAGIC) in checklabel()
325 label.dkl_magic = DKL_MAGIC; in write_label()
762 label->dkl_magic = DKL_MAGIC; in vtoc_to_label()
H A Dauto_sense.c580 label->dkl_magic = DKL_MAGIC; in auto_label_init()
1304 label->dkl_magic = DKL_MAGIC; in generic_disk_sense()
1414 label->dkl_magic = DKL_MAGIC; in use_existing_disk_type()
H A Dmenu_command.c1701 label.dkl_magic = DKL_MAGIC; in c_label()
/illumos-gate/usr/src/cmd/mdb/common/modules/disk_label/
H A Ddisk_label.c910 dl->dkl_magic == DKL_MAGIC ? "valid" : "invalid"); in cmd_vtoc()
911 if (dl->dkl_magic != DKL_MAGIC) in cmd_vtoc()
/illumos-gate/usr/src/uts/common/io/
H A Dfd.c887 if (label->dkl_magic != DKL_MAGIC || in fdgetlabel()
1997 labelp->dkl_magic = DKL_MAGIC; in fd_build_label_vtoc()
H A Dcmlb.c2320 if ((((struct dk_label *)buf)->dkl_magic == DKL_MAGIC) &&
2834 if (((struct dk_label *)buf)->dkl_magic == DKL_MAGIC) {
3031 if (labp->dkl_magic != DKL_MAGIC) {
4940 dkl->dkl_magic = DKL_MAGIC;
/illumos-gate/usr/src/lib/libfdisk/common/
H A Dlibfdisk.c315 if ((((struct dk_label *)buf)->dkl_magic == DKL_MAGIC) && in fdisk_is_linux_swap()
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvds.c1060 label->dkl_magic = DKL_MAGIC; in vd_build_default_label()
1682 if (label->dkl_magic != DKL_MAGIC || in vd_slice_flabel_write()
2905 label->dkl_magic = DKL_MAGIC; in vd_vtocgeom_to_label()
3248 if (label.dkl_magic != DKL_MAGIC || in vd_dskimg_validate_geometry()
H A Dvdc.c8435 if (rv != 0 || label->dkl_magic != DKL_MAGIC || in vdc_validate_geometry()
/illumos-gate/usr/src/uts/sun/io/
H A Dfd.c5362 if (label->dkl_magic != DKL_MAGIC) { in fdgetlabel()
5841 un->un_label.dkl_magic = DKL_MAGIC; in fd_build_label_vtoc()