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

/illumos-gate/usr/src/uts/common/io/
H A Dmem.c88 #define BTOP(x) ((pgcnt_t)((x) >> _pageshift)) macro
388 v = BTOP((u_offset_t)uio->uio_loffset);
816 if (pf >= BTOP(pmem->ml_address) &&
817 pf < BTOP(pmem->ml_address + pmem->ml_size)) {
/illumos-gate/usr/src/cmd/savecore/
H A Dsavecore.c849 #define BTOP(b) ((b) >> dumphdr.dump_pageshift) macro
948 } else if (++s->nout >= BTOP(coreblksize) ||
1063 } else if (++s->nout >= BTOP(coreblksize) ||
1295 } else if (++nout >= BTOP(coreblksize) ||
1362 hist = Zalloc((sizeof (uint64_t) * BTOP(coreblksize)) + 1);
1986 for (i = 1, nw = 0; i <= BTOP(coreblksize); ++i)
1989 for (i = 0; i <= BTOP(coreblksize); ++i) {

Completed in 61 milliseconds