Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/android/ion/
Dionutils.c48 int i, ret, ionfd, buffer_fd; in ion_export_buffer_fd() local
62 ionfd = open(ION_DEVICE, O_RDWR); in ion_export_buffer_fd()
63 if (ionfd < 0) { in ion_export_buffer_fd()
73 ret = ioctl(ionfd, ION_IOC_HEAP_QUERY, &query); in ion_export_buffer_fd()
99 ret = ioctl(ionfd, ION_IOC_ALLOC, &alloc_data); in ion_export_buffer_fd()
125 ion_info->ionfd = ionfd; in ion_export_buffer_fd()
144 if (ionfd) in ion_export_buffer_fd()
145 close(ionfd); in ion_export_buffer_fd()
200 if (ion_info->ionfd > 0) in ion_close_buffer_fd()
201 close(ion_info->ionfd); in ion_close_buffer_fd()
Dionutils.h19 int ionfd; member
Dionapp_export.c102 client_fd = info.ionfd; in main()