Home
last modified time | relevance | path

Searched refs:d_magic (Results 1 – 25 of 43) sorted by relevance

12

/openbsd/usr.sbin/installboot/
H A Dmacppc_installboot.c81 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 Docteon_installboot.c81 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 Dpowerpc64_installboot.c83 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 Di386_softraid.c60 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 Dloongson_installboot.c85 if (dl.d_magic != DISKMAGIC) in md_installboot()
86 errx(1, "bad disklabel magic=0x%08x", dl.d_magic); in md_installboot()
H A Defi_installboot.c98 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 Di386_installboot.c140 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 Dsubr_disk.c194 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 Ddisklabel.c48 if (dlp->d_magic != DISKMAGIC || dlp->d_magic2 != DISKMAGIC) { in getdisklabel()
/openbsd/sys/arch/landisk/stand/xxboot/
H A Dboot1.c79 if (ptn_disklabel.d_magic != DISKMAGIC) in boot1()
/openbsd/sys/arch/alpha/stand/nboot/
H A Ddisk.c131 } else if (((struct disklabel *)(buf + LABELOFFSET))->d_magic != in diskopen()
/openbsd/lib/libc/gen/
H A Ddisklabel.c129 dp->d_magic = DISKMAGIC; in getdiskbyname()
/openbsd/sys/arch/alpha/stand/boot/
H A Ddisk.c139 } else if (((struct disklabel *)(buf + LABELOFFSET))->d_magic != in diskopen()
/openbsd/sys/arch/luna88k/stand/boot/
H A Dufs_disksubr.c150 lp->d_magic = DISKMAGIC; in readdisklabel()
/openbsd/sys/isofs/udf/
H A Dudf_subr.c176 lp->d_magic = DISKMAGIC; in udf_disklabelspoof()
/openbsd/sys/arch/sparc64/stand/ofwboot/
H A Dofdev.c291 lp->d_magic = DISKMAGIC; in disklabel_sun_to_bsd()
450 if (dlp->d_magic == DISKMAGIC) { in search_label()
/openbsd/sbin/disklabel/
H A Ddisklabel.c310 lp->d_magic = DISKMAGIC; in writelabel()
1103 lab1.d_magic = lab2.d_magic; in cmplabel()
/openbsd/sys/arch/hppa/hppa/
H A Ddisksubr.c187 lp->d_magic = DISKMAGIC; in readliflabel()
/openbsd/sys/sys/
H A Ddisklabel.h81 u_int32_t d_magic; /* the magic number */ member
/openbsd/sys/dev/
H A Drd.c334 lp->d_magic = DISKMAGIC; in rdgetdisklabel()
/openbsd/sys/arch/amd64/stand/libsa/
H A Ddiskprobe.c280 dip->disklabel.d_magic = DISKMAGIC; in cdprobe()
/openbsd/sys/arch/i386/stand/libsa/
H A Ddiskprobe.c355 dip->disklabel.d_magic = DISKMAGIC; in cdprobe()
H A Dsoftraid_i386.c415 ((struct disklabel *)buf)->d_magic); in sr_getdisklabel()
/openbsd/sys/arch/luna88k/luna88k/
H A Ddisksubr.c258 lp->d_magic = DISKMAGIC; in disklabel_om_to_bsd()
/openbsd/sys/arch/sparc64/sparc64/
H A Ddisksubr.c241 lp->d_magic = DISKMAGIC; in disklabel_sun_to_bsd()

12