Lines Matching refs:buffer_allocator
28 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); in DmabufHeapAlloc()
39 int MapDmabufHeapNameToIonHeap(BufferAllocator* buffer_allocator, const char* heap_name, in MapDmabufHeapNameToIonHeap() argument
43 if (!buffer_allocator) in MapDmabufHeapNameToIonHeap()
45 return buffer_allocator->MapNameToIonHeap(heap_name, ion_heap_name, ion_heap_flags, in MapDmabufHeapNameToIonHeap()
49 int DmabufHeapCpuSyncStart(BufferAllocator* buffer_allocator, unsigned int dmabuf_fd, in DmabufHeapCpuSyncStart() argument
51 if (!buffer_allocator) in DmabufHeapCpuSyncStart()
53 return buffer_allocator->CpuSyncStart(dmabuf_fd, sync_type, legacy_ion_cpu_sync); in DmabufHeapCpuSyncStart()
56 int DmabufHeapCpuSyncEnd(BufferAllocator* buffer_allocator, unsigned int dmabuf_fd, in DmabufHeapCpuSyncEnd() argument
58 if (!buffer_allocator) in DmabufHeapCpuSyncEnd()
60 return buffer_allocator->CpuSyncEnd(dmabuf_fd, legacy_ion_cpu_sync); in DmabufHeapCpuSyncEnd()