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

12345678910

/freebsd-13-stable/tools/build/cross-build/include/common/sys/
H A Dparam.h85 #ifndef roundup2
86 #define roundup2(x, y) \ macro
/freebsd-13-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-13-stable/lib/libkvm/
H A Dkvm_powerpc64.h50 #define ppc64_round_page(x) roundup2((kvaddr_t)(x), PPC64_PAGE_SIZE)
/freebsd-13-stable/sys/dev/rtwn/rtl8192c/usb/
H A Dr92cu_rx.c54 return (roundup2(totlen, 128));
/freebsd-13-stable/lib/libc/gen/
H A Dtls.c143 res = (void *)roundup2((uintptr_t)mem + sizeof(void *), align);
210 post_size = roundup2(TLS_TCB_SIZE, libc_tls_init_align) - TLS_TCB_SIZE;
215 pre_size = roundup2(tls_block_size, libc_tls_init_align) -
274 post_size = roundup2(TLS_TCB_SIZE, libc_tls_init_align) - TLS_TCB_SIZE;
279 pre_size = roundup2(tls_block_size, libc_tls_init_align) -
341 size = roundup2(libc_tls_static_space, tcbalign);
362 size = roundup2(libc_tls_static_space, tcbalign);
469 libc_tls_static_space = roundup2(phdr[i].p_memsz,
/freebsd-13-stable/usr.bin/netstat/
H A Dcommon.c117 size = roundup2(ifindex + 1, 32) *
125 ifmap_size = roundup2(ifindex + 1, 32);
/freebsd-13-stable/sys/crypto/via/
H A Dpadlock.h74 #define PADLOCK_ALIGN(p) (void *)(roundup2((uintptr_t)(p), 16))
/freebsd-13-stable/sys/ufs/ufs/
H A Ddir.h115 (roundup2(__offsetof(struct direct, d_name) + (namlen) + 1, DIR_ROUNDUP))
H A Dextattr.h105 roundup2((sizeof(struct extattr) - 1 + (eap)->ea_namelength), 8)
/freebsd-13-stable/sys/dev/rtwn/rtl8812a/usb/
H A Dr12au_rx.c85 return (roundup2(totlen, 8));
/freebsd-13-stable/sys/arm64/arm64/
H A Dgenassym.c41 ASSYM(BOOTPARAMS_SIZE, roundup2(sizeof(struct arm64_bootparams),
60 ASSYM(PCB_SIZE, roundup2(sizeof(struct pcb), STACKALIGNBYTES + 1));
/freebsd-13-stable/stand/mips/beri/loader/
H A Darch.c89 return (roundup2(addr, align));
/freebsd-13-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-13-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-13-stable/contrib/elftoolchain/libelf/
H A Delf_strptr.c109 count = roundup2(count, alignment);
/freebsd-13-stable/sys/dev/sound/
H A Dunit.c183 i = roundup2(i, 2);
/freebsd-13-stable/sys/dev/cxgbe/crypto/
H A Dt4_kern_tls.c68 #define TLS_KEY_CONTEXT_SZ roundup2(sizeof(struct tls_keyctx), 32)
275 mac_key_size = roundup2(SHA1_HASH_LEN, 16);
478 len = sizeof(*wr) + 3 * roundup2(LEN__SET_TCB_FIELD_ULP, 16);
480 len += roundup2(LEN__SET_TCB_FIELD_ULP, 16);
502 dst += roundup2(LEN__SET_TCB_FIELD_ULP, 16);
509 dst += roundup2(LEN__SET_TCB_FIELD_ULP, 16);
513 dst += roundup2(LEN__SET_TCB_FIELD_ULP, 16);
519 dst += roundup2(LEN__SET_TCB_FIELD_ULP, 16);
830 kctxlen = roundup2(sizeof(*kctx), 32);
1019 roundup2(
[all...]
H A Dt4_keyctx.c129 dst += roundup2(partial_digest_len, 16);
/freebsd-13-stable/sys/net80211/
H A Dieee80211_radiotap.c74 th->it_len = htole16(roundup2(tlen, sizeof(uint32_t)));
90 rh->it_len = htole16(roundup2(rlen, sizeof(uint32_t)));
362 off = roundup2(off, items[i].align);
/freebsd-13-stable/lib/libprocstat/
H A Dcore.c201 roundup2(nhdr.n_namesz, sizeof(Elf32_Size)) +
202 roundup2(nhdr.n_descsz, sizeof(Elf32_Size));
451 roundup2(nhdr.n_namesz, sizeof(Elf32_Size)) +
452 roundup2(nhdr.n_descsz, sizeof(Elf32_Size));
/freebsd-13-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-13-stable/stand/efi/loader/
H A Dcopy.c234 staging = roundup2(staging, 2 * 1024 * 1024);
251 end = roundup2(end, EFI_PAGE_SIZE);
/freebsd-13-stable/usr.sbin/bhyve/
H A Dvirtio.h279 size = roundup2(size, VRING_ALIGN);
283 size = roundup2(size, VRING_ALIGN);
/freebsd-13-stable/usr.bin/elfctl/
H A Delfctl.c390 namesz = roundup2(note.n_namesz, 4);
396 descsz = roundup2(note.n_descsz, 4);

Completed in 311 milliseconds

12345678910