Home
last modified time | relevance | path

Searched refs:heap_flags (Results 1 – 5 of 5) sorted by relevance

/system/memory/libdmabufheap/
DBufferAllocatorWrapper.cpp33 unsigned int heap_flags, size_t legacy_align) { in DmabufHeapAlloc() argument
36 return buffer_allocator->Alloc(heap_name, len, heap_flags, legacy_align); in DmabufHeapAlloc()
40 unsigned int heap_flags, size_t legacy_align) { in DmabufHeapAllocSystem() argument
42 return buffer_allocator->AllocSystem(cpu_access, len, heap_flags, legacy_align); in DmabufHeapAllocSystem()
DBufferAllocator.cpp228 unsigned int heap_flags, size_t legacy_align) { in IonAlloc() argument
235 unsigned int flags = heap_config.flags | heap_flags; in IonAlloc()
246 unsigned int heap_flags, size_t legacy_align) { in Alloc() argument
250 fd = IonAlloc(heap_name, len, heap_flags, legacy_align); in Alloc()
255 int BufferAllocator::AllocSystem(bool cpu_access_needed, size_t len, unsigned int heap_flags, in AllocSystem() argument
277 return IonAlloc(kDmabufSystemUncachedHeapName, len, heap_flags, legacy_align); in AllocSystem()
284 return Alloc(kDmabufSystemHeapName, len, heap_flags, legacy_align); in AllocSystem()
/system/memory/libdmabufheap/include/BufferAllocator/
DBufferAllocatorWrapper.h36 unsigned int heap_flags, size_t legacy_align);
38 unsigned int heap_flags, size_t legacy_align);
DBufferAllocator.h82 …int Alloc(const std::string& heap_name, size_t len, unsigned int heap_flags = 0, size_t legacy_ali…
99 int AllocSystem(bool cpu_access, size_t len, unsigned int heap_flags = 0,
187 …int IonAlloc(const std::string& heap_name, size_t len, unsigned int heap_flags = 0, size_t legacy_…
/system/memory/libdmabufheap/tests/
Ddmabuf_heap_bench.c98 .heap_flags = flags, in dmabuf_heap_alloc()