Home | History | Annotate | Download | only in boot

Lines Matching defs:dlp

98 	struct disklabel *dlp;
115 for (dlp = (struct disklabel *)bp;
116 dlp <= (struct disklabel *)(bp + DEV_BSIZE - sizeof(*dlp));
117 dlp = (struct disklabel *)((char *)dlp + sizeof(long))) {
118 if (dlp->d_magic != DISKMAGIC ||
119 dlp->d_magic2 != DISKMAGIC) {
122 } else if (dlp->d_npartitions > MAXPARTITIONS ||
123 dkcksum(dlp) != 0)
126 *lp = *dlp;