Home
last modified time | relevance | path

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

/system/memory/libion/
Dion.c161 int* handle_fd) { in ion_alloc_fd() argument
165 if (!handle_fd) return -EINVAL; in ion_alloc_fd()
176 *handle_fd = data.fd; in ion_alloc_fd()
180 ret = ion_share(fd, handle, handle_fd); in ion_alloc_fd()
202 int ion_sync_fd(int fd, int handle_fd) { in ion_sync_fd() argument
204 .fd = handle_fd, in ion_sync_fd()
/system/memory/libion/tests/
Dexit_test.cpp36 int handle_fd = -1; in TEST_F()
39 ion_alloc_fd(ionfd, size, 0, (1 << heap.heap_id), 0, &handle_fd)); in TEST_F()
40 ASSERT_NE(-1, handle_fd); in TEST_F()
58 int handle_fd = -1; in TEST_F()
61 &handle_fd)); in TEST_F()
62 ASSERT_NE(-1, handle_fd); in TEST_F()
/system/memory/libion/include/ion/
Dion.h36 unsigned int flags, int *handle_fd);
37 int ion_sync_fd(int fd, int handle_fd);