Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8998/libgralloc1/
Dgr_ion_alloc.cpp71 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()
102 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in AllocBuffer()
109 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in AllocBuffer()
166 struct ion_handle_data handle_data; in CleanBuffer() local
176 handle_data.handle = fd_data.handle; in CleanBuffer()
200 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in CleanBuffer()
204 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in CleanBuffer()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_ion_alloc.cpp71 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()
102 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in AllocBuffer()
109 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in AllocBuffer()
166 struct ion_handle_data handle_data; in CleanBuffer() local
176 handle_data.handle = fd_data.handle; in CleanBuffer()
200 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in CleanBuffer()
204 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in CleanBuffer()
/hardware/qcom/display/msm8994/libgralloc/
Dionalloc.cpp72 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/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.cpp72 struct ion_handle_data handle_data; in alloc_buffer() local
96 handle_data.handle = ionAllocData.handle; in alloc_buffer()
101 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer()
112 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer()
119 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer()
191 struct ion_handle_data handle_data; in clean_buffer() local
206 handle_data.handle = fd_data.handle; in clean_buffer()
233 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer()
236 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/msm8998/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/msm8996/libgralloc/
Dionalloc.cpp72 struct ion_handle_data handle_data; in alloc_buffer() local
92 handle_data.handle = ionAllocData.handle; in alloc_buffer()
97 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer()
108 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer()
115 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer()
187 struct ion_handle_data handle_data; in clean_buffer() local
202 handle_data.handle = fd_data.handle; in clean_buffer()
229 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer()
232 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in clean_buffer()
/hardware/qcom/camera/QCamera2/HAL3/
DQCamera3Mem.cpp307 struct ion_handle_data handle_data; in allocOneBuffer() local
344 memset(&handle_data, 0, sizeof(handle_data)); in allocOneBuffer()
345 handle_data.handle = ion_info_fd.handle; in allocOneBuffer()
346 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in allocOneBuffer()
364 struct ion_handle_data handle_data; in deallocOneBuffer() local
372 memset(&handle_data, 0, sizeof(handle_data)); in deallocOneBuffer()
373 handle_data.handle = memInfo.handle; in deallocOneBuffer()
374 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in deallocOneBuffer()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Mem.cpp306 struct ion_handle_data handle_data; in allocOneBuffer() local
346 memset(&handle_data, 0, sizeof(handle_data)); in allocOneBuffer()
347 handle_data.handle = ion_info_fd.handle; in allocOneBuffer()
348 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in allocOneBuffer()
367 struct ion_handle_data handle_data; in deallocOneBuffer() local
375 memset(&handle_data, 0, sizeof(handle_data)); in deallocOneBuffer()
376 handle_data.handle = memInfo.handle; in deallocOneBuffer()
377 ioctl(memInfo.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/QCamera2/HAL/
DQCameraMem.cpp464 struct ion_handle_data handle_data; in allocOneBuffer() local
518 memset(&handle_data, 0, sizeof(handle_data)); in allocOneBuffer()
519 handle_data.handle = ion_info_fd.handle; in allocOneBuffer()
520 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in allocOneBuffer()
539 struct ion_handle_data handle_data; in deallocOneBuffer() local
547 memset(&handle_data, 0, sizeof(handle_data)); in deallocOneBuffer()
548 handle_data.handle = memInfo.handle; in deallocOneBuffer()
549 ioctl(memInfo.main_ion_fd, ION_IOC_FREE, &handle_data); in deallocOneBuffer()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraMem.cpp463 struct ion_handle_data handle_data; in allocOneBuffer() local
517 memset(&handle_data, 0, sizeof(handle_data)); in allocOneBuffer()
518 handle_data.handle = ion_info_fd.handle; in allocOneBuffer()
519 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in allocOneBuffer()
538 struct ion_handle_data handle_data; in deallocOneBuffer() local
546 memset(&handle_data, 0, sizeof(handle_data)); in deallocOneBuffer()
547 handle_data.handle = memInfo.handle; in deallocOneBuffer()
548 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/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c121 struct ion_handle_data handle_data; in mm_app_allocate_ion_memory() local
173 memset(&handle_data, 0, sizeof(handle_data)); in mm_app_allocate_ion_memory()
174 handle_data.handle = ion_info_fd.handle; in mm_app_allocate_ion_memory()
175 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in mm_app_allocate_ion_memory()
184 struct ion_handle_data handle_data; in mm_app_deallocate_ion_memory() local
195 memset(&handle_data, 0, sizeof(handle_data)); in mm_app_deallocate_ion_memory()
196 handle_data.handle = buf->mem_info.handle; in mm_app_deallocate_ion_memory()
197 ioctl(buf->mem_info.main_ion_fd, ION_IOC_FREE, &handle_data); in mm_app_deallocate_ion_memory()
/hardware/qcom/camera/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.c121 struct ion_handle_data handle_data; in mm_app_allocate_ion_memory() local
173 memset(&handle_data, 0, sizeof(handle_data)); in mm_app_allocate_ion_memory()
174 handle_data.handle = ion_info_fd.handle; in mm_app_allocate_ion_memory()
175 ioctl(main_ion_fd, ION_IOC_FREE, &handle_data); in mm_app_allocate_ion_memory()
184 struct ion_handle_data handle_data; in mm_app_deallocate_ion_memory() local
195 memset(&handle_data, 0, sizeof(handle_data)); in mm_app_deallocate_ion_memory()
196 handle_data.handle = buf->mem_info.handle; in mm_app_deallocate_ion_memory()
197 ioctl(buf->mem_info.main_ion_fd, ION_IOC_FREE, &handle_data); in mm_app_deallocate_ion_memory()