| /freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/ |
| H A D | dfsan_allocator.cpp | 30 uptr requested_size; member 129 meta->requested_size = size; in DFsanAllocate() 142 uptr size = meta->requested_size; in dfsan_deallocate() 143 meta->requested_size = 0; in dfsan_deallocate() 159 uptr old_size = meta->requested_size; in DFsanReallocate() 163 meta->requested_size = new_size; in DFsanReallocate() 196 if (b->requested_size == 0) in AllocationBegin() 208 return b->requested_size; in AllocationSize() 212 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() 294 if (addr < chunk + m->requested_size) in PointsIntoChunk() 296 if (IsSpecialCaseOfOperatorNew0(chunk, m->requested_size, addr)) in PointsIntoChunk() 326 uptr LsanMetadata::requested_size() const { in requested_size() function in __lsan::LsanMetadata 327 return reinterpret_cast<ChunkMetadata *>(metadata_)->requested_size; in requested_size() 343 if (m->allocated && (uptr)p < (uptr)chunk + m->requested_size) { in IgnoreObject()
|
| H A D | lsan_common.cpp | 360 (void *)pp, p, (void *)chunk, (void *)(chunk + m.requested_size()), in ScanForPointers() 361 m.requested_size()); in ScanForPointers() 368 (void *)(chunk + m.requested_size()), m.requested_size()); in ScanForPointers() 666 ScanRangeForPointers(next_chunk, next_chunk + m.requested_size(), frontier, in FloodFillTag() 677 ScanRangeForPointers(chunk, chunk + m.requested_size(), in MarkIndirectlyLeakedCb() 696 (void *)(chunk + m.requested_size()), m.requested_size()); in IgnoredSuppressedCb() 708 (void *)(chunk + m.requested_size()), m.requested_size()); in CollectIgnoredCb() 761 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 | 147 uptr requested_size() const;
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/nsan/ |
| H A D | nsan_allocator.cpp | 33 uptr requested_size; member 129 meta->requested_size = size; in NsanAllocate() 141 uptr size = meta->requested_size; in NsanDeallocate() 142 meta->requested_size = 0; in NsanDeallocate() 159 uptr old_size = meta->requested_size; in NsanReallocate() 163 meta->requested_size = new_size; in NsanReallocate() 198 if (b->requested_size == 0) in AllocationBegin() 205 return reinterpret_cast<Metadata *>(allocator.GetMetaData(p))->requested_size; in AllocationSizeFast()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/msan/ |
| H A D | msan_allocator.cpp | 31 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() 270 uptr old_size = meta->requested_size; in MsanReallocate() 274 meta->requested_size = new_size; in MsanReallocate() 311 if (b->requested_size == 0) in AllocationBegin() 318 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 | 177 h.tagged_addr + h.requested_size > tagged_addr) { in FindHeapAllocation() 188 UntagAddr(h.tagged_addr) + h.requested_size > UntagAddr(tagged_addr)) { in FindHeapAllocation() 198 untag_4b(h.tagged_addr) + h.requested_size > untag_4b(tagged_addr)) { in FindHeapAllocation() 846 har.requested_size, UntagAddr(har.tagged_addr), in PrintAddressDescription() 847 UntagAddr(har.tagged_addr) + har.requested_size); in PrintAddressDescription()
|
| H A D | hwasan_allocator.cpp | 618 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 | 352 void ReportOutOfMemory(uptr requested_size, BufferedStackTrace *stack) { in ReportOutOfMemory() argument 354 ErrorOutOfMemory error(GetCurrentTidOrInvalid(), stack, requested_size); in ReportOutOfMemory()
|
| H A D | asan_errors.cpp | 284 ERROR_OOM("allocator is trying to allocate 0x%zx bytes\n", requested_size); in Print()
|
| H A D | asan_allocator.cpp | 1197 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 | 439 static void *bget(kmp_info_t *th, bufsize requested_size) { in bget() argument 441 bufsize size = requested_size; in bget() 636 th, requested_size); /* This can't, I say, can't get into a loop. */ in bget()
|