roundup
sc->ale_pagesize = roundup(guard_size + ALE_RX_PAGE_SZ,
rx_page->cons += roundup(length + sizeof(struct rx_rs),
roundup(reg, TX_JUMBO_THRESH_UNIT) >>
reg = roundup(sc->ale_max_frame_size, RX_JUMBO_THRESH_UNIT);
(roundup(ALE_MAX_FRAMELEN, ALE_RX_PAGE_ALIGN) * ALE_RX_FRAMES_PAGE)
fsize = roundup(sc->age_max_frame_size, sizeof(uint64_t));
roundup(sizeof(uint16_t) * numChannels, sizeof(uint32_t)) +
roundup(sizeof(uint16_t) * numChannels, sizeof(uint32_t)));
roundup(sizeof(uint16_t) * pe->numChannels,
#ifndef roundup
step = roundup(channelSep, fband->channelSep);
HALASSERT(roundup(bs->bs_sleepduration, beaconintval) ==
roundup(bs->bs_sleepduration, dtimperiod) ==
HALASSERT(roundup(bs->bs_sleepduration, beaconintval) ==
roundup(bs->bs_sleepduration, dtimperiod) ==
nexttbtt = roundup(nexttbtt, intval);
roundup(IEEE80211_MS_TO_TU(100), bs.bs_intval);
bs.bs_sleepduration = roundup(bs.bs_sleepduration, bs.bs_dtimperiod);
ath_hal_computetxtime(ah, rt, roundup(m->m_len, 4),
segLenList[0] = roundup(m->m_len, 4);
sc->sc_tdmabintval = roundup((sc->sc_tdmaslotlen+sc->sc_tdmaguard) *
tx_ring_sz = roundup(desc_sz * BWI_TX_NDESC, BWI_RING_ALIGN);
rx_ring_sz = roundup(desc_sz * BWI_RX_NDESC, BWI_RING_ALIGN);
dma_size = roundup(desc_sz * BWI_TXSTATS_NDESC, BWI_RING_ALIGN);
dma_size = roundup(sizeof(struct bwi_txstats) * BWI_TXSTATS_NDESC,
roundup(len, IWX_FH_RSCSR_FRAME_ALIGN);
offset += roundup(len, IWX_FH_RSCSR_FRAME_ALIGN);
if (roundup(tlv_len, 4) > len)
len -= roundup(tlv_len, 4);
data += roundup(tlv_len, 4);
if (roundup(tlv_len, 4) > len)
len -= roundup(tlv_len, 4);
data += roundup(tlv_len, 4);
if (len < tlv_len || roundup(tlv_len, 4) > len)
data += sizeof(*tlv) + roundup(tlv_len, 4);
len -= roundup(tlv_len, 4);
data += sizeof(*tlv) + roundup(tlv_len, 4);
len -= roundup(tlv_len, 4);
keep_alive = roundup(keep_alive, 1000) / 1000;
size = roundup(sizeof(*cmd), 4);
if (roundup(tlv_len, 4) > len)
len -= roundup(tlv_len, 4);
data += roundup(tlv_len, 4);
size = roundup(sizeof(*cmd), 4);
roundup(len, IWM_FH_RSCSR_FRAME_ALIGN);
offset += roundup(len, IWM_FH_RSCSR_FRAME_ALIGN);
len = roundup(len, 4) / 4;
keep_alive = roundup(keep_alive, 1000) / 1000;
jumbosize = roundup(MWL_AGGR_SIZE, PAGE_SIZE);
bcn_size = roundup(RTWN_BCN_MAX_SIZE, sc->page_size);
ptr += roundup(null_size, sc->page_size);
size = roundup(ulmin(fatblocksec, pmp->pm_FATsecs - bn) * DEV_BSIZE,
#ifndef roundup
fatVolume->pm_fatblocksize = roundup(fatVolume->pm_fatblocksize, fatVolume->pm_BytesPerSec);
size = roundup(size + offset, B_PAGE_SIZE);
reqsize = roundup(reqsize, B_PAGE_SIZE);
char condition[roundup((sizeof(void*) * 5) + sizeof(spinlock) + sizeof(int32), sizeof(void*))];
len = roundup(s->s_sect_len, pad) - s->s_sect_len;
return roundup(len, sizeof(uint32_t));
return roundup(sizeof(struct ieee80211req_sta_info) + *ielen,
hdrlen = roundup(hdrlen, sizeof(uint32_t));
hdrspace = roundup(hdrsize, sizeof(uint32_t));
hdrspace = roundup(hdrsize, sizeof(uint32_t));
m_adj(m, roundup(sizeof(uint32_t) - 2, 4) + 2);
size = roundup(size, sizeof(uint32_t));
size = roundup(size, sizeof(uint32_t));
const int32 roundedSize = roundup(size, 4);