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
251 mHeapId(-1), mBase(MAP_FAILED), mSize(0), mFlags(0), mOffset(0), mRealHeap(false) in BpMemoryHeap()
256 int32_t heapId = mHeapId.load(memory_order_relaxed); in ~BpMemoryHeap()
282 int32_t heapId = mHeapId.load(memory_order_acquire); in assertMapped()
289 if (mHeapId.load(memory_order_relaxed) == -1) { in assertMapped()
293 int fd = fcntl(heap->mHeapId.load(memory_order_relaxed), F_DUPFD_CLOEXEC, 0); in assertMapped()
295 heap->mHeapId.load(memory_order_relaxed)); in assertMapped()
296 mHeapId.store(fd, memory_order_release); in assertMapped()
307 int32_t heapId = mHeapId.load(memory_order_acquire); in assertReallyMapped()
327 if (mHeapId.load(memory_order_relaxed) == -1) { in assertReallyMapped()
[all …]