Lines Matching refs:mIonFd
50 if(mIonFd < 0)
52 mIonFd = ion_open();
53 if(mIonFd < 0)
85 int ret = ion_alloc(mIonFd, bytes, 0, 1 << ION_HEAP_TYPE_CARVEOUT, &handle);
93 if ((ret = ion_map(mIonFd, handle, bytes, PROT_READ | PROT_WRITE, MAP_SHARED, 0,
97 ion_free(mIonFd, handle);
125 if (mIonFd >= 0)
127 ion_close(mIonFd);
128 mIonFd = -1;
176 ion_free(mIonFd, (ion_handle*)mIonHandleMap.valueFor(ptr));
193 if(mIonFd >= 0)
195 ion_close(mIonFd);
196 mIonFd = -1;