Searched refs:d_magic (Results 1 - 10 of 10) sorted by relevance
/freebsd-13-stable/stand/efi/boot1/ |
H A D | ufs_module.c | 118 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 D | bsd.h | 58 uint32_t d_magic; /* the magic number */ member in struct:disklabel
|
/freebsd-13-stable/sys/geom/ |
H A D | geom_bsd_enc.c | 76 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 D | g_part_bsd64.c | 61 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 D | disklabel.c | 162 dp->d_magic = DISKMAGIC;
|
/freebsd-13-stable/usr.bin/mkimg/ |
H A D | bsd.c | 88 le32enc(&d->d_magic, BSD_MAGIC);
|
/freebsd-13-stable/stand/mips/beri/boot2/ |
H A D | boot2.c | 591 if (le32toh(d->d_magic) != DISKMAGIC ||
|
/freebsd-13-stable/stand/i386/boot2/ |
H A D | boot2.c | 510 if (d->d_magic != DISKMAGIC || d->d_magic2 != DISKMAGIC) {
|
/freebsd-13-stable/sbin/bsdlabel/ |
H A D | bsdlabel.c | 392 lp->d_magic = DISKMAGIC; 1477 loclab.d_magic = DISKMAGIC;
|
/freebsd-13-stable/stand/common/ |
H A D | part.c | 484 if (le32toh(dl->d_magic) != DISKMAGIC &&
|
Completed in 197 milliseconds