Home
last modified time | relevance | path

Searched refs:d_magic2 (Results 1 – 25 of 29) sorted by relevance

12

/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.c81 if (ptn_disklabel.d_magic2 != DISKMAGIC) in boot1()
/openbsd/lib/libc/gen/
H A Ddisklabel.c130 dp->d_magic2 = DISKMAGIC; in getdiskbyname()
/openbsd/sys/arch/luna88k/stand/boot/
H A Dufs_disksubr.c151 lp->d_magic2 = DISKMAGIC; in readdisklabel()
/openbsd/sys/isofs/udf/
H A Dudf_subr.c177 lp->d_magic2 = DISKMAGIC; in udf_disklabelspoof()
/openbsd/sys/kern/
H A Dsubr_disk.c179 if (dlp->d_magic != DISKMAGIC || dlp->d_magic2 != DISKMAGIC) in checkdisklabel()
195 swap32(dlp->d_magic2) != DISKMAGIC || in checkdisklabel()
235 dlp->d_magic2 = swap32(dlp->d_magic2); in checkdisklabel()
895 if (nlp->d_magic != DISKMAGIC || nlp->d_magic2 != DISKMAGIC || in setdisklabel()
/openbsd/sbin/disklabel/
H A Ddisklabel.c311 lp->d_magic2 = DISKMAGIC; in writelabel()
1104 lab1.d_magic2 = lab2.d_magic2; in cmplabel()
/openbsd/sys/arch/hppa/hppa/
H A Ddisksubr.c188 lp->d_magic2 = DISKMAGIC; in readliflabel()
/openbsd/sys/sys/
H A Ddisklabel.h115 u_int32_t d_magic2; /* the magic number (again) */ member
/openbsd/sys/dev/
H A Drd.c335 lp->d_magic2 = DISKMAGIC; in rdgetdisklabel()
H A Dvnd.c234 lp->d_magic2 = DISKMAGIC; in vndgetdisklabel()
/openbsd/sys/arch/amd64/stand/libsa/
H A Ddiskprobe.c281 dip->disklabel.d_magic2 = DISKMAGIC; in cdprobe()
/openbsd/sys/arch/i386/stand/libsa/
H A Ddiskprobe.c356 dip->disklabel.d_magic2 = DISKMAGIC; in cdprobe()
/openbsd/sys/arch/luna88k/luna88k/
H A Ddisksubr.c259 lp->d_magic2 = DISKMAGIC; in disklabel_om_to_bsd()
/openbsd/sys/arch/sparc64/sparc64/
H A Ddisksubr.c242 lp->d_magic2 = DISKMAGIC; in disklabel_sun_to_bsd()
/openbsd/sys/arch/armv7/stand/efiboot/
H A Defidev.c482 label->d_magic2 = DISKMAGIC; in efi_getdisklabel_cd9660()
/openbsd/sys/arch/riscv64/stand/efiboot/
H A Defidev.c482 label->d_magic2 = DISKMAGIC; in efi_getdisklabel_cd9660()
/openbsd/sys/arch/sparc64/stand/ofwboot/
H A Dofdev.c292 lp->d_magic2 = DISKMAGIC; in disklabel_sun_to_bsd()
/openbsd/sys/arch/amd64/stand/efiboot/
H A Defidev.c492 label->d_magic2 = DISKMAGIC; in efi_getdisklabel_cd9660()
/openbsd/sys/arch/arm64/stand/efiboot/
H A Defidev.c482 label->d_magic2 = DISKMAGIC; in efi_getdisklabel_cd9660()
/openbsd/sys/arch/octeon/dev/
H A Doctcf.c520 lp->d_magic2 = DISKMAGIC; in octcfgetdefaultlabel()
H A Damdcf.c386 lp->d_magic2 = DISKMAGIC; in amdcfgetdisklabel()
/openbsd/sys/isofs/cd9660/
H A Dcd9660_vfsops.c512 lp->d_magic2 = DISKMAGIC; in iso_disklabelspoof()
/openbsd/sys/dev/ata/
H A Dwd.c729 lp->d_magic2 = DISKMAGIC; in wdgetdefaultlabel()
/openbsd/sys/dev/isa/
H A Dfd.c173 lp->d_magic2 = DISKMAGIC; in fdgetdisklabel()

12