Home
last modified time | relevance | path

Searched defs:alignment (Results 1 – 25 of 203) sorted by relevance

123456789

/freebsd/contrib/llvm-project/libcxx/src/
H A Dnew.cpp119 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 Ddrm_mm.c116 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 Ddrm_mm.h118 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 Djemalloc_internal_inlines_c.h67 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 Djemalloc_internal_types.h85 #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 Dkmp_barrier.h21 #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 Dhwasan_allocation_functions.cpp43 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 Dvm_extern.h143 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 Dsanitizer_allocator_checks.h44 inline bool CheckAlignedAllocAlignmentAndSize(uptr alignment, uptr size) { in CheckAlignedAllocAlignmentAndSize()
55 inline bool CheckPosixMemalignAlignment(uptr alignment) { in CheckPosixMemalignAlignment()
H A Dsanitizer_allocator_report.cpp76 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 Dsanitizer_allocator.cpp50 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 Dbase.c39 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 Ddfsan_allocator.cpp91 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 DRecordLayout.cpp31 CharUnits alignment, in ASTRecordLayout()
46 const ASTContext &Ctx, CharUnits size, CharUnits alignment, in ASTRecordLayout()
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_allocator.cpp90 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 Dlsan_malloc_mac.cpp27 #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 Dtsan_malloc_mac.cpp28 #define COMMON_MALLOC_MEMALIGN(alignment, size) \ argument
57 #define COMMON_MALLOC_POSIX_MEMALIGN(memptr, alignment, size) \ argument
/freebsd/sys/dev/firewire/
H A Dfwdma.c69 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 De820.c377 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 Dmm.c178 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 Dbusdma_machdep.c53 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 Dpt_sync.c47 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 Dbusdma_machdep.c54 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 Dbusdma_machdep.c58 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 Dstride_dd.c24 static int alignment = 0; variable
86 invalid_alignment(int alignment) in invalid_alignment()

123456789