Lines Matching refs:BackingStore
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()
197 if (Buf.Data < &BackingStore->Data || in releaseBuffer()
198 Buf.Data > &BackingStore->Data + (BufferCount * BufferSize)) in releaseBuffer()
210 decRefCount(Buf.BackingStore, Buf.Size, Buf.Count); in releaseBuffer()
228 decRefCount(BackingStore, BufferSize, BufferCount); in cleanupBuffers()
230 BackingStore = nullptr; in cleanupBuffers()