Lines Matching defs:Mapped
158 * This class contains the mapped data pointer, and the potential error.
160 * range is the mapped range of the underlying allocation (which is part of the allotted
214 * range of Impl is the mapped range of the underlying allocation (which is part of the allotted
790 * For views' Impl's crop is the mapped portion - which for now is always the
840 * This class contains the mapped data pointer, and the potential error.
842 struct Mapped {
846 Mapped(const std::shared_ptr<_C2Block2DImpl> &impl, bool writable, C2Fence *fence __unused)
886 explicit Mapped(c2_status_t error)
895 ~Mapped() {
925 * If already mapped and it is currently in use, returns the existing mapping.
928 std::shared_ptr<Mapped> map(bool writable, C2Fence *fence) {
930 std::shared_ptr<Mapped> existing = mMapped.lock();
932 existing = std::shared_ptr<Mapped>(new Mapped(shared_from_this(), writable, fence));
935 // if we mapped the region read-only, we cannot remap it read-write
937 existing = std::shared_ptr<Mapped>(new Mapped(C2_CANNOT_DO));
947 std::weak_ptr<Mapped> mMapped;
954 std::shared_ptr<_C2MappingBlock2DImpl::Mapped> mapping)
960 std::shared_ptr<_C2MappingBlock2DImpl::Mapped> mapping() const { return mMapping; }
963 std::shared_ptr<_C2MappingBlock2DImpl::Mapped> mMapping;
991 * range of Impl is the mapped range of the underlying allocation. range of View is the current
1037 std::shared_ptr<_C2MappingBlock2DImpl::Mapped> mapping =
1058 std::shared_ptr<_C2MappingBlock2DImpl::Mapped> mapping =