Home
last modified time | relevance | path

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

/aosp12/system/memory/libdmabufheap/
H A DBufferAllocator.cpp122 IonHeapConfig heap_config = { ion_heap_mask, ion_heap_flags }; in MapNameToIonMask() local
125 heap_name_to_config_[heap_name] = heap_config; in MapNameToIonMask()
153 heap_name_to_config_[heap_name] = heap_config; in MapNameToIonName()
187 heap_config = it->second; in GetIonConfig()
199 heap_config.mask = 1 << heap_id; in GetIonConfig()
200 heap_config.flags = 0; in GetIonConfig()
203 heap_name_to_config_[heap_name] = heap_config; in GetIonConfig()
232 IonHeapConfig heap_config; in IonAlloc() local
233 auto ret = GetIonConfig(heap_name, heap_config); in IonAlloc()
238 unsigned int flags = heap_config.flags | heap_flags; in IonAlloc()
[all …]
/aosp12/system/memory/libdmabufheap/include/BufferAllocator/
H A DBufferAllocator.h194 int GetIonConfig(const std::string& heap_name, IonHeapConfig& heap_config);