Lines Matching defs:dlp
42 struct disklabel *dlp, *elp;
45 elp = (struct disklabel *)(buf + DEV_BSIZE - sizeof(*dlp));
46 for (dlp = (struct disklabel *)buf; dlp <= elp;
47 dlp = (struct disklabel *)((char *)dlp + sizeof(long))) {
48 if (dlp->d_magic != DISKMAGIC || dlp->d_magic2 != DISKMAGIC) {
51 } else if (dlp->d_npartitions > MAXPARTITIONS ||
52 dkcksum(dlp) != 0)
55 *lp = *dlp;