Home | History | Annotate | Download | only in oem-recovery

Lines Matching defs:ion_fd

66             uint32_t ion_fd;
72 uint32_t ion_fd;
96 int ion_fd;
108 int ion_fd;
111 ion_fd = open("/dev/ion", O_RDONLY);
112 if (ion_fd < 0) {
126 rc = ioctl(ion_fd, ION_IOC_ALLOC, &alloc_data);
141 rc = ioctl(ion_fd, ION_IOC_MAP, &fd_data);
155 buf->ion_fd = ion_fd;
169 rc = ioctl(ion_fd, ION_IOC_FREE, &handle_data);
173 if (ion_fd >= 0)
174 close(ion_fd);
175 buf->ion_fd = -1;
190 ret = ioctl(handle->ion_fd, ION_IOC_FREE, &handle_data);
193 close(handle->ion_fd);
209 rc = ioctl(buf->ion_fd, cmd, &data);
228 req.request.metadata.ion_fd = buf->ifd_data_fd;
273 req.request.img_frag.ion_fd = buf->ifd_data_fd;
321 ionbuf.ion_fd = -1;
386 if (ionbuf.ion_fd >= 0)