Lines Matching refs:MemTransaction
274 struct MemTransaction { struct
275 MemTransaction() : MemTransaction(MemRegion(), MemRegion()) {} in MemTransaction() function
277 MemTransaction(const MemRegion& regionFirst, const MemRegion& regionSecond) : in MemTransaction() argument
280 MemTransaction& operator=(const MemTransaction &other) {
376 bool beginWrite(size_t nMessages, MemTransaction* memTx) const;
400 bool beginRead(size_t nMessages, MemTransaction* memTx) const;
453 T* MessageQueue<T, flavor>::MemTransaction::getSlot(size_t idx) { in getSlot()
469 bool MessageQueue<T, flavor>::MemTransaction::getMemRegionInfo(size_t startIdx, in getMemRegionInfo()
506 bool MessageQueue<T, flavor>::MemTransaction::copyFrom(T* data, size_t startIdx, size_t nMessages) { in copyFrom()
541 bool MessageQueue<T, flavor>::MemTransaction::copyTo(const T* data, in copyTo()
719 MemTransaction tx; in write()
971 bool MessageQueue<T, flavor>::beginWrite(size_t nMessages, MemTransaction* result) const { in beginWrite()
979 *result = MemTransaction(); in beginWrite()
997 *result = MemTransaction(MemRegion(reinterpret_cast<T*>(mRing + writeOffset), in beginWrite()
1006 *result = MemTransaction(MemRegion(reinterpret_cast<T*>(mRing + writeOffset), nMessages), in beginWrite()
1044 MemTransaction tx; in read()
1056 bool MessageQueue<T, flavor>::beginRead(size_t nMessages, MemTransaction* result) const { in beginRead()
1057 *result = MemTransaction(); in beginRead()
1097 *result = MemTransaction(MemRegion(reinterpret_cast<T*>(mRing + readOffset), in beginRead()
1106 *result = MemTransaction(MemRegion(reinterpret_cast<T*>(mRing + readOffset), nMessages), in beginRead()