HomeSort by: relevance | last modified time | path
    Searched refs:roundup2 (Results 1 - 25 of 80) sorted by relevancy

1 2 3 4

  /src/external/cddl/osnet/sys/sys/
dirent.h 48 roundup2(__DIRENT64_NAMEOFF + (len) + 1, sizeof(ino_t))
  /src/sys/arch/riscv/riscv/
cpufunc.c 108 const vaddr_t eva = roundup2(va + sz, line_size);
131 const vaddr_t eva = roundup2(va + sz, line_size);
154 const vaddr_t eva = roundup2(va + sz, line_size);
  /src/lib/libc/tls/
tls.c 93 tls_allocation = roundup2(tls_size, alignof(max_align_t));
163 tls_size = roundup2(phdr->p_memsz, phdr->p_align);
  /src/external/bsd/elftoolchain/dist/common/
_elftc.h 402 #ifndef roundup2
403 #define roundup2 roundup macro
417 #define roundup2 roundup macro
457 #define roundup2 roundup macro
507 #define roundup2 roundup macro
  /src/sys/fs/tmpfs/
tmpfs_mem.c 212 const size_t sz = roundup2(len, TMPFS_NAME_QUANTUM);
224 const size_t sz = roundup2(len, TMPFS_NAME_QUANTUM);
  /src/sys/uvm/
uvm_pglist.c 142 candidate = roundup2(ulmax(low, uvm_physseg_get_avail_start(psi) +
166 candidate = roundup2(ulmax(low, uvm_physseg_get_avail_start(psi)), alignment);
179 candidate = roundup2(candidate, alignment);
264 cnt = roundup2(cnt, alignment);
352 rlo = roundup2(ptoa(uvm_physseg_get_avail_start(upm)), alignment);
353 rlo = MAX(rlo, roundup2(low, alignment));
354 rlo = MAX(rlo, roundup2(pa - ptoa(num - 1), alignment));
710 low = roundup2(low, alignment);
uvm_pgflcache.c 282 (roundup2(sz * VM_NFREELIST, coherency_unit) + coherency_unit - 1);
363 addr = roundup2((uintptr_t)ucpu->pgflcachemem, coherency_unit);
  /src/sys/ufs/ext2fs/
ext2fs_dir.h 202 #define EXT2FS_DIRSIZ(len) roundup2(8 + len, 4)
  /src/external/bsd/elftoolchain/dist/libelf/
elf_strptr.c 118 count = roundup2(count, alignment);
  /src/libexec/ld.elf_so/
tls.c 251 _rtld_tls_static_space = roundup2(_rtld_tls_static_space,
476 offset = roundup2(_rtld_tls_static_offset, obj->tlsalign);
482 offset = roundup2(_rtld_tls_static_offset + obj->tlssize,
xmalloc.c 239 x = roundup2((uintptr_t)mem + sizeof(union overhead), align);
  /src/sys/ufs/ufs/
extattr.h 106 roundup2((sizeof(struct extattr) - 1 + (eap)->ea_namelength), 8)
  /src/sys/kern/
subr_workqueue.c 69 #define WQ_SIZE (roundup2(sizeof(struct workqueue), coherency_unit))
70 #define WQ_QUEUE_SIZE (roundup2(sizeof(struct workqueue_queue), coherency_unit))
311 wq = (void *)roundup2((uintptr_t)ptr, coherency_unit);
subr_evcnt.c 227 const size_t len = roundup2(copylen, sizeof(uint64_t));
  /src/sys/arch/x86/x86/
cpu_ucode_intel.c 204 (struct intel1_ucode_header *)roundup2((uintptr_t)uha, 16);
  /src/external/bsd/tcpdump/dist/
print-nsh.c 207 tlv_len_padded = roundup2(tlv_len, NSH_HDR_WORD_SIZE);
print-pflog.c 157 hdrlen = roundup2(hdrlen, 4);
print-hncp.c 832 l = roundup2(l, 4);
857 i += 4 + roundup2(bodylen, 4);
  /src/sys/dev/ic/
i82596.c 579 sc->sc_scp_sz = roundup2(sizeof(struct iee_scp), sc->sc_cl_align);
581 sc->sc_iscp_sz = roundup2(sizeof(struct iee_iscp), sc->sc_cl_align);
583 sc->sc_scb_sz = roundup2(sizeof(struct iee_scb), sc->sc_cl_align);
585 sc->sc_rfd_sz = roundup2(sizeof(struct iee_rfd), sc->sc_cl_align);
587 sc->sc_rbd_sz = roundup2(sizeof(struct iee_rbd), sc->sc_cl_align);
589 sc->sc_cb_sz = roundup2(sizeof(struct iee_cb), sc->sc_cl_align);
591 sc->sc_tbd_sz = roundup2(sizeof(struct iee_tbd), sc->sc_cl_align);
  /src/sys/arch/evbmips/mipssim/
machdep.c 237 memsize = roundup2(MIPS_KSEG0_TO_PHYS((uintptr_t)(end)), 1024 * 1024);
  /src/sys/arch/powerpc/booke/dev/
pq3nandfcm.c 251 for (len = roundup2(len, 4); offset < len; offset += 4, dp32++) {
  /src/sys/arch/riscv/sifive/
fu540_ccache.c 115 const paddr_t epa = roundup2(pa + len, sc->sc_line_size);
  /src/sys/dev/ieee1394/
fwdma.c 160 esize = ssize = roundup2(esize, PAGE_SIZE);
  /src/sys/sys/
param.h 437 * Rounding to powers of two. The naive definitions of roundup2 and
440 * #define roundup2(x,m) (((x) + ((m) - 1)) & ~((m) - 1))
446 * roundup2 and rounddown2 would have the unintended effect of clearing
451 #define roundup2(x,m) ((((x) - 1) | ((m) - 1)) + 1) macro
  /src/sys/arch/sparc/stand/ofwboot/
loadfile_machdep.c 290 len = roundup2(len + (rva & PAGE_MASK_4M), PAGE_SIZE_4M);
503 len = roundup2(len + (rva & PAGE_MASK_4M), PAGE_SIZE_4M);

Completed in 31 milliseconds

1 2 3 4