/fuchsia/zircon/system/ulib/fbl/include/fbl/ |
H A D | slab_malloc.h | 29 static void* Allocate(size_t amt, size_t align) { argument 31 ZX_DEBUG_ASSERT((reinterpret_cast<uintptr_t>(mem) % align) == 0); 43 static void* Allocate(size_t amt, size_t align) { 44 return ::aligned_alloc(align, amt);
|
/fuchsia/zircon/kernel/kernel/ |
H A D | percpu.cpp | 10 #include <kernel/align.h>
|
/fuchsia/zircon/system/ulib/virtio/include/virtio/ |
H A D | virtio_ring.h | 125 * // Padding to the next align boundary. 149 unsigned long align) { 157 vr->used = (struct vring_used*)(((uintptr_t)&vr->avail->ring[num] + sizeof(uint16_t) + align - 1) & ~(align - 1)); 160 static inline size_t vring_size(size_t num, unsigned long align) { argument 161 return ((sizeof(struct vring_desc) * num + sizeof(uint16_t) * (3 + num) + align - 1) & ~(align - 1)) + sizeof(uint16_t) * 3 + sizeof(struct vring_used_elem) * num; 148 vring_init(struct vring* vr, unsigned int num, void* p, unsigned long align) argument
|
/fuchsia/zircon/third_party/ulib/musl/src/network/ |
H A D | getservbyname_r.c | 20 int cnt, proto, align; local 23 align = -(uintptr_t)buf & (ALIGN - 1); 24 if (buflen < 2 * sizeof(char*) + align) 26 buf += align;
|
/fuchsia/zircon/third_party/ulib/uboringssl/crypto/fipsmodule/rand/asm/ |
H A D | rdrand-x86_64.pl | 36 .align 16 53 .align 16
|
/fuchsia/zircon/third_party/ulib/uboringssl/linux-x86_64/crypto/fipsmodule/ |
H A D | rdrand-x86_64.S | 10 .align 16 28 .align 16
|
H A D | vpaes-x86_64.S | 20 .align 16 40 .align 16 110 .align 16 135 .align 16 216 .align 16 287 .align 16 319 .align 16 355 .align 16 401 .align 16 432 .align 1 [all...] |
H A D | aesni-x86_64.S | 8 .align 16 33 .align 16 55 .align 16 84 .align 16 113 .align 16 147 .align 16 181 .align 16 221 .align 16 261 .align 16 280 .align 1 [all...] |
/fuchsia/zircon/third_party/ulib/jemalloc/test/integration/ |
H A D | rallocx.c | 160 size_t align; local 163 align = ZU(1); 164 p = mallocx(1, MALLOCX_ALIGN(align)); 167 for (align <<= 1; align <= MAX_ALIGN; align <<= 1) { 168 q = rallocx(p, 1, MALLOCX_ALIGN(align)); 170 "Unexpected rallocx() error for align=%zu", align); 172 (void *)((uintptr_t)q & (align [all...] |
/fuchsia/zircon/system/utest/region-alloc/ |
H A D | common.h | 84 uint64_t align; member in struct:__anon1452 91 { .size = 0x00000000, .align = 0x00000001, .res = ZX_ERR_INVALID_ARGS, 0 }, // bad size 92 { .size = 0x00000001, .align = 0x00000000, .res = ZX_ERR_INVALID_ARGS, 0 }, // bad align 93 { .size = 0x00000001, .align = 0x00001001, .res = ZX_ERR_INVALID_ARGS, 0 }, // bad align 96 { .size = 0x10000000, .align = 0x00000001, .res = ZX_ERR_NOT_FOUND, 0 }, // too large 97 { .size = 0x00005000, .align = 0x10000000, .res = ZX_ERR_NOT_FOUND, 0 }, // Cannot align 100 { .size = (1 << 0), .align [all...] |
/fuchsia/zircon/kernel/include/kernel/ |
H A D | percpu.h | 9 #include <kernel/align.h>
|
/fuchsia/zircon/kernel/vm/ |
H A D | vmm.cpp | 133 uint8_t align = (argc >= 4) ? (uint8_t)argv[3].u : 0u; local 134 zx_status_t err = test_aspace->Alloc("alloc test", argv[2].u, &ptr, align, 0, 0); 142 uint8_t align = (argc >= 5) ? (uint8_t)argv[4].u : 0u; local 143 zx_status_t err = test_aspace->AllocPhysical("physical test", argv[3].u, &ptr, align, argv[2].u, 153 uint8_t align = (argc >= 4) ? (uint8_t)argv[3].u : 0u; local 154 zx_status_t err = test_aspace->AllocContiguous("contig test", argv[2].u, &ptr, align, 0,
|
H A D | vm_address_region.cpp | 436 vaddr_t* pva, vaddr_t search_base, vaddr_t align, 500 next_arch_mmu_flags, align, region_size, arch_mmu_flags); 524 LTRACEF_LEVEL(2, "aspace %p size 0x%zx align %hhu\n", this, size, 864 const vaddr_t align = 1UL << align_pow2; local 872 if (CheckGapLocked(before_iter, after_iter, spot, base, align, size, 0, arch_mmu_flags)) { 889 const vaddr_t align = 1UL << align_pow2; local 894 vaddr_t prev_region_end = ROUNDUP(base_, align); 902 prev_region_end = ROUNDUP(region.base() + region.size(), align); 934 const vaddr_t align = 1UL << align_pow2; local 938 ForEachGap([align, align_pow 434 CheckGapLocked(const ChildList::iterator& prev, const ChildList::iterator& next, vaddr_t* pva, vaddr_t search_base, vaddr_t align, size_t region_size, size_t min_gap, uint arch_mmu_flags) argument 1004 const vaddr_t align = 1UL << align_pow2; local [all...] |
/fuchsia/zircon/third_party/ulib/uboringssl/crypto/fipsmodule/aes/asm/ |
H A D | vpaes-x86_64.pl | 92 .align 16 112 .align 16 182 .align 16 207 .align 16 288 .align 16 359 .align 16 391 .align 16 427 .align 16 473 .align 16 504 .align 1 [all...] |
H A D | aesni-x86_64.pl | 276 .align 16 292 .align 16 328 .align 16 364 .align 16 409 .align 16 456 .align 16 475 .align 16 517 .align 16 537 .align 16 602 .align 1 [all...] |
H A D | bsaes-x86_64.pl | 817 .align 64 846 .align 16 862 .align 16 881 .align 64 909 .align 16 925 .align 16 972 .align 16 989 .align 16 1061 .align 16 1074 .align 1 [all...] |
/fuchsia/zircon/kernel/arch/x86/ |
H A D | gdt.S | 24 .align 8
|
H A D | start.S | 218 .align 8 297 .align 8 339 .align 16
|
/fuchsia/zircon/third_party/ulib/ngunwind/src/mi/ |
H A D | mempool.c | 67 unsigned align = UNW_ALIGN((uintptr_t) &sos_memory[0], MAX_ALIGN) local 69 sos_memory_freepos = align;
|
/fuchsia/zircon/third_party/ulib/uboringssl/crypto/fipsmodule/sha/asm/ |
H A D | sha1-x86_64.pl | 252 .align 16 280 .align 16 303 .align 16 347 .align 32 377 .align 16 471 .align 32 479 .align 16 840 .align 16 884 .align 16 939 .align 1 [all...] |
/fuchsia/zircon/kernel/arch/arm64/include/arch/arm64/ |
H A D | mp.h | 10 #include <kernel/align.h>
|
/fuchsia/zircon/kernel/vm/include/vm/ |
H A D | arch_vm_aspace.h | 63 vaddr_t align, size_t size, uint mmu_flags) = 0;
|
/fuchsia/zircon/system/dev/display/hikey-display/ |
H A D | edid.h | 29 uint8_t align[9]; member in struct:__anon306
|
/fuchsia/zircon/third_party/ulib/musl/src/internal/ |
H A D | libc.h | 22 size_t len, size, align, offset; member in struct:tls_module
|
/fuchsia/zircon/third_party/ulib/uboringssl/crypto/fipsmodule/md5/asm/ |
H A D | md5-x86_64.pl | 128 .align 16 275 .align 16 355 .align 4 361 .align 8
|