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

/freebsd-current/stand/efi/boot1/
H A Dufs_module.c116 if (dl == NULL || dl->d_magic != BSD_MAGIC || dl->d_magic2 != BSD_MAGIC)
118 if (dl->d_magic != BSD_MAGIC || dl->d_magic2 != BSD_MAGIC ||
/freebsd-current/sys/sys/disk/
H A Dbsd.h57 uint32_t d_magic; /* the magic number */ member in struct:disklabel
/freebsd-current/sys/geom/
H A Dgeom_bsd_enc.c73 d->d_magic = le32dec(ptr + 0);
74 if (d->d_magic != DISKMAGIC)
152 le32enc(ptr + 0, d->d_magic);
/freebsd-current/sys/geom/part/
H A Dg_part_bsd64.c58 uint32_t d_magic; /* the magic number */ member in struct:disklabel64
59 uint32_t d_crc; /* crc32() d_magic through last part */
360 if (pp->sectorsize > offsetof(struct disklabel64, d_magic))
479 v = rounddown2(pp->sectorsize + offsetof(struct disklabel64, d_magic),
484 v = le32dec(buf + offsetof(struct disklabel64, d_magic));
516 if (crc32(&dlp->d_magic, offsetof(struct disklabel64,
518 offsetof(struct disklabel64, d_magic)) != v32)
627 le32enc(&dlp->d_magic, DISKMAGIC64);
657 offsetof(struct disklabel64, d_magic);
658 le32enc(&dlp->d_crc, crc32(&dlp->d_magic,
[all...]
/freebsd-current/usr.bin/mkimg/
H A Dbsd.c86 le32enc(&d->d_magic, BSD_MAGIC);
/freebsd-current/lib/libc/gen/
H A Ddisklabel.c158 dp->d_magic = DISKMAGIC;
/freebsd-current/stand/i386/boot2/
H A Dboot2.c507 if (d->d_magic != DISKMAGIC || d->d_magic2 != DISKMAGIC) {
/freebsd-current/sbin/bsdlabel/
H A Dbsdlabel.c381 lp->d_magic = DISKMAGIC;
1460 loclab.d_magic = DISKMAGIC;
/freebsd-current/stand/common/
H A Dpart.c479 if (le32toh(dl->d_magic) != DISKMAGIC &&

Completed in 289 milliseconds