Lines Matching refs:Descriptor
39 typedef MQDescriptorType<T, flavor> Descriptor; typedef
46 MessageQueueBase(const Descriptor& Desc, bool resetPointers = true);
221 const Descriptor* getDesc() const { return mDesc.get(); } in getDesc()
434 std::unique_ptr<Descriptor> mDesc;
575 (mDesc->countGrantors() < Descriptor::kMinGrantorCount) || in initMemory()
582 reinterpret_cast<std::atomic<uint64_t>*>(mapGrantorDescr(Descriptor::READPTRPOS)); in initMemory()
593 mWritePtr = reinterpret_cast<std::atomic<uint64_t>*>(mapGrantorDescr(Descriptor::WRITEPTRPOS)); in initMemory()
604 mRing = reinterpret_cast<uint8_t*>(mapGrantorDescr(Descriptor::DATAPTRPOS)); in initMemory()
607 mEvFlagWord = static_cast<std::atomic<uint32_t>*>(mapGrantorDescr(Descriptor::EVFLAGWORDPOS)); in initMemory()
615 MessageQueueBase<MQDescriptorType, T, flavor>::MessageQueueBase(const Descriptor& Desc, in MessageQueueBase()
617 mDesc = std::unique_ptr<Descriptor>(new (std::nothrow) Descriptor(Desc)); in MessageQueueBase()
651 (Descriptor::alignToWordBoundary(kQueueSizeBytes) + kMetaDataSize + PAGE_SIZE - 1) & in MessageQueueBase()
670 mDesc = std::unique_ptr<Descriptor>(new (std::nothrow) Descriptor( in MessageQueueBase()
684 unmapGrantorDescr(mReadPtr, Descriptor::READPTRPOS); in ~MessageQueueBase()
687 unmapGrantorDescr(mWritePtr, Descriptor::WRITEPTRPOS); in ~MessageQueueBase()
690 unmapGrantorDescr(mRing, Descriptor::DATAPTRPOS); in ~MessageQueueBase()
693 unmapGrantorDescr(mEvFlagWord, Descriptor::EVFLAGWORDPOS); in ~MessageQueueBase()