Symbol: roundup
crypto/heimdal/appl/rcp/util.c
141
#ifndef roundup
crypto/heimdal/appl/rcp/util.c
158
size = roundup(stb.st_blksize, blksize);
crypto/openssh/defines.h
502
#ifndef roundup
crypto/openssh/regress/unittests/sshbuf/test_sshbuf.c
205
sz = roundup(1223 + SSHBUF_SIZE_INC * 3, SSHBUF_SIZE_INC);
crypto/openssh/regress/unittests/sshbuf/test_sshbuf.c
26
#ifndef roundup
lib/geom/virstor/geom_virstor.c
222
size_t new_size = roundup(md.md_chunk_size, secsize);
lib/libc/gen/fts.c
1145
len = roundup(len, alignof(struct stat));
lib/libc/gen/memalign.c
40
return (aligned_alloc(align, roundup(size, align)));
lib/libc/stdio/findfp.c
102
p = (FILE *)roundup((uintptr_t)(g + 1), align);
lib/libkldelf/elf.c
628
len = roundup(len, pointer_size);
lib/libkldelf/elf.c
641
offset = roundup(offset, pointer_size);
lib/libkldelf/elf.c
659
len = roundup(len, pointer_size);
lib/libkldelf/elf.c
674
offset = roundup(offset, pointer_size);
lib/libnvmf/nvmf_tcp.c
437
pdo = roundup(plen, qp->txpda);
lib/libpmc/pmu-events/json.c
76
munmap(map, roundup(size, ps));
lib/libpmc/pmu-events/json.h
30
#ifndef roundup
lib/libthr/thread/thr_pspinlock.c
61
roundup(sizeof(struct pthread_spinlock), CACHE_LINE_SIZE));
lib/libthr/thread/thr_rwlock.c
104
roundup(sizeof(struct pthread_rwlock), CACHE_LINE_SIZE));
libexec/rtld-elf/rtld.c
5682
size = roundup(tls_static_space, ralign) + roundup(tcbsize, ralign);
libexec/rtld-elf/rtld.c
5689
tcb = (struct tcb *)(tls_block + roundup(tls_static_space, ralign));
libexec/rtld-elf/rtld.c
5761
size = roundup(tls_static_space, ralign);
sbin/dump/main.c
464
mapsize = roundup(howmany(maxino, CHAR_BIT), TP_BSIZE);
sbin/fdisk/fdisk.c
549
start = roundup(start, dos_sectors);
sbin/fsck_ffs/dir.c
205
idesc->id_filesize = roundup(idesc->id_filesize, DIRBLKSIZ);
sbin/fsck_ffs/dir.c
753
DIP_SET(dp, di_size, roundup(DIP(dp, di_size), DIRBLKSIZ));
sbin/fsck_ffs/fsutil.c
1052
roundup(cgp->cg_freeoff + howmany(sblock.fs_fpg, CHAR_BIT),
sbin/fsck_ffs/fsutil.c
1108
roundup(cgp->cg_nextfreeoff, sizeof(u_int32_t));
sbin/fsck_ffs/pass1.c
193
mininos = roundup(inosused + INOPB(&sblock), INOPB(&sblock));
sbin/fsck_ffs/pass1.c
216
cgp->cg_initediblk = roundup(inosused, INOPB(&sblock));
sbin/fsck_ffs/pass2.c
154
inp->i_isize = roundup(MINDIRSIZE, DIRBLKSIZ);
sbin/fsck_ffs/pass2.c
173
inp->i_isize = roundup(inp->i_isize, DIRBLKSIZ);
sbin/fsck_ffs/pass2.c
177
roundup(inp->i_isize, DIRBLKSIZ));
sbin/fsck_ffs/pass5.c
135
roundup(newcg->cg_clustersumoff, sizeof(u_int32_t));
sbin/fsck_ffs/setup.c
150
bmapsize = roundup(howmany(maxfsblock, CHAR_BIT), sizeof(short));
sbin/growfs/growfs.c
351
roundup(acg.cg_nextfreeoff, sizeof(u_int32_t));
sbin/growfs/growfs.c
507
f < roundup(frag + 1, sblock.fs_frag); f++) {
sbin/growfs/growfs.c
646
if (roundup(osblock.fs_size, sblock.fs_frag) <=
sbin/growfs/growfs.c
653
for (i = roundup(osblock.fs_size - cbase,
sbin/growfs/growfs.c
726
for (i = roundup(osblock.fs_size - cbase, sblock.fs_frag);
sbin/newfs/mkfs.c
306
roundup(howmany(sblock.fs_sblockloc + SBLOCKSIZE, sblock.fs_fsize),
sbin/newfs/mkfs.c
309
roundup(howmany(SBLOCKSIZE, sblock.fs_fsize), sblock.fs_frag);
sbin/newfs/mkfs.c
365
sblock.fs_fpg = roundup(sblock.fs_iblkno +
sbin/newfs/mkfs.c
369
sblock.fs_ipg = roundup(howmany(sblock.fs_fpg, fragsperinode),
sbin/newfs/mkfs.c
371
sblock.fs_fpg = roundup(sblock.fs_iblkno +
sbin/newfs/mkfs.c
375
sblock.fs_ipg = roundup(howmany(sblock.fs_fpg, fragsperinode),
sbin/newfs/mkfs.c
392
sblock.fs_ipg = roundup(howmany(sblock.fs_fpg, fragsperinode),
sbin/newfs/mkfs.c
405
sblock.fs_ipg = roundup(howmany(sblock.fs_fpg, fragsperinode),
sbin/newfs/mkfs.c
418
lastminfpg = roundup(sblock.fs_iblkno +
sbin/newfs/mkfs.c
429
sblock.fs_ipg = roundup(howmany(sblock.fs_fpg, fragsperinode),
sbin/newfs/mkfs.c
752
roundup(acg.cg_nextfreeoff, sizeof(u_int32_t));
sbin/newfs_msdos/mkfs_msdos.c
418
bpb.bpbRootDirEnts = roundup(o.directory_entries,
sbin/restore/tape.c
261
fssize = roundup(fssize, TP_BSIZE);
sbin/savecore/savecore.c
653
nr = read(fd, buf, roundup(wl, sectorsize));
sbin/savecore/savecore.c
654
if (nr != roundup(wl, sectorsize)) {
sbin/tunefs/tunefs.c
767
roundup(size, sblock.fs_fsize)) <= 0) {
sbin/tunefs/tunefs.c
966
size = roundup(size, sblock.fs_bsize);
stand/common/gfx_fb.c
2145
size = roundup(size * 2, 10) / 10;
stand/common/load_elf.c
692
lastaddr = roundup(lastaddr, sizeof(long));
stand/common/load_elf.c
822
lastaddr = roundup(lastaddr, sizeof(size));
stand/common/load_elf_obj.c
260
lastaddr = roundup(lastaddr, shdr[i].sh_addralign);
stand/common/load_elf_obj.c
282
lastaddr = roundup(lastaddr, shdr[ef->symtabindex].sh_addralign);
stand/common/load_elf_obj.c
293
lastaddr = roundup(lastaddr, shdr[symstrindex].sh_addralign);
stand/common/load_elf_obj.c
305
lastaddr = roundup(lastaddr, shdr[ef->shstrindex].sh_addralign);
stand/common/load_elf_obj.c
316
lastaddr = roundup(lastaddr, shdr[i].sh_addralign);
stand/common/modinfo.c
110
#define MOD_ALIGN(l) roundup(l, align)
stand/common/modinfo.c
219
return (roundup(addr, PAGE_SIZE));
stand/efi/loader/arch/amd64/multiboot2.c
236
(*result)->f_size = roundup((*result)->f_size, PAGE_SIZE);
stand/efi/loader/arch/amd64/multiboot2.c
538
rfp->f_size = roundup(rfp->f_size, PAGE_SIZE);
stand/i386/libi386/multiboot.c
153
(*result)->f_size = roundup((*result)->f_size, PAGE_SIZE);
stand/i386/libi386/multiboot.c
371
rfp->f_size = roundup(rfp->f_size, PAGE_SIZE);
stand/kboot/libkboot/seg.c
183
s = roundup(segs[i].start, align);
stand/libofw/ofw_copy.c
83
dlen = roundup(nlen + resid, PAGE_SIZE);
stand/libsa/cd9660.c
128
#define PTSIZE(pp) roundup(PTFIXSZ + isonum_711((pp)->namlen), 2)
stand/libsa/nfs.c
217
len = sizeof(uint32_t) + roundup(len, sizeof(uint32_t));
stand/libsa/nfs.c
282
pos = roundup(d->fhsize, sizeof(uint32_t)) / sizeof(uint32_t);
stand/libsa/nfs.c
286
roundup(len, sizeof(uint32_t));
stand/libsa/nfs.c
305
pos = roundup(newfd->fhsize, sizeof(uint32_t)) / sizeof(uint32_t);
stand/libsa/nfs.c
352
args, sizeof(uint32_t) + roundup(d->fhsize, sizeof(uint32_t)),
stand/libsa/nfs.c
420
pos = roundup(d->fhsize, sizeof(uint32_t)) / sizeof(uint32_t);
stand/libsa/nfs.c
429
args, 4 * sizeof(uint32_t) + roundup(d->fhsize, sizeof(uint32_t)),
stand/libsa/nfs.c
796
pos = roundup(fp->fhsize, sizeof(uint32_t)) / sizeof(uint32_t);
stand/libsa/nfs.c
805
roundup(fp->fhsize, sizeof(uint32_t)),
stand/libsa/nfs.c
837
pos = roundup(d->d_namlen, sizeof(uint32_t)) / sizeof(uint32_t);
sys/amd64/linux32/linux32_sysvec.c
643
destp -= roundup(sizeof(canary), sizeof(uint32_t));
sys/arm/arm/machdep_boot.c
373
lastaddr = roundup(lastaddr, sizeof(int));
sys/arm/arm/machdep_boot.c
379
lastaddr = roundup(lastaddr, sizeof(int));
sys/arm/arm/pmap-v6.c
1774
pv_entry_max = roundup(pv_entry_max, _NPCPV);
sys/arm/nvidia/drm2/tegra_bo.c
271
args->pitch = roundup(args->pitch, drm->pitch_align);
sys/arm/nvidia/drm2/tegra_fb.c
142
mode_cmd.pitches[0] = roundup(sizes->surface_width * bpp,
sys/arm/nvidia/tegra124/tegra124_cpufreq.c
212
#define ROUND_UP(val, div) roundup(val, div)
sys/arm64/arm64/machdep_boot.c
114
lastaddr = roundup(lastaddr, sizeof(int));
sys/arm64/arm64/machdep_boot.c
120
lastaddr = roundup(lastaddr, sizeof(int));
sys/arm64/arm64/machdep_boot.c
81
size = roundup(size, sizeof(u_long)); \
sys/arm64/linux/linux_sigframe.h
81
#define LINUX_MINSIGSTKSZ roundup(sizeof(struct l_sigframe), 16)
sys/arm64/linux/linux_sysvec.c
386
scr += roundup(sizeof(struct l_fpsimd_context), 16);
sys/arm64/nvidia/tegra210/tegra210_cpufreq.c
169
#define ROUND_UP(val, div) roundup(val, div)
sys/cddl/boot/zfs/zfssubr.c
1224
scols = MIN(dcols, roundup(bc, nparity + 1));
sys/cddl/boot/zfs/zfssubr.c
1274
rm->rm_asize = roundup(asize, (nparity + 1) << unit_shift);
sys/cddl/boot/zfs/zfssubr.c
1275
rm->rm_nskip = roundup(tot, nparity + 1) - tot;
sys/cddl/compat/opensolaris/sys/cpuvar.h
63
#define CPUC_SIZE1 roundup(CPUC_SIZE, CPU_CACHE_COHERENCE_SIZE)
sys/compat/linux/linux_file.c
395
roundup(offsetof(struct l_dirent, d_name) + (namlen) + 2, sizeof(l_ulong))
sys/compat/linux/linux_file.c
398
roundup(offsetof(struct l_dirent64, d_name) + (namlen) + 1, \
sys/ddb/db_capture.c
106
db_capture_maxbufsize = roundup(db_capture_maxbufsize,
sys/ddb/db_capture.c
108
db_capture_bufsize = roundup(db_capture_bufsize, TEXTDUMP_BLOCKSIZE);
sys/ddb/db_capture.c
132
size = roundup(size, TEXTDUMP_BLOCKSIZE);
sys/ddb/db_expr.c
193
lhs = roundup(lhs, rhs);
sys/dev/acpica/acpi_resource.c
446
min = roundup(min, gran + 1);
sys/dev/age/if_age.c
2664
fsize = roundup(sc->age_max_frame_size, sizeof(uint64_t));
sys/dev/ahci/ahci.h
312
#define AHCI_SG_ENTRIES MIN(roundup(btoc(maxphys) + 1, 8), 65528)
sys/dev/aic7xxx/aic79xx.c
5188
max_list_size = roundup(sg_list_increment, PAGE_SIZE);
sys/dev/aic7xxx/aic79xx_osm.h
107
#define AHD_NSEG (roundup(btoc(AHD_MAXPHYS) + 1, 16))
sys/dev/aic7xxx/aic7xxx_osm.h
105
#define AHC_NSEG (roundup(btoc(AHC_MAXPHYS) + 1, 16))
sys/dev/ale/if_ale.c
1010
sc->ale_pagesize = roundup(guard_size + ALE_RX_PAGE_SZ,
sys/dev/ale/if_ale.c
2330
rx_page->cons += roundup(length + sizeof(struct rx_rs),
sys/dev/ale/if_ale.c
2718
roundup(reg, TX_JUMBO_THRESH_UNIT) >>
sys/dev/ale/if_ale.c
2730
reg = roundup(sc->ale_max_frame_size, RX_JUMBO_THRESH_UNIT);
sys/dev/ale/if_alevar.h
114
(roundup(ALE_MAX_FRAMELEN, ALE_RX_PAGE_ALIGN) * ALE_RX_FRAMES_PAGE)
sys/dev/ath/ath_hal/ah_eeprom_v3.c
148
roundup(sizeof(uint16_t) * numChannels, sizeof(uint32_t)) +
sys/dev/ath/ath_hal/ah_eeprom_v3.c
157
roundup(sizeof(uint16_t) * numChannels, sizeof(uint32_t)));
sys/dev/ath/ath_hal/ah_eeprom_v3.c
1736
roundup(sizeof(uint16_t) * pe->numChannels,
sys/dev/ath/ath_hal/ah_internal.h
37
#ifndef roundup
sys/dev/ath/ath_hal/ah_regdomain.c
600
step = roundup(channelSep, fband->channelSep);
sys/dev/ath/ath_hal/ar5212/ar5212_beacon.c
232
HALASSERT(roundup(bs->bs_sleepduration, beaconintval) ==
sys/dev/ath/ath_hal/ar5212/ar5212_beacon.c
239
roundup(bs->bs_sleepduration, dtimperiod) ==
sys/dev/ath/ath_hal/ar5416/ar5416_beacon.c
232
HALASSERT(roundup(bs->bs_sleepduration, beaconintval) ==
sys/dev/ath/ath_hal/ar5416/ar5416_beacon.c
239
roundup(bs->bs_sleepduration, dtimperiod) ==
sys/dev/ath/if_ath_beacon.c
1023
nexttbtt = roundup(nexttbtt, intval);
sys/dev/ath/if_ath_beacon.c
1147
roundup(IEEE80211_MS_TO_TU(100), bs.bs_intval);
sys/dev/ath/if_ath_beacon.c
1149
bs.bs_sleepduration = roundup(bs.bs_sleepduration, bs.bs_dtimperiod);
sys/dev/ath/if_ath_beacon.c
353
ath_hal_computetxtime(ah, rt, roundup(m->m_len, 4),
sys/dev/ath/if_ath_beacon.c
359
segLenList[0] = roundup(m->m_len, 4);
sys/dev/ath/if_ath_tdma.c
210
sc->sc_tdmabintval = roundup((sc->sc_tdmaslotlen+sc->sc_tdmaguard) *
sys/dev/bnxt/bnxt_en/bnxt.h
251
#ifndef roundup
sys/dev/bnxt/bnxt_en/if_bnxt.c
1071
entries = roundup(entries, ctxm->entry_multiple);
sys/dev/bwi/if_bwi.c
1876
tx_ring_sz = roundup(desc_sz * BWI_TX_NDESC, BWI_RING_ALIGN);
sys/dev/bwi/if_bwi.c
1877
rx_ring_sz = roundup(desc_sz * BWI_RX_NDESC, BWI_RING_ALIGN);
sys/dev/bwi/if_bwi.c
2055
dma_size = roundup(desc_sz * BWI_TXSTATS_NDESC, BWI_RING_ALIGN);
sys/dev/bwi/if_bwi.c
2102
dma_size = roundup(sizeof(struct bwi_txstats) * BWI_TXSTATS_NDESC,
sys/dev/bwn/if_bwn.c
1033
int pktlen = roundup(m->m_pkthdr.len + BWN_HDRSIZE(mac), 4);
sys/dev/bwn/if_bwn.c
1109
tq->tq_used += roundup(m->m_pkthdr.len + BWN_HDRSIZE(mac), 4);
sys/dev/bwn/if_bwn.c
6198
tq->tq_used -= roundup(tp->tp_m->m_pkthdr.len + BWN_HDRSIZE(mac), 4);
sys/dev/bxe/bxe.c
15784
return (roundup(cid_count, QM_CID_ROUND));
sys/dev/bxe/bxe.h
126
#ifndef roundup
sys/dev/cxgbe/adapter.h
1625
roundup((len), T4_ULPTX_MIN_IO), 16)
sys/dev/cxgbe/crypto/t4_crypto.c
1691
memcpy(crwr->key_ctx.key + roundup(s->cipher.key_len, 16),
sys/dev/cxgbe/cudbg/cudbg_lib.c
2597
roundup(payload[i].start,
sys/dev/cxgbe/cxgbei/icl_cxgbei.c
1126
roundup(max_iso_pdus * max_tx_pdu_len, tp->t_maxseg));
sys/dev/cxgbe/iw_cxgbe/cq.c
936
entries = roundup(entries, 16);
sys/dev/cxgbe/iw_cxgbe/cq.c
956
memsize = roundup(memsize, PAGE_SIZE);
sys/dev/cxgbe/iw_cxgbe/mem.c
558
int length = roundup(max_num_sg * sizeof(u64), 32);
sys/dev/cxgbe/iw_cxgbe/qp.c
1772
qhp->wq.sq.memsize = roundup(qhp->wq.sq.memsize, PAGE_SIZE);
sys/dev/cxgbe/iw_cxgbe/qp.c
1773
qhp->wq.rq.memsize = roundup(qhp->wq.rq.memsize, PAGE_SIZE);
sys/dev/cxgbe/iw_cxgbe/qp.c
366
len = roundup(plen + sizeof *immdp, 16) - (plen + sizeof *immdp);
sys/dev/cxgbe/iw_cxgbe/qp.c
713
int pbllen = roundup(mhp->mpl_len * sizeof(u64), 32);
sys/dev/cxgbe/iw_cxgbe/resource.c
255
rdev->stats.pbl.cur += roundup(size, 1 << MIN_PBL_SHIFT);
sys/dev/cxgbe/iw_cxgbe/resource.c
267
rdev->stats.pbl.cur -= roundup(size, 1 << MIN_PBL_SHIFT);
sys/dev/cxgbe/iw_cxgbe/resource.c
281
roundup((size << 6),(1 << MIN_RQT_SHIFT)),
sys/dev/cxgbe/iw_cxgbe/resource.c
291
rdev->stats.rqt.cur += roundup(size << 6, 1 << MIN_RQT_SHIFT);
sys/dev/cxgbe/iw_cxgbe/resource.c
304
rdev->stats.rqt.cur -= roundup(size << 6, 1 << MIN_RQT_SHIFT);
sys/dev/cxgbe/iw_cxgbe/resource.c
307
roundup((size << 6),(1 << MIN_RQT_SHIFT)));
sys/dev/cxgbe/nvmf/nvmf_che.c
1160
pdo = roundup(plen, qp->txpda);
sys/dev/cxgbe/nvmf/nvmf_che.c
2390
hlen = roundup(hlen, pda);
sys/dev/cxgbe/nvmf/nvmf_che.c
2577
max_tx_pdu_len = roundup(max_tx_pdu_len, qp->txpda);
sys/dev/cxgbe/nvmf/nvmf_che.c
2593
roundup(/* max_iso_pdus * */ max_tx_pdu_len, tp->t_maxseg));
sys/dev/cxgbe/t4_main.c
4621
iaq->nofldtxq = roundup(t4_nofldtxq, sc->params.ncores);
sys/dev/cxgbe/t4_main.c
4622
iaq->nofldtxq_vi = roundup(t4_nofldtxq_vi,
sys/dev/cxgbe/t4_tpt.c
189
ulpsc->len = htobe32(roundup(len, T4_ULPTX_MIN_IO));
sys/dev/cxgbe/t4_tpt.c
50
if (vmem_xalloc(sc->pbl_arena, roundup(size, (1 << MIN_PBL_SHIFT)),
sys/dev/cxgbe/t4_tpt.c
66
vmem_xfree(sc->pbl_arena, addr, roundup(size, (1 << MIN_PBL_SHIFT)));
sys/dev/et/if_et.c
1622
roundup(frame_len + ET_MEM_TXSIZE_EX, ET_MEM_UNIT);
sys/dev/ffec/if_ffec.c
1125
maxbuf = MCLBYTES - roundup(ETHER_ALIGN, sc->rxbuf_align);
sys/dev/ffec/if_ffec.c
780
m_adj(m, roundup(ETHER_ALIGN, sc->rxbuf_align));
sys/dev/hwpmc/hwpmc_logging.c
116
int _len = roundup((LEN), sizeof(uint32_t)); \
sys/dev/hwpmc/hwpmc_logging.c
130
int _len = roundup((LEN), sizeof(uint32_t)); \
sys/dev/ice/ice_osdep.h
83
#define ROUND_UP roundup
sys/dev/iwm/if_iwm.c
3627
len = roundup(len, 4) / 4;
sys/dev/iwm/if_iwm.c
4869
size = roundup(sizeof(*cmd), 4);
sys/dev/iwm/if_iwm_power.c
301
keep_alive = roundup(keep_alive, 1000) / 1000;
sys/dev/iwx/if_iwx.c
1738
if (roundup(tlv_len, 4) > len)
sys/dev/iwx/if_iwx.c
1741
len -= roundup(tlv_len, 4);
sys/dev/iwx/if_iwx.c
1742
data += roundup(tlv_len, 4);
sys/dev/iwx/if_iwx.c
3860
if (roundup(tlv_len, 4) > len)
sys/dev/iwx/if_iwx.c
3862
len -= roundup(tlv_len, 4);
sys/dev/iwx/if_iwx.c
3863
data += roundup(tlv_len, 4);
sys/dev/iwx/if_iwx.c
3900
if (len < tlv_len || roundup(tlv_len, 4) > len)
sys/dev/iwx/if_iwx.c
3907
data += sizeof(*tlv) + roundup(tlv_len, 4);
sys/dev/iwx/if_iwx.c
3908
len -= roundup(tlv_len, 4);
sys/dev/iwx/if_iwx.c
3916
data += sizeof(*tlv) + roundup(tlv_len, 4);
sys/dev/iwx/if_iwx.c
3917
len -= roundup(tlv_len, 4);
sys/dev/iwx/if_iwx.c
6066
keep_alive = roundup(keep_alive, 1000) / 1000;
sys/dev/iwx/if_iwx.c
8543
size = roundup(sizeof(*cmd), 4);
sys/dev/iwx/if_iwx.c
9010
roundup(len, IWX_FH_RSCSR_FRAME_ALIGN);
sys/dev/iwx/if_iwx.c
9382
offset += roundup(len, IWX_FH_RSCSR_FRAME_ALIGN);
sys/dev/mlx4/mlx4_ib/mlx4_ib_mr.c
290
mr->page_map_size = roundup(max_pages * sizeof(u64),
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
227
s = roundup(size, 1U << qp->sq.wqe_shift);
sys/dev/mlx5/mlx5_ib/mlx5_ib_mr.c
1487
ndescs = req.num_klms ? roundup(req.num_klms, 4) : roundup(1, 4);
sys/dev/mwl/if_mwl.c
2123
jumbosize = roundup(MWL_AGGR_SIZE, PAGE_SIZE);
sys/dev/ntb/ntb_transport.c
1200
val64 = roundup(val64, mw->xlat_align_size);
sys/dev/ntb/ntb_transport.c
1267
buff_size = roundup(size, mw->xlat_align_size);
sys/dev/ntb/test/ntb_tool.c
810
inmw->size = roundup(inmw->phys_size, inmw->xlat_align_size);
sys/dev/ntb/test/ntb_tool.c
812
inmw->size = roundup(req_size, inmw->xlat_align_size);
sys/dev/nvmf/controller/nvmft_controller.c
188
ctrlr->ka_sbt = mstosbt(roundup(kato, 1000));
sys/dev/nvmf/nvmf_tcp.c
446
pdo = roundup(plen, qp->txpda);
sys/dev/pci/pci_iov.c
786
pause("iov", roundup(hz, 10));
sys/dev/qat_c2xxx/qat_hw15.c
585
roundup(hash_def->qshd_qat->qshqi_state1_len, 8);
sys/dev/qat_c2xxx/qat_hw15.c
588
roundup(hash_def->qshd_qat->qshqi_state2_len, 8);
sys/dev/qat_c2xxx/qat_hw15.c
599
roundup(hash_def->qshd_alg->qshai_state_size, 8)) / 8;
sys/dev/qat_c2xxx/qat_hw15.c
629
state2 = state1 + roundup(hash_def->qshd_qat->qshqi_state1_len, 8);
sys/dev/qat_c2xxx/qat_hw15.c
637
state1_sz = roundup(hash_def->qshd_qat->qshqi_state1_len, 8);
sys/dev/qat_c2xxx/qat_hw15.c
638
state2_sz = roundup(hash_def->qshd_qat->qshqi_state2_len, 8);
sys/dev/qat_c2xxx/qat_hw15var.h
69
roundup(HASH_CONTENT_DESC_SIZE + CIPHER_CONTENT_DESC_SIZE,
sys/dev/qat_c2xxx/qat_hw15var.h
72
roundup(sizeof(struct fw_la_cipher_req_params) +
sys/dev/qat_c2xxx/qatvar.h
499
roundup(QAT_SYM_REQ_PARAMS_SIZE_MAX, QAT_OPTIMAL_ALIGN)
sys/dev/qat_c2xxx/qatvar.h
535
#define CONTENT_DESC_MAX_SIZE roundup( \
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
892
mm->key.len = roundup(len, PAGE_SIZE);
sys/dev/rtwn/if_rtwn.c
873
bcn_size = roundup(RTWN_BCN_MAX_SIZE, sc->page_size);
sys/dev/rtwn/if_rtwn.c
895
ptr += roundup(null_size, sc->page_size);
sys/dev/siis/siis.h
265
#define SIIS_SG_ENTRIES (roundup(btoc(maxphys), 4) + 1)
sys/dev/usb/net/if_ure.c
786
off += roundup(len, URE_RXPKT_ALIGN);
sys/dev/usb/net/if_ure.c
787
actlen -= roundup(len, URE_RXPKT_ALIGN);
sys/dev/usb/net/if_ure.c
863
roundup(len, URE_TXPKT_ALIGN) > rem) {
sys/dev/usb/net/if_ure.c
897
pos += roundup(len, URE_TXPKT_ALIGN);
sys/dev/usb/net/if_ure.c
898
rem -= roundup(len, URE_TXPKT_ALIGN);
sys/dev/vmware/vmci/vmci_kernel_defs.h
27
#define ROUNDUP(x, y) roundup(x, y)
sys/dev/vt/hw/vga/vt_vga.c
973
x2 = roundup(x + width, VT_VGA_PIXELS_BLOCK);
sys/fs/ext2fs/ext2_htree.c
429
cursize = roundup(dp->i_size, blksize);
sys/fs/ext2fs/ext2_htree.c
826
cursize = roundup(ip->i_size, blksize);
sys/fs/ext2fs/ext2_htree.c
922
cursize = roundup(ip->i_size, blksize);
sys/fs/ext2fs/fs.h
144
roundup(size, fs->e2fs_fsize)
sys/fs/msdosfs/msdosfs_fat.c
100
size = roundup(ulmin(fatblocksec, pmp->pm_FATsecs - bn) * DEV_BSIZE,
sys/fs/msdosfs/msdosfs_vfsops.c
739
pmp->pm_fatblocksize = roundup(pmp->pm_fatblocksize,
sys/fs/tarfs/tarfs_io.c
372
bsize = roundup(ZSTD_CStreamOutSize(), PAGE_SIZE);
sys/fs/tmpfs/tmpfs_vfsops.c
427
size_max = roundup(size_max, PAGE_SIZE);
sys/geom/eli/g_eli_integrity.c
508
p = (char *)roundup((uintptr_t)p, sizeof(uintptr_t));
sys/geom/union/g_union.c
324
sc->sc_map_size = roundup(size / secsize, BITS_PER_ENTRY);
sys/geom/union/g_union.c
334
sc->sc_leafused = g_malloc(roundup(sc->sc_root_size, BITS_PER_ENTRY),
sys/geom/union/g_union.c
342
sizeof(uint64_t) + roundup(sc->sc_root_size, BITS_PER_ENTRY);
sys/geom/union/g_union.c
597
memset(sc->sc_leafused, 0, roundup(sc->sc_root_size, BITS_PER_ENTRY));
sys/geom/uzip/g_uzip.c
217
#define TLEN_2_BLEN(sc, pp, bp, ei) roundup(BLK_ENDS((sc), (ei)) - \
sys/i386/i386/pmap.c
994
pv_entry_max = roundup(pv_entry_max, _NPCPV);
sys/kern/imgact_aout.c
232
bss_size = roundup(a_out->a_bss, PAGE_SIZE);
sys/kern/imgact_elf.c
2147
descsz = roundup(note.n_descsz, ELF_NOTE_ROUNDSIZE);
sys/kern/imgact_elf.c
914
res = roundup(minv, (u_long)align) + rbase % (maxv - minv);
sys/kern/kern_descrip.c
4760
kif->kf_structsize = roundup(kif->kf_structsize, sizeof(uint64_t));
sys/kern/kern_malloc.c
619
size = roundup(size, PAGE_SIZE);
sys/kern/kern_proc.c
2776
kve->kve_structsize = roundup(kve->kve_structsize,
sys/kern/kern_sharedpage.c
82
res = roundup(shared_page_free, align);
sys/kern/link_elf.c
563
base += roundup(symcnt, sizeof(long));
sys/kern/link_elf.c
573
base += roundup(strcnt, sizeof(long));
sys/kern/subr_asan.c
112
sz = roundup(size, KASAN_SHADOW_SCALE) / KASAN_SHADOW_SCALE;
sys/kern/subr_asan.c
118
eva = roundup(eva, PAGE_SIZE);
sys/kern/subr_asan.c
1187
size = roundup(size, KASAN_SHADOW_SCALE);
sys/kern/subr_asan.c
1209
r = (const uint8_t *)addr + roundup(size, KASAN_ALLOCA_SCALE_SIZE);
sys/kern/subr_asan.c
1212
kasan_mark(addr, size, roundup(size, KASAN_ALLOCA_SCALE_SIZE),
sys/kern/subr_asan.c
274
redz = redzsize - roundup(size, KASAN_SHADOW_SCALE);
sys/kern/subr_module.c
122
next = roundup(next, sizeof(u_long));
sys/kern/subr_module.c
146
next = roundup(next, sizeof(u_long));
sys/kern/subr_module.c
162
next = roundup(next, sizeof(u_long));
sys/kern/subr_module.c
211
next = roundup(next, sizeof(u_long));
sys/kern/subr_module.c
261
next = roundup(next, sizeof(u_long));
sys/kern/subr_module.c
321
next = roundup(next, sizeof(u_long));
sys/kern/subr_module.c
563
bptr += roundup(len, sizeof(u_long)) / sizeof(uint32_t);
sys/kern/subr_module.c
86
next = roundup(next, sizeof(u_long));
sys/kern/subr_sbuf.c
960
len = roundup(s->s_sect_len, pad) - s->s_sect_len;
sys/kern/subr_vmem.c
1018
size = roundup(size, vm->vm_import_quantum);
sys/kern/sys_generic.c
1228
nfdbits = roundup(nd, NFDBITS);
sys/kern/sys_generic.c
1230
ncpubytes = roundup(nd, abi_nfdbits) / NBBY;
sys/kern/vfs_bio.c
1276
hirunningspace = lmax(lmin(roundup(hibufspace / 64, maxbcachebuf),
sys/kern/vfs_bio.c
1278
lorunningspace = roundup((hirunningspace * 2) / 3, maxbcachebuf);
sys/kern/vfs_default.c
1108
bend = roundup(bend, bsize);
sys/kgssapi/krb5/kcrypto.c
201
randomlen = roundup(ec->ec_keybits / 8, ec->ec_blocklen);
sys/net80211/ieee80211_ioctl.c
252
return roundup(len, sizeof(uint32_t));
sys/net80211/ieee80211_ioctl.c
359
return roundup(sizeof(struct ieee80211req_sta_info) + *ielen,
sys/net80211/ieee80211_output.c
1107
hdrlen = roundup(hdrlen, sizeof(uint32_t));
sys/net80211/ieee80211_output.c
1633
hdrspace = roundup(hdrsize, sizeof(uint32_t));
sys/net80211/ieee80211_output.c
1989
hdrspace = roundup(hdrsize, sizeof(uint32_t));
sys/net80211/ieee80211_superg.c
311
m_adj(m, roundup(sizeof(uint32_t) - 2, 4) + 2);
sys/net80211/ieee80211_var.h
931
size = roundup(size, sizeof(uint32_t));
sys/net80211/ieee80211_var.h
943
size = roundup(size, sizeof(uint32_t));
sys/netinet/tcp_input.c
3899
bufsize = roundup(bufsize, mss);
sys/netinet/tcp_input.c
3932
bufsize = roundup(bufsize, mss);
sys/netinet/tcp_stacks/bbr.c
10597
tar = roundup(bbr_get_raw_target_cwnd(bbr, bbr_get_bw(bbr),
sys/netinet/tcp_stacks/bbr.c
10741
cur_rttp = roundup(baseval, USECS_IN_SECOND);
sys/netinet/tcp_stacks/bbr.c
3432
cwnd = roundup(bbr_get_raw_target_cwnd(bbr, bw, gain), mss);
sys/netinet/tcp_stacks/bbr.c
3844
newcwnd = roundup((cwnd - val), maxseg);
sys/netinet/tcp_stacks/bbr.c
3850
newcwnd = roundup((uint32_t)val, maxseg);
sys/netinet/tcp_stacks/bbr.c
5837
new_tso = roundup(bw, (uint64_t)maxseg);
sys/netinet/tcp_stacks/rack.c
19461
maxlen = roundup(maxlen, segsiz);
sys/netinet/tcp_stacks/rack.c
3426
len = roundup(len, segsiz);
sys/netinet/tcp_stacks/rack.c
3433
minl = roundup(minl, segsiz);
sys/netinet/tcp_stacks/rack.c
4032
rack->r_ctl.rc_target_probertt_flight = roundup((uint32_t)bwdp, segsiz);
sys/netinet/tcp_stacks/rack.c
4248
rack->rc_tp->snd_cwnd = roundup(setto, segsiz);
sys/netipsec/xform_ah.c
166
size = roundup(rplen + authsize, align);
sys/netpfil/ipfw/ip_fw_dynamic.c
3162
l = roundup(strlen(comment) + 1, sizeof(uint32_t));
sys/netpfil/pf/pf.c
8527
off += roundup(ntohs(h.param_length), 4);
sys/netpfil/pf/pf_norm.c
2033
chunk_off += roundup(ntohs(ch.chunk_length), 4);
sys/powerpc/aim/mmu_oea.c
2703
size = roundup(offset + size, PAGE_SIZE);
sys/powerpc/aim/mmu_oea.c
2743
size = roundup(offset + size, PAGE_SIZE);
sys/powerpc/booke/booke_machdep.c
355
end = roundup(end, 8);
sys/powerpc/booke/pmap.c
2261
size = roundup(size, PAGE_SIZE);
sys/powerpc/booke/pmap.c
2307
sz = sz ? min(roundup(sz + 3, 4), flsl(size) - 1) : flsl(size) - 1;
sys/powerpc/booke/pmap.c
2308
va = roundup(tlb1_map_base, 1 << sz) | (((1 << sz) - 1) & pa);
sys/powerpc/booke/pmap.c
2337
size = roundup(offset + size, PAGE_SIZE);
sys/powerpc/booke/pmap.c
2879
size = roundup(size, PAGE_SIZE);
sys/powerpc/booke/pmap.c
2915
size = roundup(size + (pa - pa_base), PAGE_SIZE);
sys/powerpc/include/frame.h
79
#define FRAMELEN roundup(sizeof(struct trapframe) + \
sys/powerpc/powerpc/exec_machdep.c
191
rndfsize = roundup(sizeof(sf32), 16);
sys/powerpc/powerpc/exec_machdep.c
220
rndfsize = 512 + roundup(sizeof(sf), 48);
sys/powerpc/powerpc/exec_machdep.c
222
rndfsize = roundup(sizeof(sf), 16);
sys/powerpc/powerpc/exec_machdep.c
668
tf->fixreg[1] = -roundup(-stack + 48, 16);
sys/powerpc/powerpc/exec_machdep.c
670
tf->fixreg[1] = -roundup(-stack + 8, 16);
sys/powerpc/powerpc/exec_machdep.c
713
tf->fixreg[1] = -roundup(-stack + 8, 16);
sys/powerpc/pseries/phyp_vscsi.c
615
xp->srp_iu_size = roundup(xp->srp_iu_size, 16);
sys/riscv/riscv/machdep.c
357
fake_size = roundup(fake_size, sizeof(u_long)); \
sys/riscv/riscv/machdep.c
380
lastaddr = roundup(lastaddr, sizeof(int));
sys/riscv/riscv/machdep.c
386
lastaddr = roundup(lastaddr + dtb_size, sizeof(int));
sys/riscv/riscv/pmap.c
633
if (roundup(pa, L2_SIZE) + L2_SIZE > endpa)
sys/riscv/riscv/pmap.c
666
if (roundup(pa, L1_SIZE) + L1_SIZE > endpa)
sys/sys/gmon.h
149
#define ROUNDUP(x,y) roundup(x,y)
sys/sys/module.h
140
#define MODULE_KERNEL_MAXVER (roundup(__FreeBSD_version, 100000) - 1)
sys/sys/proc.h
93
char s_login[roundup(MAXLOGNAME, sizeof(long))];
sys/ufs/ffs/ffs_softdep.c
13664
roundup((fs->fs_dsize * fs->fs_minfree / 100) -
sys/ufs/ffs/ffs_subr.c
566
FCHK(fs->fs_bsize, <, roundup(sizeof(struct fs), DEV_BSIZE),
sys/ufs/ffs/ffs_subr.c
581
FCHK(fs->fs_sblkno, !=, roundup(
sys/ufs/ffs/ffs_subr.c
650
FCHK(fs->fs_bsize, <, roundup(sizeof(struct fs), DEV_BSIZE), %jd);
sys/ufs/ffs/ffs_subr.c
699
FCHK(fs->fs_sblkno, !=, roundup(
sys/ufs/ffs/ffs_subr.c
703
roundup(howmany(SBLOCKSIZE, fs->fs_fsize), fs->fs_frag), %jd);
sys/ufs/ufs/ufs_dirhash.c
1303
ufs_dirhashmaxmem = lmax(roundup(hibufspace / 64, PAGE_SIZE),
sys/vm/uma_core.c
2207
return (roundup(s, UMA_ALIGN_PTR + 1));
sys/vm/uma_core.c
3132
ksize = roundup(ksize, UMA_SUPER_ALIGN);
sys/vm/uma_core.c
3136
zsize = roundup(zsize, UMA_SUPER_ALIGN);
sys/vm/uma_core.c
421
size = roundup(sizeof(struct uma_bucket), sizeof(void *));
sys/vm/vm_map.c
4780
grow_amount = roundup(grow_amount, sgrowsiz);
sys/vm/vm_object.c
2645
kvo->kvo_structsize = roundup(kvo->kvo_structsize,
sys/vm/vnode_pager.c
1022
rbehind -= roundup(trim * rbehind / sum, pagesperblock);
tools/build/cross-build/include/common/sys/param.h
80
#ifndef roundup
tools/tools/ath/athprom/athprom.c
329
atd.ad_out_size = roundup(
tools/tools/ath/athprom/athprom.c
337
roundup(sizeof(u_int16_t) * exp->numChannels, sizeof(u_int32_t)));
tools/tools/netrate/http/http.c
278
len = roundup(sizeof(struct state), getpagesize());
tools/tools/netrate/httpd/httpd.c
222
len = roundup(sizeof(struct state), getpagesize());
usr.bin/column/column.c
140
maxlength = roundup(maxlength + 1, TAB);
usr.bin/column/column.c
170
while ((cnt = roundup(chcnt + 1, TAB)) <= endcol) {
usr.bin/column/column.c
198
while ((cnt = roundup(chcnt + 1, TAB)) <= endcol) {
usr.bin/diff/diffreg.c
1345
newcol = roundup(col + 1, tabsize);
usr.bin/diff/diffreg.c
1751
while ((tabstop = roundup(col + 1, tabsize)) <= newcol) {
usr.bin/diff/diffreg.c
311
while (hw > 0 && roundup(hw + 3, tabsize) + hw > width)
usr.bin/diff/diffreg.c
313
if (width - (roundup(hw + 3, tabsize) + hw) < tabsize)
usr.bin/diff/diffreg.c
314
width = roundup(hw + 3, tabsize) + hw;
usr.bin/posixshmcontrol/posixshmcontrol.c
449
printf("pagesz\t%jd\n", roundup((uintmax_t)st.st_size,
usr.sbin/bhyve/ahci.h
312
#define AHCI_SG_ENTRIES (roundup(btoc(MAXPHYS) + 1, 8))
usr.sbin/bhyve/amd64/fwctl.c
403
roundup(rinfo.resp_size, sizeof(uint32_t));
usr.sbin/bhyve/pci_passthru.c
256
capoff = 256 - roundup(sizeof(msicap), 4);
usr.sbin/bhyvectl/bhyvectl.c
363
memsize = roundup(memsize, 2 * MB);
usr.sbin/lpr/common_source/ctlinfo.c
287
sroom = roundup(sizeof(struct cjprivate), 8);
usr.sbin/lpr/common_source/ctlinfo.c
289
sroom2 = roundup(sroom2, 8);
usr.sbin/lpr/common_source/ctlinfo.c
291
msize = roundup(msize, 8);
usr.sbin/makefs/ffs.c
1130
if (reclen + dbuf->cur + llen > roundup(dbuf->size, DIRBLKSIZ)) {
usr.sbin/makefs/ffs.c
371
roundup(fsopts->minsize, ffs_opts->bsize) > fsopts->maxsize)
usr.sbin/makefs/ffs.c
403
roundup(SBLOCK_UFS1 + SBLOCKSIZE, ffs_opts->bsize);
usr.sbin/makefs/ffs.c
404
fsopts->size += roundup(SBLOCKSIZE, ffs_opts->bsize);
usr.sbin/makefs/ffs.c
407
roundup(fsopts->inodes, ffs_opts->bsize / DINODE1_SIZE);
usr.sbin/makefs/ffs.c
410
roundup(SBLOCK_UFS2 + SBLOCKSIZE, ffs_opts->bsize);
usr.sbin/makefs/ffs.c
411
fsopts->size += roundup(SBLOCKSIZE, ffs_opts->bsize);
usr.sbin/makefs/ffs.c
414
roundup(fsopts->inodes, ffs_opts->bsize / DINODE2_SIZE);
usr.sbin/makefs/ffs.c
429
fsopts->size = roundup(fsopts->size, ffs_opts->bsize);
usr.sbin/makefs/ffs.c
432
if (fsopts->roundup > 0)
usr.sbin/makefs/ffs.c
433
fsopts->size = roundup(fsopts->size, fsopts->roundup);
usr.sbin/makefs/ffs.c
686
if (this + curdirsize > roundup(curdirsize, DIRBLKSIZ)) \
usr.sbin/makefs/ffs.c
687
curdirsize = roundup(curdirsize, DIRBLKSIZ); \
usr.sbin/makefs/ffs/mkfs.c
307
roundup(howmany(sblock.fs_sblockloc + SBLOCKSIZE, sblock.fs_fsize),
usr.sbin/makefs/ffs/mkfs.c
310
roundup(howmany(SBLOCKSIZE, sblock.fs_fsize), sblock.fs_frag));
usr.sbin/makefs/ffs/mkfs.c
352
sblock.fs_fpg = roundup(sblock.fs_iblkno +
usr.sbin/makefs/ffs/mkfs.c
356
sblock.fs_ipg = roundup(howmany(sblock.fs_fpg, fragsperinode),
usr.sbin/makefs/ffs/mkfs.c
358
sblock.fs_fpg = roundup(sblock.fs_iblkno +
usr.sbin/makefs/ffs/mkfs.c
362
sblock.fs_ipg = roundup(howmany(sblock.fs_fpg, fragsperinode),
usr.sbin/makefs/ffs/mkfs.c
380
sblock.fs_ipg = roundup(howmany(sblock.fs_fpg, fragsperinode),
usr.sbin/makefs/ffs/mkfs.c
391
sblock.fs_ipg = roundup(howmany(sblock.fs_fpg, fragsperinode),
usr.sbin/makefs/ffs/mkfs.c
404
lastminfpg = roundup(sblock.fs_iblkno +
usr.sbin/makefs/ffs/mkfs.c
415
sblock.fs_ipg = roundup(howmany(sblock.fs_fpg, fragsperinode),
usr.sbin/makefs/ffs/mkfs.c
690
roundup(acg.cg_clustersumoff, sizeof(int32_t));
usr.sbin/makefs/makefs.c
241
fsoptions.roundup =
usr.sbin/makefs/makefs.h
172
off_t roundup; /* round image size up to this value */
usr.sbin/rpcbind/rpcb_svc_com.c
635
sendsz = roundup(sendsz, 4);
usr.sbin/traceroute/findsaddr-socket.c
113
cp += roundup(SALEN((struct sockaddr *)sp), sizeof(u_int32_t));
usr.sbin/traceroute/findsaddr-socket.c
180
cp += roundup(SALEN(sa), sizeof(long));
usr.sbin/traceroute/findsaddr-socket.c
66
#ifndef roundup