Lines Matching defs:AllocationRingBuffer

191     AllocationRingBuffer *RB = getRingBuffer();
199 AllocationRingBuffer *RB = getRingBuffer();
849 AllocationRingBuffer *RB = getRingBuffer();
855 AllocationRingBuffer *RB = getRingBuffer();
874 AllocationRingBuffer *RB = getRingBuffer();
982 struct AllocationRingBuffer {
1000 static_assert(sizeof(AllocationRingBuffer) %
1001 alignof(typename AllocationRingBuffer::Entry) ==
1008 // Pointer to memory mapped area starting with AllocationRingBuffer struct,
1012 AllocationRingBuffer *getRingBuffer() {
1013 return reinterpret_cast<AllocationRingBuffer *>(
1403 AllocationRingBuffer *RB = getRingBuffer();
1411 void storeRingBufferEntry(AllocationRingBuffer *RB, void *Ptr,
1416 typename AllocationRingBuffer::Entry *Entry =
1440 AllocationRingBuffer *RB = getRingBuffer();
1457 AllocationRingBuffer *RB = getRingBuffer();
1567 reinterpret_cast<const AllocationRingBuffer *>(RingBufferPtr);
1643 static typename AllocationRingBuffer::Entry *
1644 getRingBufferEntry(AllocationRingBuffer *RB, uptr N) {
1646 &reinterpret_cast<char *>(RB)[sizeof(AllocationRingBuffer)];
1647 return &reinterpret_cast<typename AllocationRingBuffer::Entry *>(
1650 static const typename AllocationRingBuffer::Entry *
1651 getRingBufferEntry(const AllocationRingBuffer *RB, uptr N) {
1653 &reinterpret_cast<const char *>(RB)[sizeof(AllocationRingBuffer)];
1654 return &reinterpret_cast<const typename AllocationRingBuffer::Entry *>(
1704 auto *RB = reinterpret_cast<AllocationRingBuffer *>(MemMap.getBase());
1716 AllocationRingBuffer *RB = getRingBuffer();
1731 return sizeof(AllocationRingBuffer) +
1732 RingBufferElements * sizeof(typename AllocationRingBuffer::Entry);
1736 if (Bytes < sizeof(AllocationRingBuffer)) {
1739 return (Bytes - sizeof(AllocationRingBuffer)) /
1740 sizeof(typename AllocationRingBuffer::Entry);