Searched refs:d_magic (Results 1 - 10 of 10) sorted by relevance

/freebsd-13-stable/stand/efi/boot1/
H A Dufs_module.c118 if (dl == NULL || dl->d_magic != BSD_MAGIC || dl->d_magic2 != BSD_MAGIC)
120 if (dl->d_magic != BSD_MAGIC || dl->d_magic2 != BSD_MAGIC ||
/freebsd-13-stable/sys/sys/disk/
H A Dbsd.h58 uint32_t d_magic; /* the magic number */ member in struct:disklabel
/freebsd-13-stable/sys/geom/
H A Dgeom_bsd_enc.c76 d->d_magic = le32dec(ptr + 0);
77 if (d->d_magic != DISKMAGIC)
155 le32enc(ptr + 0, d->d_magic);
/freebsd-13-stable/sys/geom/part/
H A Dg_part_bsd64.c61 u_int32_t d_magic; /* the magic number */ member in struct:disklabel64
62 u_int32_t d_crc; /* crc32() d_magic through last part */
363 if (pp->sectorsize > offsetof(struct disklabel64, d_magic))
482 v = rounddown2(pp->sectorsize + offsetof(struct disklabel64, d_magic),
487 v = le32dec(buf + offsetof(struct disklabel64, d_magic));
519 if (crc32(&dlp->d_magic, offsetof(struct disklabel64,
521 offsetof(struct disklabel64, d_magic)) != v32)
630 le32enc(&dlp->d_magic, DISKMAGIC64);
660 offsetof(struct disklabel64, d_magic);
661 le32enc(&dlp->d_crc, crc32(&dlp->d_magic,
[all...]
/freebsd-13-stable/lib/libc/gen/
H A Ddisklabel.c162 dp->d_magic = DISKMAGIC;
/freebsd-13-stable/usr.bin/mkimg/
H A Dbsd.c88 le32enc(&d->d_magic, BSD_MAGIC);
/freebsd-13-stable/stand/mips/beri/boot2/
H A Dboot2.c591 if (le32toh(d->d_magic) != DISKMAGIC ||
/freebsd-13-stable/stand/i386/boot2/
H A Dboot2.c510 if (d->d_magic != DISKMAGIC || d->d_magic2 != DISKMAGIC) {
/freebsd-13-stable/sbin/bsdlabel/
H A Dbsdlabel.c392 lp->d_magic = DISKMAGIC;
1477 loclab.d_magic = DISKMAGIC;
/freebsd-13-stable/stand/common/
H A Dpart.c484 if (le32toh(dl->d_magic) != DISKMAGIC &&

Completed in 197 milliseconds