Home
last modified time | relevance | path

Searched refs:handle_data (Results 1 – 9 of 9) 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/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/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/msm8974/libgralloc/
Dionalloc.cpp69 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/
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/camera/QCamera2/HAL3/
DQCamera3Mem.cpp301 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/
DQCameraMem.cpp470 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/
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/stack/mm-camera-test/src/
Dmm_qcamera_app.c115 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()