Searched refs:BackingStore (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/ |
H A D | xray_allocator.h | 174 unsigned char *BackingStore = nullptr; member 182 if (UNLIKELY(BackingStore == nullptr)) { in Alloc() 183 BackingStore = allocateBuffer(MaxMemory); in Alloc() 184 if (BackingStore == nullptr) { in Alloc() 190 AlignedNextBlock = BackingStore; in Alloc() 193 auto BackingStoreNum = reinterpret_cast<uintptr_t>(BackingStore); in Alloc() 197 deallocateBuffer(BackingStore, MaxMemory); in Alloc() 198 AlignedNextBlock = BackingStore = nullptr; in Alloc() 227 BackingStore(nullptr), in Allocator() 235 BackingStore(reinterpret_cast<unsigned char *>(P)), in Allocator() [all …]
|
H A D | xray_buffer_queue.cpp | 82 BackingStore = allocControlBlock(BufferSize, BufferCount); in init() 83 if (BackingStore == nullptr) in init() 89 deallocControlBlock(BackingStore, BufferSize, BufferCount); in init() 90 BackingStore = nullptr; in init() 115 atomic_store(&BackingStore->RefCount, 1, memory_order_release); in init() 129 Buf.Data = &BackingStore->Data + (BufferSize * i); in init() 131 Buf.BackingStore = BackingStore; in init() 151 BackingStore(nullptr), 176 incRefCount(BackingStore); in getBuffer() 192 decRefCount(Buf.BackingStore, Buf.Size, Buf.Count); in releaseBuffer() [all …]
|
H A D | xray_buffer_queue.h | 62 ControlBlock *BackingStore = nullptr; member 144 ControlBlock *BackingStore; variable
|