/hardware/qcom/display/msm8226/libgralloc/ |
D | ionalloc.cpp | 69 struct ion_handle_data handle_data; in alloc_buffer() local 93 handle_data.handle = ionAllocData.handle; in alloc_buffer() 98 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 109 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 116 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 183 struct ion_handle_data handle_data; in clean_buffer() local 198 handle_data.handle = fd_data.handle; in clean_buffer() 225 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer() 228 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer()
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | ionalloc.cpp | 69 struct ion_handle_data handle_data; in alloc_buffer() local 93 handle_data.handle = ionAllocData.handle; in alloc_buffer() 98 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 109 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 120 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 183 struct ion_handle_data handle_data; in clean_buffer() local 198 handle_data.handle = fd_data.handle; in clean_buffer() 224 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer() 227 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer()
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | ionalloc.cpp | 72 struct ion_handle_data handle_data; in alloc_buffer() local 102 handle_data.handle = ionAllocData.handle; in alloc_buffer() 107 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 118 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 125 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 197 struct ion_handle_data handle_data; in clean_buffer() local 212 handle_data.handle = fd_data.handle; in clean_buffer() 239 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer() 242 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer()
|
/hardware/qcom/display/msm8974/libgralloc/ |
D | ionalloc.cpp | 69 struct ion_handle_data handle_data; in alloc_buffer() local 98 handle_data.handle = ionAllocData.handle; 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() 184 struct ion_handle_data handle_data; in clean_buffer() local 199 handle_data.handle = fd_data.handle; in clean_buffer() 225 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer() 228 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer()
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | ionalloc.cpp | 69 struct ion_handle_data handle_data; in alloc_buffer() local 93 handle_data.handle = ionAllocData.handle; in alloc_buffer() 98 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 109 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 116 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() 179 struct ion_handle_data handle_data; in clean_buffer() local 194 handle_data.handle = fd_data.handle; in clean_buffer() 221 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer() 224 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer()
|
/hardware/qcom/camera/QCamera2/HAL3/ |
D | QCamera3Mem.cpp | 301 struct ion_handle_data handle_data; in allocOneBuffer() local 341 memset(&handle_data, 0, sizeof(handle_data)); in allocOneBuffer() 342 handle_data.handle = ion_info_fd.handle; in allocOneBuffer() 343 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in allocOneBuffer() 362 struct ion_handle_data handle_data; in deallocOneBuffer() local 370 memset(&handle_data, 0, sizeof(handle_data)); in deallocOneBuffer() 371 handle_data.handle = memInfo.handle; in deallocOneBuffer() 372 ioctl(memInfo.main_ion_fd, ION_IOC_FREE, &handle_data); in deallocOneBuffer()
|
/hardware/qcom/camera/QCamera2/HAL/ |
D | QCameraMem.cpp | 470 struct ion_handle_data handle_data; in allocOneBuffer() local 524 memset(&handle_data, 0, sizeof(handle_data)); in allocOneBuffer() 525 handle_data.handle = ion_info_fd.handle; in allocOneBuffer() 526 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in allocOneBuffer() 545 struct ion_handle_data handle_data; in deallocOneBuffer() local 553 memset(&handle_data, 0, sizeof(handle_data)); in deallocOneBuffer() 554 handle_data.handle = memInfo.handle; in deallocOneBuffer() 555 ioctl(memInfo.main_ion_fd, ION_IOC_FREE, &handle_data); in deallocOneBuffer()
|
/hardware/qcom/keymaster/ |
D | keymaster_qcom.cpp | 203 struct ion_handle_data handle_data; in qcom_km_ION_memalloc() local 276 handle_data.handle = ion_alloc_data.handle; in qcom_km_ION_memalloc() 279 iret = ioctl(ion_fd, ION_IOC_FREE, &handle_data); in qcom_km_ION_memalloc() 296 struct ion_handle_data handle_data; in qcom_km_ion_dealloc() local 305 handle_data.handle = handle->ion_alloc_handle.handle; in qcom_km_ion_dealloc() 307 ret = ioctl(handle->ion_fd, ION_IOC_FREE, &handle_data); in qcom_km_ion_dealloc()
|
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_app.c | 115 struct ion_handle_data handle_data; in mm_app_allocate_ion_memory() local 167 memset(&handle_data, 0, sizeof(handle_data)); in mm_app_allocate_ion_memory() 168 handle_data.handle = ion_info_fd.handle; in mm_app_allocate_ion_memory() 169 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in mm_app_allocate_ion_memory() 178 struct ion_handle_data handle_data; in mm_app_deallocate_ion_memory() local 189 memset(&handle_data, 0, sizeof(handle_data)); in mm_app_deallocate_ion_memory() 190 handle_data.handle = buf->mem_info.handle; in mm_app_deallocate_ion_memory() 191 ioctl(buf->mem_info.main_ion_fd, ION_IOC_FREE, &handle_data); in mm_app_deallocate_ion_memory()
|