Home
last modified time | relevance | path

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

/device/google/cuttlefish/guest/hals/gralloc/legacy/
Dregion_registry.cpp190 void* mappedAddress = recycle_mmap( in reference_region() local
192 if (mappedAddress == MAP_FAILED) { in reference_region()
198 uintptr_t base = uintptr_t(mappedAddress); in reference_region()
204 region->base_ = mappedAddress; in reference_region()
/device/linaro/hikey/gralloc/
Dgralloc_module.cpp140 unsigned char *mappedAddress; in gralloc_register_buffer() local
173mappedAddress = (unsigned char *)mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, hnd->share_f… in gralloc_register_buffer()
175 if (MAP_FAILED == mappedAddress) in gralloc_register_buffer()
182 hnd->base = mappedAddress + hnd->offset; in gralloc_register_buffer()
/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_ion.cpp677 unsigned char *mappedAddress; in mali_gralloc_ion_map() local
710mappedAddress = (unsigned char *)mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, hnd->share_f… in mali_gralloc_ion_map()
712 if (MAP_FAILED == mappedAddress) in mali_gralloc_ion_map()
719 hnd->base = (void *)(uintptr_t(mappedAddress) + hnd->offset); in mali_gralloc_ion_map()
/device/linaro/hikey/gralloc960/
Dmali_gralloc_ion.cpp719 unsigned char *mappedAddress; in mali_gralloc_ion_map() local
735mappedAddress = (unsigned char *)mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, hnd->share_f… in mali_gralloc_ion_map()
737 if (MAP_FAILED == mappedAddress) in mali_gralloc_ion_map()
744 hnd->base = (void *)(uintptr_t(mappedAddress) + hnd->offset); in mali_gralloc_ion_map()