Lines Matching defs:dl
175 struct disklabel *dl;
185 dl = (void*)(buf + LABELOFFSET);
187 if (le32toh(dl->d_magic) != DISKMAGIC ||
188 le32toh(dl->d_magic2) != DISKMAGIC) {
194 rawofs = le32toh(dl->d_partitions[RAW_PART].p_offset) *
195 le32toh(dl->d_secsize);
196 for (i = 0; i < le16toh(dl->d_npartitions); i++) {
197 if (dl->d_partitions[i].p_fstype == FS_UNUSED)
199 ofs = le32toh(dl->d_partitions[i].p_offset) *
200 le32toh(dl->d_secsize);
209 for (i = 0; i < le16toh(dl->d_npartitions); i++) {
212 fstypename(dl->d_partitions[i].p_fstype));
214 type = (*convert)(gpt, i, dl->d_partitions[i].p_fstype);
221 ofs = (le32toh(dl->d_partitions[i].p_offset) *
222 le32toh(dl->d_secsize)) / gpt->secsz;
226 (off_t)le32toh((uint64_t)dl->d_partitions[i].p_size)