Searched refs:ashmem_data_ (Results 1 – 2 of 2) sorted by relevance
239 return ashmem_data_ != MAP_FAILED; in IsAshmemMapped()266 ashmem_data_ = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in MapAshmem()267 return ashmem_data_ != MAP_FAILED; in MapAshmem()271 if (munmap(ashmem_data_, ashmem_size_) != 0) { in UnmapAshmem()275 ashmem_data_ = MAP_FAILED; in UnmapAshmem()284 bool success = CommitGsiChunk(ashmem_data_, bytes); in CommitGsiChunk()
87 void* ashmem_data_ = MAP_FAILED; variable