/freebsd/contrib/llvm-project/libcxx/src/ |
H A D | new.cpp | 119 static void* operator_new_aligned_impl(std::size_t size, std::align_val_t alignment) { in operator_new_aligned_impl() 140 operator new(std::size_t size, std::align_val_t alignment) _THROW_BAD_ALLOC { in operator new() 147 _LIBCPP_WEAK void* operator new(size_t size, std::align_val_t alignment, const std::nothrow_t&) noe… in operator new() 172 operator new[](size_t size, std::align_val_t alignment) _THROW_BAD_ALLOC { in operator new[]() 176 _LIBCPP_WEAK void* operator new[](size_t size, std::align_val_t alignment, const std::nothrow_t&) n… in operator new[]() 203 _LIBCPP_WEAK void operator delete(void* ptr, std::align_val_t alignment, const std::nothrow_t&) noe… in operator delete() 207 _LIBCPP_WEAK void operator delete(void* ptr, size_t, std::align_val_t alignment) noexcept { in operator delete() 211 _LIBCPP_WEAK void operator delete[](void* ptr, std::align_val_t alignment) noexcept { in operator delete[]() 215 _LIBCPP_WEAK void operator delete[](void* ptr, std::align_val_t alignment, const std::nothrow_t&) n… in operator delete[]() 219 _LIBCPP_WEAK void operator delete[](void* ptr, size_t, std::align_val_t alignment) noexcept { in operator delete[]()
|
/freebsd/sys/dev/drm2/ |
H A D | drm_mm.c | 116 unsigned long size, unsigned alignment, in drm_mm_insert_helper() 161 unsigned alignment, in drm_mm_get_block_generic() 183 unsigned long size, unsigned alignment, in drm_mm_insert_node_generic() 199 unsigned long size, unsigned alignment) in drm_mm_insert_node() 207 unsigned long size, unsigned alignment, in drm_mm_insert_helper_range() 259 unsigned alignment, in drm_mm_get_block_range_generic() 284 unsigned long size, unsigned alignment, unsigned long color, in drm_mm_insert_node_in_range_generic() 303 unsigned long size, unsigned alignment, in drm_mm_insert_node_in_range() 366 unsigned long size, unsigned alignment) in check_free_hole() 382 unsigned alignment, in drm_mm_search_free_generic() [all …]
|
H A D | drm_mm.h | 118 unsigned alignment) in drm_mm_get_block() 124 unsigned alignment) in drm_mm_get_block_atomic() 131 unsigned alignment, in drm_mm_get_block_range() 141 unsigned alignment, in drm_mm_get_color_block_range() 152 unsigned alignment, in drm_mm_get_block_atomic_range() 200 unsigned alignment, in drm_mm_search_free() 208 unsigned alignment, in drm_mm_search_free_in_range() 218 unsigned alignment, in drm_mm_search_free_color() 227 unsigned alignment, in drm_mm_search_free_in_range_color()
|
/freebsd/contrib/jemalloc/include/jemalloc/internal/ |
H A D | jemalloc_internal_inlines_c.h | 67 ipallocztm(tsdn_t *tsdn, size_t usize, size_t alignment, bool zero, in ipallocztm() 87 ipalloct(tsdn_t *tsdn, size_t usize, size_t alignment, bool zero, in ipalloct() 93 ipalloc(tsd_t *tsd, size_t usize, size_t alignment, bool zero) { in ipalloc() 136 size_t alignment, bool zero, tcache_t *tcache, arena_t *arena, in iralloct_realign() 174 iralloct(tsdn_t *tsdn, void *ptr, size_t oldsize, size_t size, size_t alignment, in iralloct() 197 iralloc(tsd_t *tsd, void *ptr, size_t oldsize, size_t size, size_t alignment, in iralloc() 205 size_t alignment, bool zero, size_t *newsize) { in ixalloc()
|
H A D | jemalloc_internal_types.h | 85 #define ALIGNMENT_ADDR2BASE(a, alignment) \ argument 89 #define ALIGNMENT_ADDR2OFFSET(a, alignment) \ argument 93 #define ALIGNMENT_CEILING(s, alignment) \ argument
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_barrier.h | 21 #define KMP_ALIGNED_ALLOCATE(size, alignment) _mm_malloc(size, alignment) argument 24 #define KMP_ALGIN_UP(val, alignment) \ argument 27 aligned_alloc(alignment, KMP_ALGIN_UP(size, alignment)) in KMP_ALIGNED_ALLOCATE() argument 40 KMP_ALIGNED_ALLOCATE(size,alignment) global() argument 43 KMP_ALIGNED_ALLOCATE(size,alignment) global() argument [all...] |
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_allocation_functions.cpp | 43 int __sanitizer_posix_memalign(void **memptr, uptr alignment, uptr size) { in __sanitizer_posix_memalign() 51 void *__sanitizer_memalign(uptr alignment, uptr size) { in __sanitizer_memalign() 57 void *__sanitizer_aligned_alloc(uptr alignment, uptr size) { in __sanitizer_aligned_alloc() 63 void *__sanitizer___libc_memalign(uptr alignment, uptr size) { in __sanitizer___libc_memalign()
|
/freebsd/sys/vm/ |
H A D | vm_extern.h | 143 return ((pa & (alignment - 1)) == 0); in vm_addr_align_ok() argument 163 vm_addr_ok(vm_paddr_t pa,vm_paddr_t size,u_long alignment,vm_paddr_t boundary) vm_addr_ok() argument [all...] |
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_allocator_checks.h | 44 inline bool CheckAlignedAllocAlignmentAndSize(uptr alignment, uptr size) { in CheckAlignedAllocAlignmentAndSize() 55 inline bool CheckPosixMemalignAlignment(uptr alignment) { in CheckPosixMemalignAlignment()
|
H A D | sanitizer_allocator_report.cpp | 76 void NORETURN ReportInvalidAllocationAlignment(uptr alignment, in ReportInvalidAllocationAlignment() 86 void NORETURN ReportInvalidAlignedAllocAlignment(uptr size, uptr alignment, in ReportInvalidAlignedAllocAlignment() 104 void NORETURN ReportInvalidPosixMemalignAlignment(uptr alignment, in ReportInvalidPosixMemalignAlignment()
|
H A D | sanitizer_allocator.cpp | 50 uptr alignment) { in RawInternalAlloc() 62 uptr alignment = 8; in RawInternalRealloc() local 86 void *InternalAlloc(uptr size, InternalAllocatorCache *cache, uptr alignment) { in InternalAlloc() 167 void SetLowLevelAllocateMinAlignment(uptr alignment) { in SetLowLevelAllocateMinAlignment()
|
/freebsd/contrib/jemalloc/src/ |
H A D | base.c | 39 size_t alignment = HUGEPAGE; in base_map() local 181 size_t alignment) { in base_extent_bump_alloc_helper() 233 size_t alignment) { in base_extent_bump_alloc() 250 size_t alignment) { in base_block_alloc() 308 base_extent_alloc(tsdn_t *tsdn, base_t *base, size_t size, size_t alignment) { in base_extent_alloc() 421 base_alloc_impl(tsdn_t *tsdn, base_t *base, size_t size, size_t alignment, in base_alloc_impl() 464 base_alloc(tsdn_t *tsdn, base_t *base, size_t size, size_t alignment) { in base_alloc()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan_allocator.cpp | 91 static void *DFsanAllocate(uptr size, uptr alignment, bool zeroise) { in DFsanAllocate() 154 void *DFsanReallocate(void *old_p, uptr new_size, uptr alignment) { in DFsanReallocate() 260 void *dfsan_aligned_alloc(uptr alignment, uptr size) { in dfsan_aligned_alloc() 271 void *dfsan_memalign(uptr alignment, uptr size) { in dfsan_memalign() 282 int dfsan_posix_memalign(void **memptr, uptr alignment, uptr size) { in dfsan_posix_memalign()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | RecordLayout.cpp | 31 CharUnits alignment, in ASTRecordLayout() 46 const ASTContext &Ctx, CharUnits size, CharUnits alignment, in ASTRecordLayout()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_allocator.cpp | 90 void *Allocate(const StackTrace &stack, uptr size, uptr alignment, in Allocate() 131 uptr alignment) { in Reallocate() 179 int lsan_posix_memalign(void **memptr, uptr alignment, uptr size, in lsan_posix_memalign() 195 void *lsan_aligned_alloc(uptr alignment, uptr size, const StackTrace &stack) { in lsan_aligned_alloc() 205 void *lsan_memalign(uptr alignment, uptr size, const StackTrace &stack) { in lsan_memalign()
|
H A D | lsan_malloc_mac.cpp | 27 #define COMMON_MALLOC_MEMALIGN(alignment, size) \ argument 39 #define COMMON_MALLOC_POSIX_MEMALIGN(memptr, alignment, size) \ argument
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_malloc_mac.cpp | 28 #define COMMON_MALLOC_MEMALIGN(alignment, size) \ argument 57 #define COMMON_MALLOC_POSIX_MEMALIGN(memptr, alignment, size) \ argument
|
/freebsd/sys/dev/firewire/ |
H A D | fwdma.c | 69 fwdma_malloc(struct firewire_comm *fc, int alignment, bus_size_t size, in fwdma_malloc() 145 fwdma_malloc_multiseg(struct firewire_comm *fc, int alignment, in fwdma_malloc_multiseg()
|
/freebsd/usr.sbin/bhyve/amd64/ |
H A D | e820.c | 377 const uint64_t alignment, const enum e820_memory_type type) in e820_alloc_highest() 411 const uint64_t alignment, const enum e820_memory_type type) in e820_alloc_lowest() 443 const uint64_t alignment, const enum e820_memory_type type, in e820_alloc()
|
/freebsd/sys/contrib/ncsw/etc/ |
H A D | mm.c | 178 uint64_t alignment; in AddFree() local 311 uint64_t alignment; in CutFree() local 541 static uint64_t MmGetGreaterAlignment(t_MM *p_MM, uint64_t size, uint64_t alignment, char* name) in MmGetGreaterAlignment() 702 uint64_t MM_Get(t_Handle h_MM, uint64_t size, uint64_t alignment, char* name) in MM_Get() 839 uint64_t MM_GetForceMin(t_Handle h_MM, uint64_t size, uint64_t alignment, uint64_t min, char* name) in MM_GetForceMin()
|
/freebsd/sys/riscv/riscv/ |
H A D | busdma_machdep.c | 53 bus_size_t alignment, bus_addr_t boundary, bus_addr_t lowaddr, in common_bus_dma_tag_create() 115 bus_dma_tag_create(bus_dma_tag_t parent, bus_size_t alignment, in bus_dma_tag_create()
|
/freebsd/contrib/processor-trace/libipt/src/ |
H A D | pt_sync.c | 47 static const uint8_t *truncate(const uint8_t *pointer, size_t alignment) in truncate() 57 static const uint8_t *align(const uint8_t *pointer, size_t alignment) in align()
|
/freebsd/sys/arm64/arm64/ |
H A D | busdma_machdep.c | 54 bus_size_t alignment, bus_addr_t boundary, bus_addr_t lowaddr, in common_bus_dma_tag_create() 121 bus_dma_tag_create(bus_dma_tag_t parent, bus_size_t alignment, in bus_dma_tag_create()
|
/freebsd/sys/x86/x86/ |
H A D | busdma_machdep.c | 58 bus_size_t alignment, bus_addr_t boundary, bus_addr_t lowaddr, in common_bus_dma_tag_create() 138 bus_dma_tag_create(bus_dma_tag_t parent, bus_size_t alignment, in bus_dma_tag_create()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | stride_dd.c | 24 static int alignment = 0; variable 86 invalid_alignment(int alignment) in invalid_alignment()
|