Home
last modified time | relevance | path

Searched refs:mHeapId (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/libs/binder/
DIMemory.cpp113 mutable std::atomic<int32_t> mHeapId; member in android::BpMemoryHeap
259 mHeapId(-1), mBase(MAP_FAILED), mSize(0), mFlags(0), mOffset(0), mRealHeap(false) in BpMemoryHeap()
264 int32_t heapId = mHeapId.load(memory_order_relaxed); in ~BpMemoryHeap()
289 int32_t heapId = mHeapId.load(memory_order_acquire); in assertMapped()
296 if (mHeapId.load(memory_order_relaxed) == -1) { in assertMapped()
300 int fd = fcntl(heap->mHeapId.load(memory_order_relaxed), F_DUPFD_CLOEXEC, 0); in assertMapped()
302 heap->mHeapId.load(memory_order_relaxed)); in assertMapped()
303 mHeapId.store(fd, memory_order_release); in assertMapped()
314 int32_t heapId = mHeapId.load(memory_order_acquire); in assertReallyMapped()
339 if (mHeapId.load(memory_order_relaxed) == -1) { in assertReallyMapped()
[all …]