Home
last modified time | relevance | path

Searched refs:BackingStore (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/xray/
H A Dxray_allocator.h175 unsigned char *BackingStore = nullptr; member
183 if (UNLIKELY(BackingStore == nullptr)) { in Alloc()
184 BackingStore = allocateBuffer(MaxMemory); in Alloc()
185 if (BackingStore == nullptr) { in Alloc()
191 AlignedNextBlock = BackingStore; in Alloc()
194 auto BackingStoreNum = reinterpret_cast<uintptr_t>(BackingStore); in Alloc()
198 deallocateBuffer(BackingStore, MaxMemory); in Alloc()
199 AlignedNextBlock = BackingStore = nullptr; in Alloc()
228 BackingStore(nullptr), in Allocator()
236 BackingStore(reinterpret_cast<unsigned char *>(P)), in Allocator()
[all …]
H A Dxray_buffer_queue.cc83 BackingStore = allocControlBlock(BufferSize, BufferCount); in init()
84 if (BackingStore == nullptr) in init()
90 deallocControlBlock(BackingStore, BufferSize, BufferCount); in init()
91 BackingStore = nullptr; in init()
116 atomic_store(&BackingStore->RefCount, 1, memory_order_release); in init()
130 Buf.Data = &BackingStore->Data + (BufferSize * i); in init()
132 Buf.BackingStore = BackingStore; in init()
152 BackingStore(nullptr),
177 incRefCount(BackingStore); in getBuffer()
193 decRefCount(Buf.BackingStore, Buf.Size, Buf.Count); in releaseBuffer()
[all …]
H A Dxray_buffer_queue.h63 ControlBlock *BackingStore = nullptr; member
145 ControlBlock *BackingStore; variable