Symbol: roundup2
lib/libc/gen/arc4random.c
397
p32 = (uint8_t *)roundup2((uintptr_t)p8, 4);
lib/libc/tls/tls.c
163
tls_size = roundup2(phdr->p_memsz, phdr->p_align);
lib/libc/tls/tls.c
93
tls_allocation = roundup2(tls_size, alignof(max_align_t));
libexec/ld.elf_so/tls.c
251
_rtld_tls_static_space = roundup2(_rtld_tls_static_space,
libexec/ld.elf_so/tls.c
476
offset = roundup2(_rtld_tls_static_offset, obj->tlsalign);
libexec/ld.elf_so/tls.c
482
offset = roundup2(_rtld_tls_static_offset + obj->tlssize,
libexec/ld.elf_so/xmalloc.c
239
x = roundup2((uintptr_t)mem + sizeof(union overhead), align);
sys/arch/arm/cortex/gicv3_its.c
979
table_size = roundup2(l1_entry_size * l1_num_ids, page_size);
sys/arch/arm/cortex/pl310.c
317
len = roundup2(len, line_size);
sys/arch/arm/include/arm32/pmap.h
206
#define DEVMAP_SIZE(s) roundup2((s), L1_S_SIZE)
sys/arch/arm/sunxi/sun4i_emac.c
509
const int len = roundup2(m->m_len, 4);
sys/arch/arm/sunxi/sun4i_emac.c
605
pktdata, roundup2(len, 4) / 4);
sys/arch/arm/sunxi/sun6i_dma.c
231
((ch) * roundup2(DESC_LEN(DESC_NUM), COHERENCY_UNIT) + DESC_LEN(n))
sys/arch/evbmips/mipssim/machdep.c
237
memsize = roundup2(MIPS_KSEG0_TO_PHYS((uintptr_t)(end)), 1024 * 1024);
sys/arch/evbppc/mpc85xx/machdep.c
1470
roundup2(spinup_table_addr, 32);
sys/arch/mac68k/obio/esp.c
1136
memset(esc->sc_obuf, 0, roundup2(*dmasize, 16));
sys/arch/mips/sibyte/dev/sbmac.c
416
d->sbdma_dscrtable = (sbdmadscr_t *)roundup2(ptr, CACHELINESIZE);
sys/arch/powerpc/booke/dev/pq3nandfcm.c
251
for (len = roundup2(len, 4); offset < len; offset += 4, dp32++) {
sys/arch/powerpc/oea/oea_machdep.c
832
paddr_t end = roundup2(mp->start + mp->size, bat_inc);
sys/arch/powerpc/oea/oea_machdep.c
840
end = roundup2(mp->start + mp->size, bat_inc);
sys/arch/riscv/riscv/cpufunc.c
108
const vaddr_t eva = roundup2(va + sz, line_size);
sys/arch/riscv/riscv/cpufunc.c
131
const vaddr_t eva = roundup2(va + sz, line_size);
sys/arch/riscv/riscv/cpufunc.c
154
const vaddr_t eva = roundup2(va + sz, line_size);
sys/arch/riscv/sifive/fu540_ccache.c
115
const paddr_t epa = roundup2(pa + len, sc->sc_line_size);
sys/arch/sparc/stand/ofwboot/loadfile_machdep.c
290
len = roundup2(len + (rva & PAGE_MASK_4M), PAGE_SIZE_4M);
sys/arch/sparc/stand/ofwboot/loadfile_machdep.c
503
len = roundup2(len + (rva & PAGE_MASK_4M), PAGE_SIZE_4M);
sys/arch/x86/x86/cpu.c
379
ci = (struct cpu_info *)roundup2(ptr, CACHE_LINE_SIZE);
sys/arch/x86/x86/cpu_ucode_intel.c
204
(struct intel1_ucode_header *)roundup2((uintptr_t)uha, 16);
sys/arch/x86/x86/x86_tlb.c
410
ts = (void *)roundup2((uintptr_t)stackbuf, COHERENCY_UNIT);
sys/arch/xen/x86/cpu.c
216
ci = (struct cpu_info *)roundup2(ptr, CACHE_LINE_SIZE);
sys/arch/xen/x86/cpu.c
383
ci = (struct cpu_info *)roundup2(ptr, CACHE_LINE_SIZE);
sys/arch/xen/xen/hypervisor.c
862
ptr = roundup2(ptr, size);
sys/dev/audio/audio.c
3650
vsize = roundup2(MAX(track->usrbuf.capacity, PAGE_SIZE), PAGE_SIZE);
sys/dev/audio/audio.c
4705
newvsize = roundup2(newbufsize, PAGE_SIZE);
sys/dev/hyperv/if_hvn.c
1418
pkt->rm_len = roundup2(olen, txr->txr_agg_align);
sys/dev/hyperv/if_hvn.c
165
roundup2(ETHER_MIN_LEN + ETHER_VLAN_ENCAP_LEN - ETHER_CRC_LEN + \
sys/dev/hyperv/if_hvn.c
168
roundup2((m)->m_pkthdr.len + HVN_RNDIS_PKT_LEN, (align))
sys/dev/ic/i82596.c
579
sc->sc_scp_sz = roundup2(sizeof(struct iee_scp), sc->sc_cl_align);
sys/dev/ic/i82596.c
581
sc->sc_iscp_sz = roundup2(sizeof(struct iee_iscp), sc->sc_cl_align);
sys/dev/ic/i82596.c
583
sc->sc_scb_sz = roundup2(sizeof(struct iee_scb), sc->sc_cl_align);
sys/dev/ic/i82596.c
585
sc->sc_rfd_sz = roundup2(sizeof(struct iee_rfd), sc->sc_cl_align);
sys/dev/ic/i82596.c
587
sc->sc_rbd_sz = roundup2(sizeof(struct iee_rbd), sc->sc_cl_align);
sys/dev/ic/i82596.c
589
sc->sc_cb_sz = roundup2(sizeof(struct iee_cb), sc->sc_cl_align);
sys/dev/ic/i82596.c
591
sc->sc_tbd_sz = roundup2(sizeof(struct iee_tbd), sc->sc_cl_align);
sys/dev/ic/ne2000.c
793
amount = roundup2(amount, sizeof(uint16_t));
sys/dev/ic/rtl81x9.c
1016
new_rx = roundup2(new_rx, sizeof(uint32_t)) % RTK_RXBUFLEN;
sys/dev/ieee1394/fwcrom.c
470
memset(t, 0, roundup2(len, sizeof(uint32_t)));
sys/dev/ieee1394/fwdev.c
765
b->psize = roundup2(b->psize, sizeof(uint32_t));
sys/dev/ieee1394/fwdma.c
160
esize = ssize = roundup2(esize, PAGE_SIZE);
sys/dev/ieee1394/fwmem.c
389
xfer = fwmem_xfer_req(fwdev, sc, spd, 0, roundup2(len, 4), hand);
sys/dev/ieee1394/fwohci.c
1938
cycle = roundup2(cycle, CYCLE_MOD);
sys/dev/ieee1394/fwohci.c
2709
r += roundup2(fp->mode.wreqb.len, sizeof(uint32_t));
sys/dev/ieee1394/fwohci.c
334
sc->arrq.xferq.psize = roundup2(FWPMAX_S400, PAGE_SIZE);
sys/dev/ieee1394/fwohci.c
335
sc->arrs.xferq.psize = roundup2(FWPMAX_S400, PAGE_SIZE);
sys/dev/ieee1394/fwohci.c
336
sc->atrq.xferq.psize = roundup2(FWPMAX_S400, PAGE_SIZE);
sys/dev/ieee1394/fwohci.c
337
sc->atrs.xferq.psize = roundup2(FWPMAX_S400, PAGE_SIZE);
sys/dev/pci/igc/if_igc.c
3414
const int rsize = roundup2(
sys/dev/pci/igc/if_igc.c
661
const int tsize = roundup2(
sys/dev/pci/igc/if_igc.c
686
const int rsize = roundup2(
sys/dev/pci/igc/if_igc.c
829
roundup2(sc->hw.mac.max_frame_size, 1024);
sys/dev/usb/if_axe.c
1036
rxlen = roundup2(rxlen, 2);
sys/dev/usb/if_kue.c
568
total_len = roundup2(pkt_len, 64);
sys/dev/usb/if_otus.c
1416
xferlen = roundup2(sizeof(*hdr) + ilen, 4);
sys/dev/usb/if_otus.c
1893
hlen = roundup2(sizeof(*head) + hlen, 4);
sys/dev/usb/if_urtwn.c
2637
totlen = roundup2(totlen, pktspacing);
sys/dev/usb/udl.c
677
if (off < 0 || off > roundup2(UDL_FBMEM_SIZE(sc), PAGE_SIZE))
sys/dev/usb/xhci.c
1611
size = roundup2(XHCI_EVENT_RING_SEGMENTS * XHCI_ERSTE_SIZE,
sys/dev/usb/xhci.c
4656
xpipe->xp_isoc_next = roundup2(mfindex, ival) & mfmask;
sys/fs/tmpfs/tmpfs_mem.c
212
const size_t sz = roundup2(len, TMPFS_NAME_QUANTUM);
sys/fs/tmpfs/tmpfs_mem.c
224
const size_t sz = roundup2(len, TMPFS_NAME_QUANTUM);
sys/kern/kern_runq.c
159
size = roundup2(sizeof(spc->spc_queue[0]) * PRI_COUNT, coherency_unit) +
sys/kern/kern_runq.c
162
spc->spc_queue = (void *)roundup2((uintptr_t)p, coherency_unit);
sys/kern/subr_evcnt.c
227
const size_t len = roundup2(copylen, sizeof(uint64_t));
sys/kern/subr_kcpuset.c
57
#define KC_MAXCPUS roundup2(MAXCPUS, 32)
sys/kern/subr_workqueue.c
311
wq = (void *)roundup2((uintptr_t)ptr, coherency_unit);
sys/kern/subr_workqueue.c
69
#define WQ_SIZE (roundup2(sizeof(struct workqueue), coherency_unit))
sys/kern/subr_workqueue.c
70
#define WQ_QUEUE_SIZE (roundup2(sizeof(struct workqueue_queue), coherency_unit))
sys/kern/sys_select.c
1005
sc = kmem_alloc(roundup2(sizeof(selcluster_t),
sys/kern/sys_select.c
1007
sc = (void *)roundup2((uintptr_t)sc, coherency_unit);
sys/kern/vfs_cache.c
1139
sz = roundup2(sizeof(struct nchcpu), coherency_unit);
sys/net/npf/npf_tableset.c
510
toalloc = roundup2(allocated + 1, NPF_IFADDR_STEP);
sys/stand/efiboot/efiblock.c
152
blkbuf_start = (void *)roundup2((intptr_t)blkbuf,
sys/ufs/ext2fs/ext2fs_dir.h
202
#define EXT2FS_DIRSIZ(len) roundup2(8 + len, 4)
sys/ufs/ext2fs/ext2fs_lookup.c
412
i_offset = roundup2(dp->i_size, dp->i_e2fs->e2fs_bsize);
sys/ufs/ffs/ffs_extattr.c
763
eapad1 = roundup2(ealength, 8) - ealength;
sys/ufs/ffs/ffs_extattr.c
764
eapad2 = roundup2(ealen, 8) - ealen;
sys/ufs/ufs/extattr.h
106
roundup2((sizeof(struct extattr) - 1 + (eap)->ea_namelength), 8)
sys/uvm/pmap/pmap.c
2452
cache_line_size = roundup2(sizeof(kmutex_t), cache_line_size);
sys/uvm/uvm_map.c
191
*vap = roundup2(*vap, align);
sys/uvm/uvm_page.c
407
bucketsize = roundup2(bucketsize, coherency_unit);
sys/uvm/uvm_page.c
755
bucketsize = roundup2(bucketsize, coherency_unit);
sys/uvm/uvm_page.c
759
bucketarray = (char *)roundup2((uintptr_t)bucketmem, coherency_unit);
sys/uvm/uvm_page.c
958
ucpu = (struct uvm_cpu *)roundup2((uintptr_t)ucpu,
sys/uvm/uvm_pgflcache.c
282
(roundup2(sz * VM_NFREELIST, coherency_unit) + coherency_unit - 1);
sys/uvm/uvm_pgflcache.c
363
addr = roundup2((uintptr_t)ucpu->pgflcachemem, coherency_unit);
sys/uvm/uvm_pglist.c
142
candidate = roundup2(ulmax(low, uvm_physseg_get_avail_start(psi) +
sys/uvm/uvm_pglist.c
166
candidate = roundup2(ulmax(low, uvm_physseg_get_avail_start(psi)), alignment);
sys/uvm/uvm_pglist.c
179
candidate = roundup2(candidate, alignment);
sys/uvm/uvm_pglist.c
264
cnt = roundup2(cnt, alignment);
sys/uvm/uvm_pglist.c
352
rlo = roundup2(ptoa(uvm_physseg_get_avail_start(upm)), alignment);
sys/uvm/uvm_pglist.c
353
rlo = MAX(rlo, roundup2(low, alignment));
sys/uvm/uvm_pglist.c
354
rlo = MAX(rlo, roundup2(pa - ptoa(num - 1), alignment));
sys/uvm/uvm_pglist.c
710
low = roundup2(low, alignment);
tests/dev/audio/audiotest.c
2741
lsize = roundup2(bufsize, pagesize);