Home
last modified time | relevance | path

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

/system/memory/libdmabufheap/
DBufferAllocatorWrapper.cpp28 void FreeDmabufHeapBufferAllocator(BufferAllocator* buffer_allocator) { in FreeDmabufHeapBufferAllocator() argument
29 delete buffer_allocator; in FreeDmabufHeapBufferAllocator()
32 int DmabufHeapAlloc(BufferAllocator* buffer_allocator, const char* heap_name, size_t len, in DmabufHeapAlloc() argument
34 if (!buffer_allocator) in DmabufHeapAlloc()
36 return buffer_allocator->Alloc(heap_name, len, heap_flags, legacy_align); in DmabufHeapAlloc()
39 int DmabufHeapAllocSystem(BufferAllocator* buffer_allocator, bool cpu_access, size_t len, in DmabufHeapAllocSystem() argument
41 if (!buffer_allocator) return -EINVAL; in DmabufHeapAllocSystem()
42 return buffer_allocator->AllocSystem(cpu_access, len, heap_flags, legacy_align); in DmabufHeapAllocSystem()
45 int MapDmabufHeapNameToIonHeap(BufferAllocator* buffer_allocator, const char* heap_name, in MapDmabufHeapNameToIonHeap() argument
49 if (!buffer_allocator) in MapDmabufHeapNameToIonHeap()
[all …]
/system/memory/libdmabufheap/include/BufferAllocator/
DBufferAllocatorWrapper.h33 void FreeDmabufHeapBufferAllocator(BufferAllocator* buffer_allocator);
35 int DmabufHeapAlloc(BufferAllocator* buffer_allocator, const char* heap_name, size_t len,
37 int DmabufHeapAllocSystem(BufferAllocator* buffer_allocator, bool cpu_access, size_t len,
40 int MapDmabufHeapNameToIonHeap(BufferAllocator* buffer_allocator, const char* heap_name,
44 int DmabufHeapCpuSyncStart(BufferAllocator* buffer_allocator, unsigned int dmabuf_fd,
48 int DmabufHeapCpuSyncEnd(BufferAllocator* buffer_allocator, unsigned int dmabuf_fd,