Home | History | Annotate | Download | only in libgralloc

Lines Matching refs:mIonFd

48     if(mIonFd == FD_INIT)
49 mIonFd = open(ION_DEVICE, O_RDONLY);
51 if(mIonFd < 0 ) {
54 mIonFd = FD_INIT;
62 if(mIonFd >= 0)
63 close(mIonFd);
64 mIonFd = FD_INIT;
89 if(ioctl(mIonFd, ION_IOC_ALLOC, &ionAllocData)) {
97 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) {
101 ioctl(mIonFd, ION_IOC_FREE, &handle_data);
112 ioctl(mIonFd, ION_IOC_FREE, &handle_data);
119 ioctl(mIonFd, ION_IOC_FREE, &handle_data);
199 if (ioctl(mIonFd, ION_IOC_IMPORT, &fd_data)) {
228 if(ioctl(mIonFd, ION_IOC_CUSTOM, &d)) {
233 ioctl(mIonFd, ION_IOC_FREE, &handle_data);
236 ioctl(mIonFd, ION_IOC_FREE, &handle_data);