Home
last modified time | relevance | path

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

/ohos5.0/commonlibrary/memory_utils/libdmabufheap/test/unittest/libdmabufheap/
H A Ddmabuf_alloc_test.cpp83 ASSERT_GE(heapFd, 0);
110 ASSERT_EQ(0, DmabufHeapClose(heapFd));
118 ASSERT_GE(heapFd, 0);
166 ASSERT_EQ(0, DmabufHeapClose(heapFd));
174 ASSERT_EQ(-EPERM, heapFd);
180 ASSERT_EQ(-EINVAL, heapFd);
188 ASSERT_GE(heapFd, 0);
203 ASSERT_GE(heapFd, 0);
229 ASSERT_GE(heapFd, 0);
253 ASSERT_GE(heapFd, 0);
[all …]
/ohos5.0/commonlibrary/memory_utils/libdmabufheap/src/
H A Ddmabuf_alloc.c88 int DmabufHeapBufferAlloc(unsigned int heapFd, DmabufHeapBuffer *buffer) in DmabufHeapBufferAlloc() argument
104 int ret = ioctl(heapFd, DMA_HEAP_IOCTL_ALLOC, &data); in DmabufHeapBufferAlloc()
/ohos5.0/commonlibrary/memory_utils/libdmabufheap/include/
H A Ddmabuf_alloc.h57 int DmabufHeapBufferAlloc(unsigned int heapFd, DmabufHeapBuffer *buffer);