Lines Matching defs:dl
50 struct disklabel *dl;
55 if ((dl = read_dl (fd)) == NULL) {
60 if (dl->d_secsize != AHDI_BSIZE) {
78 if (dl->d_secperunit != ptable->secperunit) {
80 ptable->secperunit = dl->d_secperunit;
87 ptable->nsectors = dl->d_nsectors;
88 ptable->ntracks = dl->d_ntracks;
89 ptable->ncylinders = dl->d_ncylinders;
90 ptable->secpercyl = dl->d_secpercyl;
256 struct disklabel *dl;
258 if ((dl = malloc (sizeof (struct disklabel))) == NULL) {
262 if (ioctl (fd, DIOCGDINFO, dl) < 0) {
263 free (dl);
266 return (dl);