DL_SECTOBLK
xtrablks = DL_SECTOBLK(lp, editor_countfree(lp));
while (daddr < DL_SECTOBLK(&dl, disk.dk_sectors))
fs->fs_nspf = DL_SECTOBLK(lp, fs->fs_fsize / lp->d_secsize);
fs->fs_size = DL_SECTOBLK(lp, DL_GETPSIZE(pp)) / fs->fs_nspf;
sblock.fs_size = dbtofsb(&osblock, DL_SECTOBLK(lp, DL_GETPSIZE(pp)));
sblock.fs_size = dbtofsb(&osblock, DL_SECTOBLK(lp, size));
wtfs(DL_SECTOBLK(lp, DL_GETPSIZE(pp) - 1), lp->d_secsize,
if (loadblocknums(boot, devfd, DL_SECTOBLK(&dl, partoffset)) != 0)
error = dip->strategy(dip, F_READ, DL_SECTOBLK(&dip->disklabel, sec),
blk += DL_SECTOBLK(&dip->disklabel,
error = dip->strategy(dip, F_READ, DL_SECTOBLK(&dip->disklabel, sec),
off = DL_SECTOBLK(&dip->disklabel, DL_GETPOFFSET(pp));
blk += DL_SECTOBLK(&sr_dip->disklabel,
blk += DL_SECTOBLK(&dip->disklabel,
off = DL_SECTOBLK(&dip->disklabel, DL_GETPOFFSET(pp));
blk += DL_SECTOBLK(&sr_dip->disklabel,
blk += DL_SECTOBLK(&dip->disklabel,
error = dip->strategy(dip, F_READ, DL_SECTOBLK(&dip->disklabel, sec),
off = DL_SECTOBLK(&dip->disklabel, DL_GETPOFFSET(pp));
size = DL_SECTOBLK(lp, DL_GETPSIZE(&lp->d_partitions[part]));
size = DL_SECTOBLK(lp, DL_GETPSIZE(&lp->d_partitions[part]));
blk += DL_SECTOBLK(&dip->disklabel,
off = DL_SECTOBLK(&dip->disklabel, DL_GETPOFFSET(pp));
blk += DL_SECTOBLK(&sr_dip->disklabel,
ofdev.partoff = DL_SECTOBLK(&dip->disklabel,
wd->sc_wdc_bio.blkno = DL_BLKTOSEC(lp, bp->b_blkno + DL_SECTOBLK(lp,
size = DL_SECTOBLK(lp, DL_GETPSIZE(&lp->d_partitions[part]));
size = DL_SECTOBLK(label, DL_GETPSIZE(&label->d_partitions[part]));
size = DL_SECTOBLK(label, DL_GETPSIZE(&label->d_partitions[part]));
size = DL_SECTOBLK(label, DL_GETPSIZE(&label->d_partitions[part]));
DL_SECTOBLK(&dl, DL_GETPOFFSET(pp));
sn += DL_SECTOBLK(lp, DL_GETPOFFSET(&lp->d_partitions[part]));
(long long)(sn / DL_SECTOBLK(lp, lp->d_secpercyl)));
sn %= DL_SECTOBLK(lp, lp->d_secpercyl);
(long long)(sn / DL_SECTOBLK(lp, lp->d_nsectors)),
(long long)(sn % DL_SECTOBLK(lp, lp->d_nsectors)));
bp->b_blkno = DL_SECTOBLK(lp, sector);
partoff = DL_SECTOBLK(lp, lbastart);
partoff = DL_SECTOBLK(lp, start);
if (labeloff >= DL_SECTOBLK(lp, start) &&
labeloff < DL_SECTOBLK(lp, end))
partoff = DL_SECTOBLK(lp, start);
if (labeloff >= DL_SECTOBLK(lp, end))
partblocks = DL_SECTOBLK(lp, DL_GETPSIZE(p));
hib->sig_offset = DL_SECTOBLK(dl, hib->sig_offset);
DL_SECTOBLK(dl, DL_GETPOFFSET(&dl->d_partitions[part])),
DL_SECTOBLK(dl, DL_GETPSIZE(&dl->d_partitions[part])),
size = DL_SECTOBLK(lp, DL_GETPSIZE(&lp->d_partitions[part]));
sbread(devfd, DL_SECTOBLK(dl, pp->p_offset), &fs, sblock);
devread(devfd, buf, DL_SECTOBLK(dl, pp->p_offset) + blk,