Searched refs:roundup2 (Results 1 - 25 of 193) sorted by relevance

12345678

/freebsd-11-stable/stand/uboot/lib/
H A Dcopy.c104 eubldr = roundup2((uint64_t)uboot_heap_end, KERN_ALIGN);
108 sblock = roundup2((uint64_t)si->mr[i].start,
145 return roundup2(addr, PAGE_SIZE);
/freebsd-11-stable/lib/libc/gen/
H A Dtls.c134 res = (void *)roundup2((uintptr_t)mem + sizeof(void *), align);
203 post_size = roundup2(TLS_TCB_SIZE, tls_init_align) - TLS_TCB_SIZE;
208 pre_size = roundup2(tls_block_size, tls_init_align) - tls_block_size;
266 post_size = roundup2(TLS_TCB_SIZE, tls_init_align) - TLS_TCB_SIZE;
271 pre_size = roundup2(tls_block_size, tls_init_align) - tls_block_size;
332 size = roundup2(tls_static_space, tcbalign);
353 size = roundup2(tls_static_space, tcbalign);
459 tls_static_space = roundup2(phdr[i].p_memsz,
/freebsd-11-stable/stand/mips/beri/loader/
H A Darch.c89 return (roundup2(addr, align));
/freebsd-11-stable/sys/ufs/ufs/
H A Ddir.h112 (roundup2(__offsetof(struct direct, d_name) + (namlen) + 1, DIR_ROUNDUP))
/freebsd-11-stable/contrib/elftoolchain/common/
H A D_elftc.h378 #ifndef roundup2
379 #define roundup2 roundup macro
424 #ifndef roundup2
425 #define roundup2 roundup macro
485 #define roundup2 roundup macro
/freebsd-11-stable/sys/arm64/arm64/
H A Dgenassym.c48 ASSYM(PCB_SIZE, roundup2(sizeof(struct pcb), STACKALIGNBYTES + 1));
/freebsd-11-stable/contrib/elftoolchain/libelf/
H A Delf_strptr.c109 count = roundup2(count, alignment);
/freebsd-11-stable/sys/crypto/via/
H A Dpadlock.h82 #define PADLOCK_ALIGN(p) (void *)(roundup2((uintptr_t)(p), 16))
/freebsd-11-stable/lib/libc/tests/string/
H A Dstpncpy_test.c43 size_t alloc_size = roundup2(len, PAGE_SIZE) + PAGE_SIZE;
H A Dwcsnlen_test.c44 size_t alloc_size = roundup2(len, PAGE_SIZE) + PAGE_SIZE;
/freebsd-11-stable/sys/dev/sound/
H A Dunit.c181 i = roundup2(i, 2);
/freebsd-11-stable/sys/net80211/
H A Dieee80211_radiotap.c72 th->it_len = htole16(roundup2(tlen, sizeof(uint32_t)));
88 rh->it_len = htole16(roundup2(rlen, sizeof(uint32_t)));
360 off = roundup2(off, items[i].align);
/freebsd-11-stable/lib/libprocstat/
H A Dcore.c199 roundup2(nhdr.n_namesz, sizeof(Elf32_Size)) +
200 roundup2(nhdr.n_descsz, sizeof(Elf32_Size));
449 roundup2(nhdr.n_namesz, sizeof(Elf32_Size)) +
450 roundup2(nhdr.n_descsz, sizeof(Elf32_Size));
/freebsd-11-stable/stand/i386/isoboot/
H A Disoboot.c229 (roundup2(__base + (int32_t)&_end, 0x10000) - __base);
362 p += roundup2(hdr.ex.a_text, PAGE_SIZE);
365 p += hdr.ex.a_data + roundup2(hdr.ex.a_bss, PAGE_SIZE);
396 p += roundup2(ep[1].p_memsz, PAGE_SIZE);
/freebsd-11-stable/sys/dev/vt/hw/efifb/
H A Defifb.c121 info->fb_bpp = roundup2(info->fb_depth, NBBY);
/freebsd-11-stable/sys/dev/cxgbe/crypto/
H A Dt4_crypto.c280 len += roundup2(nsegs % 8, 2) * sizeof(uint64_t);
340 return (roundup2(n, 16));
374 if (roundup2(transhdr_len, 16) + roundup2(input_len, 16) >
446 iopad_size = roundup2(s->hmac.partial_digest_len, 16);
475 wr_len = roundup2(transhdr_len, 16) + roundup2(imm_len, 16) + sgl_len;
600 kctx_len = roundup2(s->blkcipher.key_len, 16);
619 wr_len = roundup2(transhdr_len, 16) + s->blkcipher.iv_len +
620 roundup2(imm_le
[all...]
/freebsd-11-stable/sys/dev/drm2/i915/
H A Dintel_fb.c72 mode_cmd.pitches[0] = roundup2(mode_cmd.width * ((sizes->surface_bpp + 7) /
78 size = roundup2(size, PAGE_SIZE);
/freebsd-11-stable/sys/sys/
H A Dbitstring.h78 #ifdef roundup2
79 #define _bit_roundup2 roundup2
H A Dpcpu.h75 #define DPCPU_SIZE roundup2(DPCPU_BYTES, PAGE_SIZE)
/freebsd-11-stable/usr.sbin/bhyve/
H A Dvirtio.h277 size = roundup2(size, VRING_ALIGN);
281 size = roundup2(size, VRING_ALIGN);
/freebsd-11-stable/sys/dev/drm2/radeon/
H A Devergreen_blit_kms.c49 h = roundup2(h, 8);
602 dwords = roundup2(rdev->r600_blit.state_len, 0x10);
654 obj_size = roundup2(obj_size, 256);
661 obj_size = roundup2(obj_size, 256);
668 obj_size = roundup2(obj_size, 256);
/freebsd-11-stable/sys/powerpc/ps3/
H A Dps3_syscons.c138 lv1_gpu_memory_allocate(roundup2(sc->fb_info.fb_size, 1024*1024),
/freebsd-11-stable/sys/sparc64/sparc64/
H A Ddump_machdep.c93 hdrsize = roundup2(sizeof(hdr) + sizeof(struct sparc64_dump_reg) * nreg,
/freebsd-11-stable/sys/dev/firewire/
H A Dfwdma.c154 esize = ssize = roundup2(esize, PAGE_SIZE);
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_socket.h84 #define LINUX_CMSG_ALIGN(len) roundup2(len, sizeof(l_ulong))

Completed in 167 milliseconds

12345678