Home | History | Annotate | Download | only in ofppc

Lines Matching defs:rbp

236 	struct rdblock *rbp;
289 rbp = baddr(bp);
290 if (rbp->id == RDBLOCK_ID) {
291 if (rdbchksum(rbp) == 0)
321 lp->d_secsize = rbp->nbytes;
322 lp->d_nsectors = rbp->nsectors;
323 lp->d_ntracks = rbp->nheads;
328 if (rbp->highcyl == 0)
329 lp->d_ncylinders = rbp->ncylinders;
331 lp->d_ncylinders = rbp->highcyl + 1;
335 lp->d_secpercyl = uimin(rbp->secpercyl, lp->d_nsectors * lp->d_ntracks);
339 if (lp->d_ncylinders != rbp->ncylinders)
341 "rdb->highcyl(%u) + 1\n", rbp->ncylinders,
342 rbp->highcyl);
343 if (lp->d_nsectors * lp->d_ntracks != rbp->secpercyl)
345 "rdb->nsectors(%u) * rdb->nheads(%u)\n", rbp->secpercyl,
346 rbp->nsectors, rbp->nheads);
349 uimax(rbp->secpercyl, lp->d_nsectors * lp->d_ntracks)
364 lp->d_acylinders = rbp->ncylinders - (rbp->highcyl - rbp->lowcyl + 1);
366 lp->d_interleave = rbp->interleave;
368 lp->d_trkseek = /* rbp->steprate */ 0;
373 lp->d_partitions[RAW_PART].p_size = rbp->ncylinders * lp->d_secpercyl;
380 for (nextb = rbp->partbhead; nextb != RDBNULL; nextb = pbp->next) {