Home
last modified time | relevance | path

Searched refs:requested_size (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_allocator.cpp28 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 Dlsan_allocator.cpp69 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 Dlsan_common.cpp328 (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 Dlsan_allocator.h45 uptr requested_size : 54; member
47 uptr requested_size : 32; member
H A Dlsan_common.h146 uptr requested_size() const;
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_allocator.cpp30 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 Dsanitizer_allocator_report.cpp128 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 Dsanitizer_allocator.cpp79 static void NORETURN ReportInternalAllocatorOutOfMemory(uptr requested_size) { in ReportInternalAllocatorOutOfMemory() argument
82 "0x%zx bytes\n", SanitizerToolName, requested_size); in ReportInternalAllocatorOutOfMemory()
H A Dsanitizer_allocator_report.h35 void NORETURN ReportOutOfMemory(uptr requested_size, const StackTrace *stack);
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_qp.c599 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 Dhwasan_allocator.h128 u32 requested_size; member
H A Dhwasan_report.cpp176 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 Dhwasan_allocator.cpp617 uptr LsanMetadata::requested_size() const { in requested_size() function in __lsan::LsanMetadata
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_report.h77 void ReportOutOfMemory(uptr requested_size, BufferedStackTrace *stack);
H A Dasan_errors.h264 uptr requested_size; member
270 requested_size(requested_size_) {} in ErrorOutOfMemory()
H A Dasan_report.cpp323 void ReportOutOfMemory(uptr requested_size, BufferedStackTrace *stack) { in ReportOutOfMemory() argument
325 ErrorOutOfMemory error(GetCurrentTidOrInvalid(), stack, requested_size); in ReportOutOfMemory()
H A Dasan_errors.cpp282 ERROR_OOM("allocator is trying to allocate 0x%zx bytes\n", requested_size); in Print()
H A Dasan_allocator.cpp1177 uptr LsanMetadata::requested_size() const { in requested_size() function in __lsan::LsanMetadata
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_alloc.cpp425 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()