Searched refs:dmabuf_fd (Results 1 – 4 of 4) sorted by relevance
/system/memory/libdmabufheap/ |
D | BufferAllocator.cpp | 235 int BufferAllocator::LegacyIonCpuSync(unsigned int dmabuf_fd, in LegacyIonCpuSync() argument 238 return ion_sync_fd(ion_fd_, dmabuf_fd); in LegacyIonCpuSync() 253 int BufferAllocator::DoSync(unsigned int dmabuf_fd, bool start, SyncType sync_type, in DoSync() argument 256 return LegacyIonCpuSync(dmabuf_fd, legacy_ion_cpu_sync_custom); in DoSync() 263 return TEMP_FAILURE_RETRY(ioctl(dmabuf_fd, DMA_BUF_IOCTL_SYNC, &sync)); in DoSync() 266 int BufferAllocator::CpuSyncStart(unsigned int dmabuf_fd, SyncType sync_type, in CpuSyncStart() argument 268 auto it = fd_last_sync_type_.find(dmabuf_fd); in CpuSyncStart() 274 int ret = DoSync(dmabuf_fd, true /* start */, sync_type, legacy_ion_cpu_sync_custom); in CpuSyncStart() 279 fd_last_sync_type_[dmabuf_fd] = sync_type; in CpuSyncStart() 284 int BufferAllocator::CpuSyncEnd(unsigned int dmabuf_fd, in CpuSyncEnd() argument [all …]
|
D | BufferAllocatorWrapper.cpp | 49 int DmabufHeapCpuSyncStart(BufferAllocator* buffer_allocator, unsigned int dmabuf_fd, in DmabufHeapCpuSyncStart() argument 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 60 return buffer_allocator->CpuSyncEnd(dmabuf_fd, legacy_ion_cpu_sync); in DmabufHeapCpuSyncEnd()
|
/system/memory/libdmabufheap/include/BufferAllocator/ |
D | BufferAllocator.h | 109 int CpuSyncStart(unsigned int dmabuf_fd, SyncType sync_type = kSyncRead, 127 int CpuSyncEnd(unsigned int dmabuf_fd, 150 int DmabufFdSync(unsigned int dmabuf_fd, bool start, SyncType sync_type); 151 int DoSync(unsigned int dmabuf_fd, bool start, SyncType sync_type,
|
D | BufferAllocatorWrapper.h | 40 int DmabufHeapCpuSyncStart(BufferAllocator* buffer_allocator, unsigned int dmabuf_fd, 43 int DmabufHeapCpuSyncEnd(BufferAllocator* buffer_allocator, unsigned int dmabuf_fd,
|