Searched refs:handle_fd (Results 1 – 3 of 3) sorted by relevance
/system/memory/libion/ |
D | ion.c | 161 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/ |
D | exit_test.cpp | 36 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/ |
D | ion.h | 36 unsigned int flags, int *handle_fd); 37 int ion_sync_fd(int fd, int handle_fd);
|