Home
last modified time | relevance | path

Searched refs:MAX_BUFFER_FDS (Results 1 – 6 of 6) sorted by relevance

/hardware/google/gchips/gralloc4/src/allocator/
Dmali_gralloc_ion.h33 std::array<void*, MAX_BUFFER_FDS> mali_gralloc_ion_map(private_handle_t *hnd);
34 void mali_gralloc_ion_unmap(private_handle_t *hnd, std::array<void*, MAX_BUFFER_FDS>& vaddrs);
Dmali_gralloc_ion.cpp488 std::array<void*, MAX_BUFFER_FDS> mali_gralloc_ion_map(private_handle_t *hnd) in mali_gralloc_ion_map()
490 std::array<void*, MAX_BUFFER_FDS> 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()
/hardware/google/gchips/gralloc4/src/
Dmali_gralloc_buffer4.h61 #define MAX_BUFFER_FDS MAX_FDS - 1 macro
66 static_assert(MAX_BUFFER_FDS == MAX_PLANES, "MAX_PLANES and MAX_BUFFER_FDS defines do not match");
238 int ion_handles[MAX_BUFFER_FDS];
239 uint64_t alloc_sizes[MAX_BUFFER_FDS];
263 uint64_t _alloc_sizes[MAX_BUFFER_FDS], in private_handle_t()
Dmali_gralloc_buffer.h61 #define MAX_BUFFER_FDS MAX_FDS - 1 macro
66 static_assert(MAX_BUFFER_FDS == MAX_PLANES, "MAX_PLANES and MAX_BUFFER_FDS defines do not match");
238 int ion_handles[MAX_BUFFER_FDS];
239 uint64_t alloc_sizes[MAX_BUFFER_FDS];
263 uint64_t _alloc_sizes[MAX_BUFFER_FDS], in private_handle_t()
/hardware/google/gchips/gralloc4/src/core/
Dmali_gralloc_reference.cpp39 std::array<void *, MAX_BUFFER_FDS> bases;
40 size_t alloc_sizes[MAX_BUFFER_FDS] = {};
136 for (auto i = 0; i < MAX_BUFFER_FDS; i++) { in map_buffer_locked()
186 for (auto i = 0; i < MAX_BUFFER_FDS; i++) { in validate_locked()
194 for (auto i = 0; i < MAX_BUFFER_FDS; i++) { in validate_locked()
/hardware/google/gchips/gralloc4/src/hidl_common/
DMapperMetadata.cpp594 std::vector<int> plane_fds(MAX_BUFFER_FDS, -1); in get_metadata()