Home | History | Annotate | Download | only in ofwboot

Lines Matching defs:sl

253 	struct sun_disklabel *sl;
259 sl = (struct sun_disklabel *)cp;
262 sp1 = (u_short *)sl;
263 sp2 = (u_short *)(sl + 1);
273 memcpy(lp->d_packname, sl->sl_text, sizeof(lp->d_packname));
276 lp->d_nsectors = sl->sl_nsectors;
277 lp->d_ntracks = sl->sl_ntracks;
278 lp->d_ncylinders = sl->sl_ncylinders;
280 secpercyl = sl->sl_nsectors * sl->sl_ntracks;
282 lp->d_secperunit = secpercyl * sl->sl_ncylinders;
284 lp->d_sparespercyl = sl->sl_sparespercyl;
285 lp->d_acylinders = sl->sl_acylinders;
286 lp->d_rpm = sl->sl_rpm;
287 lp->d_interleave = sl->sl_interleave;
295 spp = &sl->sl_part[i];