Home
last modified time | relevance | path

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

/external/minigbm/cros_gralloc/
Dcros_gralloc_buffer.cc17 reserved_region_addr_(nullptr) in cros_gralloc_buffer()
32 if (reserved_region_addr_) { in ~cros_gralloc_buffer()
33 munmap(reserved_region_addr_, reserved_region_size_); in ~cros_gralloc_buffer()
158 if (!reserved_region_addr_) { in get_reserved_region()
159 reserved_region_addr_ = mmap(nullptr, reserved_region_size_, PROT_WRITE | PROT_READ, in get_reserved_region()
161 if (reserved_region_addr_ == MAP_FAILED) { in get_reserved_region()
167 *addr = reserved_region_addr_; in get_reserved_region()
Dcros_gralloc_buffer.h57 void *reserved_region_addr_; variable