/netbsd/external/bsd/nsd/dist/ |
H A D | region-allocator.c | 254 size_t aligned_size; in region_alloc() local 280 region->recycle_bin[aligned_size] = region->recycle_bin[aligned_size]->next; in region_alloc() 281 region->recycle_size -= aligned_size; in region_alloc() 282 region->unused_space += aligned_size - size; in region_alloc() 321 region->allocated += aligned_size; in region_alloc() 323 region->total_allocated += aligned_size; in region_alloc() 324 region->unused_space += aligned_size - size; in region_alloc() 434 size_t aligned_size; in region_recycle() local 461 region->recycle_bin[aligned_size] = elem; in region_recycle() 462 region->recycle_size += aligned_size; in region_recycle() [all …]
|
/netbsd/external/apache2/llvm/dist/clang/lib/AST/Interp/ |
H A D | InterpStack.h | 31 new (grow(aligned_size<T>())) T(std::forward<Tys>(Args)...); in push() 39 shrink(aligned_size<T>()); in pop() 47 shrink(aligned_size<T>()); in discard() 52 return *reinterpret_cast<T *>(peek(aligned_size<T>())); in peek() 67 template <typename T> constexpr size_t aligned_size() const { in aligned_size() function
|
/netbsd/external/gpl3/gcc/dist/libsanitizer/asan/ |
H A D | asan_poisoning.h | 37 ALWAYS_INLINE void FastPoisonShadow(uptr aligned_beg, uptr aligned_size, in FastPoisonShadow() argument 42 aligned_beg + aligned_size - SHADOW_GRANULARITY) + 1; in FastPoisonShadow()
|
H A D | asan_poisoning.cc | 298 uptr aligned_size = size & ~(SHADOW_GRANULARITY - 1); in PoisonAlignedStackMemory() local 299 PoisonShadow(addr, aligned_size, in PoisonAlignedStackMemory() 301 if (size == aligned_size) in PoisonAlignedStackMemory() 303 s8 end_offset = (s8)(size - aligned_size); in PoisonAlignedStackMemory() 304 s8* shadow_end = (s8*)MemToShadow(addr + aligned_size); in PoisonAlignedStackMemory()
|
H A D | asan_globals.cc | 63 uptr aligned_size = RoundUpTo(g.size, SHADOW_GRANULARITY); in PoisonRedZones() local 64 FastPoisonShadow(g.beg + aligned_size, g.size_with_redzone - aligned_size, in PoisonRedZones() 66 if (g.size != aligned_size) { in PoisonRedZones()
|
H A D | asan_malloc_linux.cc | 72 uptr aligned_size = RoundUpTo(size_in_bytes, kWordSize); in PosixMemalignFromLocalPool() local 74 uptr *end_mem = (uptr*)(aligned_addr + aligned_size); in PosixMemalignFromLocalPool()
|
/netbsd/sys/external/bsd/compiler_rt/dist/lib/asan/ |
H A D | asan_poisoning.h | 39 ALWAYS_INLINE void FastPoisonShadow(uptr aligned_beg, uptr aligned_size, in FastPoisonShadow() argument 44 aligned_beg + aligned_size - SHADOW_GRANULARITY) + 1; in FastPoisonShadow()
|
H A D | asan_poisoning.cc | 300 uptr aligned_size = size & ~(SHADOW_GRANULARITY - 1); in PoisonAlignedStackMemory() local 301 PoisonShadow(addr, aligned_size, in PoisonAlignedStackMemory() 303 if (size == aligned_size) in PoisonAlignedStackMemory() 305 s8 end_offset = (s8)(size - aligned_size); in PoisonAlignedStackMemory() 306 s8* shadow_end = (s8*)MemToShadow(addr + aligned_size); in PoisonAlignedStackMemory()
|
H A D | asan_globals.cc | 65 uptr aligned_size = RoundUpTo(g.size, SHADOW_GRANULARITY); in PoisonRedZones() local 66 FastPoisonShadow(g.beg + aligned_size, g.size_with_redzone - aligned_size, in PoisonRedZones() 68 if (g.size != aligned_size) { in PoisonRedZones()
|
H A D | asan_malloc_linux.cc | 74 uptr aligned_size = RoundUpTo(size_in_bytes, kWordSize); in PosixMemalignFromLocalPool() local 76 uptr *end_mem = (uptr*)(aligned_addr + aligned_size); in PosixMemalignFromLocalPool()
|
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/asan/ |
H A D | asan_poisoning.h | 37 ALWAYS_INLINE void FastPoisonShadow(uptr aligned_beg, uptr aligned_size, in FastPoisonShadow() argument 42 aligned_beg + aligned_size - SHADOW_GRANULARITY) + 1; in FastPoisonShadow()
|
H A D | asan_poisoning.cc | 298 uptr aligned_size = size & ~(SHADOW_GRANULARITY - 1); in PoisonAlignedStackMemory() local 299 PoisonShadow(addr, aligned_size, in PoisonAlignedStackMemory() 301 if (size == aligned_size) in PoisonAlignedStackMemory() 303 s8 end_offset = (s8)(size - aligned_size); in PoisonAlignedStackMemory() 304 s8* shadow_end = (s8*)MemToShadow(addr + aligned_size); in PoisonAlignedStackMemory()
|
H A D | asan_globals.cc | 63 uptr aligned_size = RoundUpTo(g.size, SHADOW_GRANULARITY); in PoisonRedZones() local 64 FastPoisonShadow(g.beg + aligned_size, g.size_with_redzone - aligned_size, in PoisonRedZones() 66 if (g.size != aligned_size) { in PoisonRedZones()
|
H A D | asan_malloc_linux.cc | 72 uptr aligned_size = RoundUpTo(size_in_bytes, kWordSize); in PosixMemalignFromLocalPool() local 74 uptr *end_mem = (uptr*)(aligned_addr + aligned_size); in PosixMemalignFromLocalPool()
|
/netbsd/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
H A D | amdgpu_fb.c | 146 int aligned_size, size; in amdgpufb_create_pinned_object() local 163 aligned_size = ALIGN(size, PAGE_SIZE); in amdgpufb_create_pinned_object() 164 ret = amdgpu_gem_object_create(adev, aligned_size, 0, domain, flags, in amdgpufb_create_pinned_object() 167 pr_err("failed to allocate framebuffer (%d)\n", aligned_size); in amdgpufb_create_pinned_object()
|
/netbsd/sys/external/bsd/drm2/dist/drm/radeon/ |
H A D | radeon_fb.c | 149 int aligned_size, size; in radeonfb_create_pinned_object() local 163 aligned_size = ALIGN(size, PAGE_SIZE); in radeonfb_create_pinned_object() 164 ret = radeon_gem_object_create(rdev, aligned_size, 0, in radeonfb_create_pinned_object() 168 pr_err("failed to allocate framebuffer (%d)\n", aligned_size); in radeonfb_create_pinned_object()
|
/netbsd/sys/arch/shark/ofw/ |
H A D | ofw.c | 1886 vsize_t aligned_size; in ofw_claimpages() local 1893 for (aligned_size = 1; aligned_size < alloc_size; aligned_size <<= 1) in ofw_claimpages() 1900 va = (*free_pp & ~(aligned_size - 1)) - aligned_size; in ofw_claimpages() 1903 pa = ofw_claimphys(0, alloc_size, aligned_size); in ofw_claimpages()
|
/netbsd/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/ |
H A D | memory_resource.cc | 189 struct aligned_size struct 198 aligned_size(size_t sz, size_t align) noexcept in aligned_size() function 284 aligned_size<64> _M_size; 608 aligned_size<min> _M_size;
|
/netbsd/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/ |
H A D | bitmap_allocator.h | 708 struct aligned_size in _GLIBCXX_VISIBILITY() 719 char __M_unused[aligned_size<sizeof(value_type), in _GLIBCXX_VISIBILITY()
|
/netbsd/external/gpl3/gcc/dist/libstdc++-v3/include/ext/ |
H A D | bitmap_allocator.h | 707 struct aligned_size in _GLIBCXX_VISIBILITY() 718 char __M_unused[aligned_size<sizeof(value_type), in _GLIBCXX_VISIBILITY()
|
/netbsd/crypto/external/bsd/heimdal/dist/lib/krb5/ |
H A D | pac.c | 147 uint32_t *aligned_size) in pac_aligned_size() argument 162 *aligned_size = size; in pac_aligned_size()
|
/netbsd/external/gpl3/gdb/dist/gold/ |
H A D | output.cc | 4385 uint64_t aligned_size = align_address(relro_size, max_align); in set_section_addresses() local 4387 last_relro_pad = aligned_size - relro_size; in set_section_addresses() 4393 uint64_t desired_align = page_align - (aligned_size % page_align); in set_section_addresses()
|
/netbsd/external/gpl3/binutils/dist/gold/ |
H A D | output.cc | 4340 uint64_t aligned_size = align_address(relro_size, max_align); in set_section_addresses() local 4342 last_relro_pad = aligned_size - relro_size; in set_section_addresses() 4348 uint64_t desired_align = page_align - (aligned_size % page_align); in set_section_addresses()
|
/netbsd/external/gpl3/binutils.old/dist/gold/ |
H A D | output.cc | 4385 uint64_t aligned_size = align_address(relro_size, max_align); in set_section_addresses() local 4387 last_relro_pad = aligned_size - relro_size; in set_section_addresses() 4393 uint64_t desired_align = page_align - (aligned_size % page_align); in set_section_addresses()
|
/netbsd/external/gpl3/gdb.old/dist/gold/ |
H A D | output.cc | 4385 uint64_t aligned_size = align_address(relro_size, max_align); in set_section_addresses() local 4387 last_relro_pad = aligned_size - relro_size; in set_section_addresses() 4393 uint64_t desired_align = page_align - (aligned_size % page_align); in set_section_addresses()
|