Searched refs:heapFd (Results 1 – 3 of 3) sorted by relevance
/commonlibrary/memory_utils/libdmabufheap/test/unittest/libdmabufheap/ |
D | dmabuf_alloc_test.cpp | 82 int heapFd = DmabufHeapOpen(heapName.c_str()); variable 83 ASSERT_GE(heapFd, 0); 86 ASSERT_EQ(0, DmabufHeapBufferAlloc(heapFd, &buffer)); 103 ASSERT_EQ(0, DmabufHeapClose(heapFd)); 110 int heapFd = DmabufHeapOpen(heapName.c_str()); variable 111 ASSERT_GE(heapFd, 0); 114 ASSERT_EQ(0, DmabufHeapBufferAlloc(heapFd, &buffer)); 159 ASSERT_EQ(0, DmabufHeapClose(heapFd)); 166 int heapFd = DmabufHeapOpen(invalidName.c_str()); variable 167 ASSERT_EQ(-EPERM, heapFd); [all …]
|
/commonlibrary/memory_utils/libdmabufheap/src/ |
D | dmabuf_alloc.c | 76 int DmabufHeapBufferAlloc(unsigned int heapFd, DmabufHeapBuffer *buffer) in DmabufHeapBufferAlloc() argument 88 int ret = ioctl(heapFd, DMA_HEAP_IOCTL_ALLOC, &data); in DmabufHeapBufferAlloc()
|
/commonlibrary/memory_utils/libdmabufheap/include/ |
D | dmabuf_alloc.h | 48 int DmabufHeapBufferAlloc(unsigned int heapFd, DmabufHeapBuffer *buffer);
|