Searched refs:heap_name (Results 1 – 5 of 5) sorted by relevance
/system/memory/libdmabufheap/ |
D | BufferAllocator.cpp | 49 int BufferAllocator::OpenDmabufHeap(const std::string& heap_name) { in OpenDmabufHeap() argument 53 auto it = dmabuf_heap_fds_.find(heap_name); in OpenDmabufHeap() 69 it = dmabuf_heap_fds_.find(heap_name); in OpenDmabufHeap() 72 std::string heap_path = kDmaHeapRoot + heap_name; in OpenDmabufHeap() 76 LOG(INFO) << "Using DMA-BUF heap named: " << heap_name; in OpenDmabufHeap() 78 auto ret = dmabuf_heap_fds_.insert({heap_name, android::base::unique_fd(fd)}); in OpenDmabufHeap() 118 int BufferAllocator::MapNameToIonMask(const std::string& heap_name, unsigned int ion_heap_mask, in MapNameToIonMask() argument 125 heap_name_to_config_[heap_name] = heap_config; in MapNameToIonMask() 129 int BufferAllocator::GetIonHeapIdByName(const std::string& heap_name, unsigned int* heap_id) { in GetIonHeapIdByName() argument 131 if (heap_name == it.name) { in GetIonHeapIdByName() [all …]
|
D | BufferAllocatorWrapper.cpp | 32 int DmabufHeapAlloc(BufferAllocator* buffer_allocator, const char* heap_name, size_t len, in DmabufHeapAlloc() argument 36 return buffer_allocator->Alloc(heap_name, len, heap_flags, legacy_align); in DmabufHeapAlloc() 45 int MapDmabufHeapNameToIonHeap(BufferAllocator* buffer_allocator, const char* heap_name, in MapDmabufHeapNameToIonHeap() argument 51 return buffer_allocator->MapNameToIonHeap(heap_name, ion_heap_name, ion_heap_flags, in MapDmabufHeapNameToIonHeap()
|
/system/memory/libdmabufheap/include/BufferAllocator/ |
D | BufferAllocator.h | 64 int MapNameToIonHeap(const std::string& heap_name, const std::string& ion_heap_name, 82 …int Alloc(const std::string& heap_name, size_t len, unsigned int heap_flags = 0, size_t legacy_ali… 181 int GetIonHeapIdByName(const std::string& heap_name, unsigned int* heap_id); 182 int MapNameToIonMask(const std::string& heap_name, unsigned int ion_heap_mask, 184 int MapNameToIonName(const std::string& heap_name, const std::string& ion_heap_name, 187 …int IonAlloc(const std::string& heap_name, size_t len, unsigned int heap_flags = 0, size_t legacy_… 188 int DmabufAlloc(const std::string& heap_name, size_t len); 194 int GetIonConfig(const std::string& heap_name, IonHeapConfig& heap_config);
|
D | BufferAllocatorWrapper.h | 35 int DmabufHeapAlloc(BufferAllocator* buffer_allocator, const char* heap_name, size_t len, 40 int MapDmabufHeapNameToIonHeap(BufferAllocator* buffer_allocator, const char* heap_name,
|
/system/memory/libdmabufheap/tests/ |
D | dmabuf_heap_bench.c | 170 void dmabuf_heap_bench(char* heap_name, int size) { in dmabuf_heap_bench() argument 177 heap_fd = dmabuf_heap_open(heap_name); in dmabuf_heap_bench()
|