roundup2
esize = ssize = roundup2(esize, B_PAGE_SIZE);
esize = roundup2(esize, alignment);
xfer = fwmem_xfer_req(fwdev, sc, spd, 0, roundup2(len, 4), (void*)hand);
cycle = roundup2(cycle, CYCLE_MOD);
r += roundup2(fp->mode.wreqb.len, sizeof(uint32_t));
sc->arrq.xferq.psize = roundup2(FWPMAX_S400, B_PAGE_SIZE);
sc->arrs.xferq.psize = roundup2(FWPMAX_S400, B_PAGE_SIZE);
sc->atrq.xferq.psize = roundup2(FWPMAX_S400, B_PAGE_SIZE);
sc->atrs.xferq.psize = roundup2(FWPMAX_S400, B_PAGE_SIZE);
b->psize = roundup2(b->psize, sizeof(uint32_t));
roundup2(sc->hw.mac.max_frame_size, 1024);
scctx->isc_txqsizes[0] = roundup2(scctx->isc_ntxd[0] *
scctx->isc_rxqsizes[0] = roundup2(scctx->isc_nrxd[0] *
scctx->isc_txqsizes[0] = roundup2(scctx->isc_ntxd[0] *
scctx->isc_rxqsizes[0] = roundup2(scctx->isc_nrxd[0] *
scctx->isc_txqsizes[0] = roundup2(scctx->isc_ntxd[0] *
scctx->isc_rxqsizes[0] = roundup2(scctx->isc_nrxd[0] *
scctx->isc_txqsizes[0] = roundup2((scctx->isc_ntxd[0] + 1) *
scctx->isc_rxqsizes[0] = roundup2((scctx->isc_nrxd[0] + 1) *
min_tx = roundup2(min_tx, 1024);
min_rx = roundup2(min_rx, 1024);
roundup2(hw->mac.max_frame_size, 1024);
count = imin(4096, roundup2(count, 1024));
return (roundup2(totlen, 128));
return (roundup2(totlen, 8));
bzero(&t[0], roundup2(len, sizeof(uint32_t)));
#define CACHE_PTR_NEXT(ptr) ((void *)(roundup2((intptr_t)ptr, CACHE_LINE_SIZE)))
#ifdef roundup2
#define _bit_roundup2 roundup2
newsize = roundup2(size, SBUF_MAXEXTENDINCR);
socksize = roundup2(socksize, sizeof(long));
len = roundup2(headroom + pktlen, 4);
m_adj(m, roundup2(framelen, 4) - framelen); /* padding */
off = roundup2(off, items[i].align);
th->it_len = htole16(roundup2(tlen, sizeof(uint32_t)));
rh->it_len = htole16(roundup2(rlen, sizeof(uint32_t)));
m_adj(n, roundup2(framelen, 4) - framelen); /* padding */
pad = roundup2(m1->m_pkthdr.len, 4) - m1->m_pkthdr.len;
pad = roundup2(m1->m_pkthdr.len, 4) - m1->m_pkthdr.len;
#define EVAL(p) (u_char **)roundup2((uintptr_t)p, PSIZE)