/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan_allocator.cpp | 28 uptr requested_size; member 123 meta->requested_size = size; in DFsanAllocate() 136 uptr size = meta->requested_size; in dfsan_deallocate() 137 meta->requested_size = 0; in dfsan_deallocate() 153 uptr old_size = meta->requested_size; in DFsanReallocate() 157 meta->requested_size = new_size; in DFsanReallocate() 190 if (b->requested_size == 0) in AllocationBegin() 202 return b->requested_size; in AllocationSize() 206 return reinterpret_cast<Metadata *>(allocator.GetMetaData(p))->requested_size; in AllocationSizeFast()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_allocator.cpp | 69 m->requested_size = size; in RegisterAllocation() 162 if (m->requested_size == 0) in GetMallocBegin() 172 return m->requested_size; in GetMallocUsableSize() 176 return Metadata(p)->requested_size; in GetMallocUsableSizeFast() 290 if (addr < chunk + m->requested_size) in PointsIntoChunk() 292 if (IsSpecialCaseOfOperatorNew0(chunk, m->requested_size, addr)) in PointsIntoChunk() 322 uptr LsanMetadata::requested_size() const { in requested_size() function in __lsan::LsanMetadata 323 return reinterpret_cast<ChunkMetadata *>(metadata_)->requested_size; in requested_size() 339 if (m->allocated && (uptr)p < (uptr)chunk + m->requested_size) { in IgnoreObject()
|
H A D | lsan_common.cpp | 328 (void *)pp, p, (void *)chunk, (void *)(chunk + m.requested_size()), in ScanRangeForPointers() 329 m.requested_size()); in ScanRangeForPointers() 336 (void *)(chunk + m.requested_size()), m.requested_size()); in ScanRangeForPointers() 582 ScanRangeForPointers(next_chunk, next_chunk + m.requested_size(), frontier, in FloodFillTag() 593 ScanRangeForPointers(chunk, chunk + m.requested_size(), in MarkIndirectlyLeakedCb() 612 (void *)(chunk + m.requested_size()), m.requested_size()); in IgnoredSuppressedCb() 624 (void *)(chunk + m.requested_size()), m.requested_size()); in CollectIgnoredCb() 677 leaks->push_back({chunk, m.stack_trace_id(), m.requested_size(), m.tag()}); in CollectLeaksCb()
|
H A D | lsan_allocator.h | 45 uptr requested_size : 54; member 47 uptr requested_size : 32; member
|
H A D | lsan_common.h | 146 uptr requested_size() const;
|
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/ |
H A D | msan_allocator.cpp | 30 uptr requested_size; member 219 meta->requested_size = size; in MsanAllocate() 244 uptr size = meta->requested_size; in MsanDeallocate() 245 meta->requested_size = 0; in MsanDeallocate() 271 uptr old_size = meta->requested_size; in MsanReallocate() 275 meta->requested_size = new_size; in MsanReallocate() 312 if (b->requested_size == 0) in AllocationBegin() 323 return b->requested_size; in AllocationSize() 327 return reinterpret_cast<Metadata *>(allocator.GetMetaData(p))->requested_size; in AllocationSizeFast()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_allocator_report.cpp | 128 void NORETURN ReportOutOfMemory(uptr requested_size, const StackTrace *stack) { in ReportOutOfMemory() argument 131 ERROR_OOM("allocator is trying to allocate 0x%zx bytes\n", requested_size); in ReportOutOfMemory()
|
H A D | sanitizer_allocator.cpp | 79 static void NORETURN ReportInternalAllocatorOutOfMemory(uptr requested_size) { in ReportInternalAllocatorOutOfMemory() argument 82 "0x%zx bytes\n", SanitizerToolName, requested_size); in ReportInternalAllocatorOutOfMemory()
|
H A D | sanitizer_allocator_report.h | 35 void NORETURN ReportOutOfMemory(uptr requested_size, const StackTrace *stack);
|
/freebsd/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_qp.c | 599 u32 requested_size; in mlx4_create_zones() local 607 requested_size = min((u32)MLX4_QP_TABLE_RAW_ETH_SIZE, bf_mask + 1); in mlx4_create_zones() 613 !((last_offset + requested_size - 1) & in mlx4_create_zones() 615 size = requested_size; in mlx4_create_zones() 631 requested_size); in mlx4_create_zones() 632 if (size < requested_size) { in mlx4_create_zones() 638 requested_size); in mlx4_create_zones()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_allocator.h | 128 u32 requested_size; member
|
H A D | hwasan_report.cpp | 176 h.tagged_addr + h.requested_size > tagged_addr) { in FindHeapAllocation() 187 UntagAddr(h.tagged_addr) + h.requested_size > UntagAddr(tagged_addr)) { in FindHeapAllocation() 197 untag_4b(h.tagged_addr) + h.requested_size > untag_4b(tagged_addr)) { in FindHeapAllocation() 808 har.requested_size, UntagAddr(har.tagged_addr), in PrintAddressDescription() 809 UntagAddr(har.tagged_addr) + har.requested_size); in PrintAddressDescription()
|
H A D | hwasan_allocator.cpp | 617 uptr LsanMetadata::requested_size() const { in requested_size() function in __lsan::LsanMetadata
|
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_report.h | 77 void ReportOutOfMemory(uptr requested_size, BufferedStackTrace *stack);
|
H A D | asan_errors.h | 264 uptr requested_size; member 270 requested_size(requested_size_) {} in ErrorOutOfMemory()
|
H A D | asan_report.cpp | 323 void ReportOutOfMemory(uptr requested_size, BufferedStackTrace *stack) { in ReportOutOfMemory() argument 325 ErrorOutOfMemory error(GetCurrentTidOrInvalid(), stack, requested_size); in ReportOutOfMemory()
|
H A D | asan_errors.cpp | 282 ERROR_OOM("allocator is trying to allocate 0x%zx bytes\n", requested_size); in Print()
|
H A D | asan_allocator.cpp | 1177 uptr LsanMetadata::requested_size() const { in requested_size() function in __lsan::LsanMetadata
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_alloc.cpp | 425 static void *bget(kmp_info_t *th, bufsize requested_size) { in bget() argument 427 bufsize size = requested_size; in bget() 622 th, requested_size); /* This can't, I say, can't get into a loop. */ in bget()
|