Searched refs:secbyt (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/boot/lib/libstand/
H A Ddosfs.c109 #define secbyt(s) ((s) << SSHIFT) macro
117 #define blkoff(fs, b) (secbyt((fs)->lsndta) + blkbyt(fs, (b) - LOCLUS))
172 fat.buf = malloc(secbyt(fs->spf));
175 if (ioget(fd, fs->lsnfat, 0, fat.buf, secbyt(fs->spf)) == 0) {
201 if ((err = !(buf = malloc(secbyt(1))) ? errno : 0) ||
202 (err = ioget(fs->fd, 0, 0, buf, secbyt(1))) ||
336 secbyt(f->fs->lsndir)) + off, buf, n)))
524 fs->bsize = secbyt(fs->spc);
550 sc = (secbyt(fs->spf) << 1) / (fs->fatsz >> 2) - 1;
622 if ((err = ioget(fs->fd, lsec + sec, 0, dir, secbyt(
[all...]

Completed in 58 milliseconds