Home | History | Annotate | Download | only in libion

Lines Matching full:handle

41 int _ion_alloc_test(int *fd, ion_user_handle_t *handle)
49 ret = ion_alloc(*fd, len, align, heap_mask, alloc_flags, handle);
59 ion_user_handle_t handle;
61 if(_ion_alloc_test(&fd, &handle))
64 ret = ion_free(fd, handle);
66 printf("%s failed: %s %d\n", __func__, strerror(ret), handle);
77 ion_user_handle_t handle;
80 if(_ion_alloc_test(&fd, &handle))
83 ret = ion_map(fd, handle, len, prot, map_flags, 0, &ptr, &map_fd);
95 ret = ion_free(fd, handle);
100 _ion_alloc_test(&fd, &handle);
108 _ion_alloc_test(len, align, flags, &fd, &handle);
110 ret = ion_map(fd, handle, len, prot, flags, 0, &ptr, &map_fd);
118 ion_user_handle_t handle;
139 if(_ion_alloc_test(&fd, &handle))
141 ret = ion_share(fd, handle, &share_fd);