Lines Matching refs:mIonFd
54 if(mIonFd == FD_INIT) in open_device()
55 mIonFd = open(ION_DEVICE, O_RDONLY); in open_device()
57 if(mIonFd < 0 ) { in open_device()
60 mIonFd = FD_INIT; in open_device()
68 if(mIonFd >= 0) in close_device()
69 close(mIonFd); in close_device()
70 mIonFd = FD_INIT; in close_device()
91 if(ioctl(mIonFd, ION_IOC_ALLOC, &ionAllocData)) { in alloc_buffer()
99 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer()
103 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer()
114 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer()
121 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer()
201 if (ioctl(mIonFd, ION_IOC_IMPORT, &fd_data)) { in clean_buffer()
230 if(ioctl(mIonFd, ION_IOC_CUSTOM, &d)) { in clean_buffer()
235 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer()
238 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer()