Home
last modified time | relevance | path

Searched refs:handle_data (Results 1 – 18 of 18) sorted by relevance

/hardware/qcom/display/msm8226/libgralloc/
Dionalloc.cpp69 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/msm8909/libgralloc/
Dionalloc.cpp73 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()
188 struct ion_handle_data handle_data; in clean_buffer() local
203 handle_data.handle = fd_data.handle; in clean_buffer()
230 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer()
233 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer()
/hardware/qcom/display/msm8084/libgralloc/
Dionalloc.cpp69 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/display/msm8994/libgralloc/
Dionalloc.cpp74 struct ion_handle_data handle_data; in alloc_buffer() local
104 handle_data.handle = ionAllocData.handle; 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()
127 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer()
199 struct ion_handle_data handle_data; in clean_buffer() local
214 handle_data.handle = fd_data.handle; in clean_buffer()
241 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer()
244 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer()
/hardware/qcom/display/msm8996/libgralloc/
Dionalloc.cpp78 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()
193 struct ion_handle_data handle_data; in clean_buffer() local
208 handle_data.handle = fd_data.handle; 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()
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dionalloc.cpp73 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()
188 struct ion_handle_data handle_data; in clean_buffer() local
203 handle_data.handle = fd_data.handle; in clean_buffer()
230 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer()
233 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer()
/hardware/qcom/display/msm8960/libgralloc/
Dionalloc.cpp69 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/msm8996/libgralloc1/
Dgr_ion_alloc.cpp72 struct ion_handle_data handle_data; in AllocBuffer() local
89 handle_data.handle = ion_alloc_data.handle; in AllocBuffer()
93 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in AllocBuffer()
98 data->ion_handle = handle_data.handle; in AllocBuffer()
117 struct ion_handle_data handle_data; in FreeBuffer() local
118 handle_data.handle = ion_handle; in FreeBuffer()
119 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in FreeBuffer()
/hardware/qcom/display/msm8909/gralloc/
Dgr_ion_alloc.cpp72 struct ion_handle_data handle_data; in AllocBuffer() local
89 handle_data.handle = ion_alloc_data.handle; in AllocBuffer()
93 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in AllocBuffer()
98 data->ion_handle = handle_data.handle; in AllocBuffer()
117 struct ion_handle_data handle_data; in FreeBuffer() local
118 handle_data.handle = ion_handle; in FreeBuffer()
119 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in FreeBuffer()
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_ion_alloc.cpp72 struct ion_handle_data handle_data; in AllocBuffer() local
89 handle_data.handle = ion_alloc_data.handle; in AllocBuffer()
93 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in AllocBuffer()
98 data->ion_handle = handle_data.handle; in AllocBuffer()
117 struct ion_handle_data handle_data; in FreeBuffer() local
118 handle_data.handle = ion_handle; in FreeBuffer()
119 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in FreeBuffer()
/hardware/qcom/sdm845/display/gralloc/
Dgr_ion_alloc.cpp73 struct ion_handle_data handle_data; in AllocBuffer() local
96 handle_data.handle = ion_alloc_data.handle; in AllocBuffer()
101 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in AllocBuffer()
107 data->ion_handle = handle_data.handle; in AllocBuffer()
126 struct ion_handle_data handle_data; in FreeBuffer() local
127 handle_data.handle = ion_handle; in FreeBuffer()
128 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in FreeBuffer()
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_ion_alloc.cpp78 struct ion_handle_data handle_data; in AllocBuffer() local
101 handle_data.handle = ion_alloc_data.handle; in AllocBuffer()
106 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in AllocBuffer()
112 data->ion_handle = handle_data.handle; in AllocBuffer()
131 struct ion_handle_data handle_data; in FreeBuffer() local
132 handle_data.handle = ion_handle; in FreeBuffer()
133 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in FreeBuffer()
/hardware/qcom/sm8150/display/gralloc/
Dgr_ion_alloc.cpp179 struct ion_handle_data handle_data; in AllocBuffer() local
202 handle_data.handle = ion_alloc_data.handle; in AllocBuffer()
207 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in AllocBuffer()
213 data->ion_handle = handle_data.handle; in AllocBuffer()
232 struct ion_handle_data handle_data; in FreeBuffer() local
233 handle_data.handle = ion_handle; in FreeBuffer()
234 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in FreeBuffer()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Mem.cpp309 struct ion_handle_data handle_data; in allocOneBuffer() local
348 memset(&handle_data, 0, sizeof(handle_data)); in allocOneBuffer()
349 handle_data.handle = ion_info_fd.handle; in allocOneBuffer()
350 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in allocOneBuffer()
368 struct ion_handle_data handle_data; in deallocOneBuffer() local
376 memset(&handle_data, 0, sizeof(handle_data)); in deallocOneBuffer()
377 handle_data.handle = memInfo.handle; in deallocOneBuffer()
378 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in deallocOneBuffer()
/hardware/qcom/keymaster/
Dkeymaster_qcom.cpp203 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/msm8998/QCamera2/HAL/
DQCameraMem.cpp467 struct ion_handle_data handle_data; in allocOneBuffer() local
521 memset(&handle_data, 0, sizeof(handle_data)); in allocOneBuffer()
522 handle_data.handle = ion_info_fd.handle; in allocOneBuffer()
523 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in allocOneBuffer()
542 struct ion_handle_data handle_data; in deallocOneBuffer() local
550 memset(&handle_data, 0, sizeof(handle_data)); in deallocOneBuffer()
551 handle_data.handle = memInfo.handle; in deallocOneBuffer()
552 ioctl(memInfo.main_ion_fd, ION_IOC_FREE, &handle_data); in deallocOneBuffer()
/hardware/qcom/camera/msm8998/usbcamcore/src/
DQualcommUsbCamera.cpp2671 struct ion_handle_data handle_data; in allocate_ion_memory() local
2710 memset(&handle_data, 0, sizeof(handle_data)); in allocate_ion_memory()
2711 handle_data.handle = ion_info_fd.handle; in allocate_ion_memory()
2712 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in allocate_ion_memory()
2734 struct ion_handle_data handle_data; in deallocate_ion_memory() local
2743 memset(&handle_data, 0, sizeof(handle_data)); in deallocate_ion_memory()
2744 handle_data.handle = mem_info->handle; in deallocate_ion_memory()
2745 ioctl(mem_info->main_ion_fd, ION_IOC_FREE, &handle_data); in deallocate_ion_memory()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c125 struct ion_handle_data handle_data; in mm_app_allocate_ion_memory() local
177 memset(&handle_data, 0, sizeof(handle_data)); in mm_app_allocate_ion_memory()
178 handle_data.handle = ion_info_fd.handle; in mm_app_allocate_ion_memory()
179 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in mm_app_allocate_ion_memory()
188 struct ion_handle_data handle_data; in mm_app_deallocate_ion_memory() local
199 memset(&handle_data, 0, sizeof(handle_data)); in mm_app_deallocate_ion_memory()
200 handle_data.handle = buf->mem_info.handle; in mm_app_deallocate_ion_memory()
201 ioctl(buf->mem_info.main_ion_fd, ION_IOC_FREE, &handle_data); in mm_app_deallocate_ion_memory()