Lines Matching refs:ion_handle
1704 struct ion_handle_data ion_handle; in allocate() local
1705 memset(&ion_handle, 0, sizeof(ion_handle)); in allocate()
1706 ion_handle.handle = mMemInfo[i].handle; in allocate()
1707 if (ioctl(mMemInfo[i].main_ion_fd, ION_IOC_FREE, &ion_handle) < 0) { in allocate()
1727 struct ion_handle_data ion_handle; in allocate() local
1728 memset(&ion_handle, 0, sizeof(ion_handle)); in allocate()
1729 ion_handle.handle = mMemInfo[i].handle; in allocate()
1730 if (ioctl(mMemInfo[i].main_ion_fd, ION_IOC_FREE, &ion_handle) < 0) { in allocate()
1811 struct ion_handle_data ion_handle; in deallocate() local
1812 memset(&ion_handle, 0, sizeof(ion_handle)); in deallocate()
1813 ion_handle.handle = mMemInfo[cnt].handle; in deallocate()
1814 if (ioctl(mMemInfo[cnt].main_ion_fd, ION_IOC_FREE, &ion_handle) < 0) { in deallocate()