Lines Matching refs:ion_fd
56 int32_t ion_fd;
200 int32_t ion_fd;
212 ion_fd = open("/dev/ion", O_RDONLY | O_DSYNC);
213 if (ion_fd < 0) {
233 rc = ioctl(ion_fd, ION_IOC_ALLOC, &ion_alloc_data);
246 rc = ioctl(ion_fd, ION_IOC_MAP, &ifd_data);
261 handle->ion_fd = ion_fd;
279 iret = ioctl(ion_fd, ION_IOC_FREE, &handle_data);
285 if (ion_fd > 0)
286 close(ion_fd);
307 ret = ioctl(handle->ion_fd, ION_IOC_FREE, &handle_data);
311 close(handle->ion_fd);
405 ihandle.ion_fd = 0;
508 ihandle.ion_fd = 0;
608 ihandle.ion_fd = 0;