Home
last modified time | relevance | path

Searched refs:heapFd (Results 1 – 3 of 3) sorted by relevance

/commonlibrary/memory_utils/libdmabufheap/test/unittest/libdmabufheap/
Ddmabuf_alloc_test.cpp82 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/
Ddmabuf_alloc.c76 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/
Ddmabuf_alloc.h48 int DmabufHeapBufferAlloc(unsigned int heapFd, DmabufHeapBuffer *buffer);