/openbsd/usr.sbin/installboot/ |
H A D | macppc_installboot.c | 81 if (dl.d_magic != DISKMAGIC) in md_prepareboot() 82 errx(1, "bad disklabel magic=0x%08x", dl.d_magic); in md_prepareboot() 104 if (dl.d_magic != DISKMAGIC) in md_installboot() 105 errx(1, "bad disklabel magic=0x%08x", dl.d_magic); in md_installboot()
|
H A D | octeon_installboot.c | 81 if (dl.d_magic != DISKMAGIC) in md_prepareboot() 82 errx(1, "bad disklabel magic=0x%08x", dl.d_magic); in md_prepareboot() 104 if (dl.d_magic != DISKMAGIC) in md_installboot() 105 errx(1, "bad disklabel magic=0x%08x", dl.d_magic); in md_installboot()
|
H A D | powerpc64_installboot.c | 83 if (dl.d_magic != DISKMAGIC) in md_prepareboot() 84 errx(1, "bad disklabel magic=0x%08x", dl.d_magic); in md_prepareboot() 106 if (dl.d_magic != DISKMAGIC) in md_installboot() 107 errx(1, "bad disklabel magic=0x%08x", dl.d_magic); in md_installboot()
|
H A D | i386_softraid.c | 60 if (dl.d_magic != DISKMAGIC) in sr_install_bootblk() 61 err(1, "bad disklabel magic=0x%08x", dl.d_magic); in sr_install_bootblk()
|
H A D | loongson_installboot.c | 85 if (dl.d_magic != DISKMAGIC) in md_installboot() 86 errx(1, "bad disklabel magic=0x%08x", dl.d_magic); in md_installboot()
|
H A D | efi_installboot.c | 98 if (dl.d_magic != DISKMAGIC) in md_prepareboot() 99 errx(1, "bad disklabel magic=0x%08x", dl.d_magic); in md_prepareboot() 127 if (dl.d_magic != DISKMAGIC) in md_installboot() 128 errx(1, "bad disklabel magic=0x%08x", dl.d_magic); in md_installboot()
|
H A D | i386_installboot.c | 140 if (dl.d_magic != DISKMAGIC) in md_prepareboot() 141 errx(1, "bad disklabel magic=0x%08x", dl.d_magic); in md_prepareboot() 163 if (dl.d_magic != DISKMAGIC) in md_installboot() 164 errx(1, "bad disklabel magic=0x%08x", dl.d_magic); in md_installboot()
|
/openbsd/sys/kern/ |
H A D | subr_disk.c | 194 if (swap32(dlp->d_magic) != DISKMAGIC || in checkdisklabel() 211 dlp->d_magic = swap32(dlp->d_magic); in checkdisklabel() 365 nlp.d_magic = 0; in readdoslabel() 370 if (nlp.d_magic != DISKMAGIC) in readdoslabel() 372 if (nlp.d_magic != DISKMAGIC) in readdoslabel() 374 if (nlp.d_magic != DISKMAGIC) { in readdoslabel() 397 nlp.d_magic = lp->d_magic; in readdoslabel() 690 lp->d_magic = DISKMAGIC; in spoofgpt() 839 lp->d_magic = DISKMAGIC; in spoofmbr() 869 lp->d_magic = DISKMAGIC; in spooffat() [all …]
|
/openbsd/sys/lib/libsa/ |
H A D | disklabel.c | 48 if (dlp->d_magic != DISKMAGIC || dlp->d_magic2 != DISKMAGIC) { in getdisklabel()
|
/openbsd/sys/arch/landisk/stand/xxboot/ |
H A D | boot1.c | 79 if (ptn_disklabel.d_magic != DISKMAGIC) in boot1()
|
/openbsd/sys/arch/alpha/stand/nboot/ |
H A D | disk.c | 131 } else if (((struct disklabel *)(buf + LABELOFFSET))->d_magic != in diskopen()
|
/openbsd/lib/libc/gen/ |
H A D | disklabel.c | 129 dp->d_magic = DISKMAGIC; in getdiskbyname()
|
/openbsd/sys/arch/alpha/stand/boot/ |
H A D | disk.c | 139 } else if (((struct disklabel *)(buf + LABELOFFSET))->d_magic != in diskopen()
|
/openbsd/sys/arch/luna88k/stand/boot/ |
H A D | ufs_disksubr.c | 150 lp->d_magic = DISKMAGIC; in readdisklabel()
|
/openbsd/sys/isofs/udf/ |
H A D | udf_subr.c | 176 lp->d_magic = DISKMAGIC; in udf_disklabelspoof()
|
/openbsd/sys/arch/sparc64/stand/ofwboot/ |
H A D | ofdev.c | 291 lp->d_magic = DISKMAGIC; in disklabel_sun_to_bsd() 450 if (dlp->d_magic == DISKMAGIC) { in search_label()
|
/openbsd/sbin/disklabel/ |
H A D | disklabel.c | 310 lp->d_magic = DISKMAGIC; in writelabel() 1103 lab1.d_magic = lab2.d_magic; in cmplabel()
|
/openbsd/sys/arch/hppa/hppa/ |
H A D | disksubr.c | 187 lp->d_magic = DISKMAGIC; in readliflabel()
|
/openbsd/sys/sys/ |
H A D | disklabel.h | 81 u_int32_t d_magic; /* the magic number */ member
|
/openbsd/sys/dev/ |
H A D | rd.c | 334 lp->d_magic = DISKMAGIC; in rdgetdisklabel()
|
/openbsd/sys/arch/amd64/stand/libsa/ |
H A D | diskprobe.c | 280 dip->disklabel.d_magic = DISKMAGIC; in cdprobe()
|
/openbsd/sys/arch/i386/stand/libsa/ |
H A D | diskprobe.c | 355 dip->disklabel.d_magic = DISKMAGIC; in cdprobe()
|
H A D | softraid_i386.c | 415 ((struct disklabel *)buf)->d_magic); in sr_getdisklabel()
|
/openbsd/sys/arch/luna88k/luna88k/ |
H A D | disksubr.c | 258 lp->d_magic = DISKMAGIC; in disklabel_om_to_bsd()
|
/openbsd/sys/arch/sparc64/sparc64/ |
H A D | disksubr.c | 241 lp->d_magic = DISKMAGIC; in disklabel_sun_to_bsd()
|