Lines Matching refs:MemRegion
230 struct MemRegion { struct
231 MemRegion() : MemRegion(nullptr, 0) {} in MemRegion() argument
233 MemRegion(T* base, size_t size) : address(base), length(size) {} in MemRegion() function
235 MemRegion& operator=(const MemRegion &other) {
275 MemTransaction() : MemTransaction(MemRegion(), MemRegion()) {} in MemTransaction()
277 MemTransaction(const MemRegion& regionFirst, const MemRegion& regionSecond) : in MemTransaction()
334 inline const MemRegion& getFirstRegion() const { return first; } in getFirstRegion()
340 inline const MemRegion& getSecondRegion() const { return second; } in getSecondRegion()
359 MemRegion first;
360 MemRegion second;
997 *result = MemTransaction(MemRegion(reinterpret_cast<T*>(mRing + writeOffset), in beginWrite()
999 MemRegion(reinterpret_cast<T*>(mRing), in beginWrite()
1006 *result = MemTransaction(MemRegion(reinterpret_cast<T*>(mRing + writeOffset), nMessages), in beginWrite()
1007 MemRegion()); in beginWrite()
1097 *result = MemTransaction(MemRegion(reinterpret_cast<T*>(mRing + readOffset), in beginRead()
1099 MemRegion(reinterpret_cast<T*>(mRing), in beginRead()
1106 *result = MemTransaction(MemRegion(reinterpret_cast<T*>(mRing + readOffset), nMessages), in beginRead()
1107 MemRegion()); in beginRead()