Home
last modified time | relevance | path

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

/hardware/google/gchips/gralloc4/src/allocator/
Dmali_gralloc_ion.cpp490 std::array<void*, MAX_BUFFER_FDS> vaddrs; in mali_gralloc_ion_map() local
491 vaddrs.fill(nullptr); in mali_gralloc_ion_map()
498 return vaddrs; in mali_gralloc_ion_map()
515 munmap((void*)vaddrs[cidx], hnd->alloc_sizes[cidx]); in mali_gralloc_ion_map()
516 vaddrs[cidx] = 0; in mali_gralloc_ion_map()
519 return vaddrs; in mali_gralloc_ion_map()
522 vaddrs[fidx] = mappedAddress; in mali_gralloc_ion_map()
525 return vaddrs; in mali_gralloc_ion_map()
528 void mali_gralloc_ion_unmap(private_handle_t *hnd, std::array<void*, MAX_BUFFER_FDS>& vaddrs) in mali_gralloc_ion_unmap() argument
534 if (vaddrs[i]) in mali_gralloc_ion_unmap()
[all …]
Dmali_gralloc_ion.h34 void mali_gralloc_ion_unmap(private_handle_t *hnd, std::array<void*, MAX_BUFFER_FDS>& vaddrs);