Lines Matching refs:Descriptor
39 typedef MQDescriptor<T, flavor> Descriptor; typedef
46 MessageQueue(const Descriptor& Desc, bool resetPointers = true);
221 const Descriptor* getDesc() const { return mDesc.get(); } in getDesc()
440 std::unique_ptr<Descriptor> mDesc;
589 (mDesc->countGrantors() < Descriptor::kMinGrantorCount) || in initMemory()
596 mapGrantorDescr(Descriptor::READPTRPOS)); in initMemory()
608 reinterpret_cast<std::atomic<uint64_t>*>(mapGrantorDescr(Descriptor::WRITEPTRPOS)); in initMemory()
619 mRing = reinterpret_cast<uint8_t*>(mapGrantorDescr(Descriptor::DATAPTRPOS)); in initMemory()
622 mEvFlagWord = static_cast<std::atomic<uint32_t>*>(mapGrantorDescr(Descriptor::EVFLAGWORDPOS)); in initMemory()
629 MessageQueue<T, flavor>::MessageQueue(const Descriptor& Desc, bool resetPointers) { in MessageQueue()
630 mDesc = std::unique_ptr<Descriptor>(new (std::nothrow) Descriptor(Desc)); in MessageQueue()
663 (Descriptor::alignToWordBoundary(kQueueSizeBytes) + kMetaDataSize + PAGE_SIZE - 1) & in MessageQueue()
683 mDesc = std::unique_ptr<Descriptor>(new (std::nothrow) Descriptor(kQueueSizeBytes, in MessageQueue()
698 unmapGrantorDescr(mReadPtr, Descriptor::READPTRPOS); in ~MessageQueue()
701 unmapGrantorDescr(mWritePtr, Descriptor::WRITEPTRPOS); in ~MessageQueue()
704 unmapGrantorDescr(mRing, Descriptor::DATAPTRPOS); in ~MessageQueue()
707 unmapGrantorDescr(mEvFlagWord, Descriptor::EVFLAGWORDPOS); in ~MessageQueue()