/hardware/qcom/display/msm8909/gralloc/ |
D | gr_ion_alloc.cpp | 98 data->ion_handle = handle_data.handle; in AllocBuffer() 100 ion_alloc_data.len, data->fd, data->ion_handle); in AllocBuffer() 106 int ion_handle) { in FreeBuffer() argument 110 ion_handle); in FreeBuffer() 116 if (ion_handle > 0) { in FreeBuffer() 118 handle_data.handle = ion_handle; in FreeBuffer()
|
D | gr_ion_alloc.h | 48 int ion_handle = -1; member 67 int FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, int ion_handle);
|
D | gr_buf_mgr.cpp | 223 int ion_handle, in RegisterHandleLocked() argument 225 auto buffer = std::make_shared<Buffer>(hnd, ion_handle, ion_handle_meta); in RegisterHandleLocked() 231 int ion_handle = allocator_->ImportBuffer(hnd->fd); in ImportHandleLocked() local 232 if (ion_handle < 0) { in ImportHandleLocked() 245 RegisterHandleLocked(hnd, ion_handle, ion_handle_meta); in ImportHandleLocked() 537 RegisterHandleLocked(hnd, data.ion_handle, e_data.ion_handle); in AllocateBuffer()
|
D | gr_buf_mgr.h | 89 void RegisterHandleLocked(const private_handle_t *hnd, int ion_handle, int ion_handle_meta);
|
/hardware/qcom/display/msm8996/libgralloc1/ |
D | gr_ion_alloc.cpp | 98 data->ion_handle = handle_data.handle; in AllocBuffer() 100 ion_alloc_data.len, data->fd, data->ion_handle); in AllocBuffer() 106 int ion_handle) { in FreeBuffer() argument 110 ion_handle); in FreeBuffer() 116 if (ion_handle > 0) { in FreeBuffer() 118 handle_data.handle = ion_handle; in FreeBuffer()
|
D | gr_ion_alloc.h | 48 int ion_handle = -1; member 67 int FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, int ion_handle);
|
D | gr_buf_mgr.cpp | 214 int ion_handle, in RegisterHandleLocked() argument 216 auto buffer = std::make_shared<Buffer>(hnd, ion_handle, ion_handle_meta); in RegisterHandleLocked() 222 int ion_handle = allocator_->ImportBuffer(hnd->fd); in ImportHandleLocked() local 223 if (ion_handle < 0) { in ImportHandleLocked() 236 RegisterHandleLocked(hnd, ion_handle, ion_handle_meta); in ImportHandleLocked() 521 RegisterHandleLocked(hnd, data.ion_handle, e_data.ion_handle); in AllocateBuffer()
|
D | gr_buf_mgr.h | 89 void RegisterHandleLocked(const private_handle_t *hnd, int ion_handle, int ion_handle_meta);
|
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
D | gr_ion_alloc.cpp | 98 data->ion_handle = handle_data.handle; in AllocBuffer() 100 ion_alloc_data.len, data->fd, data->ion_handle); in AllocBuffer() 106 int ion_handle) { in FreeBuffer() argument 110 ion_handle); in FreeBuffer() 116 if (ion_handle > 0) { in FreeBuffer() 118 handle_data.handle = ion_handle; in FreeBuffer()
|
D | gr_ion_alloc.h | 48 int ion_handle = -1; member 67 int FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, int ion_handle);
|
D | gr_buf_mgr.cpp | 217 int ion_handle, in RegisterHandleLocked() argument 219 auto buffer = std::make_shared<Buffer>(hnd, ion_handle, ion_handle_meta); in RegisterHandleLocked() 225 int ion_handle = allocator_->ImportBuffer(hnd->fd); in ImportHandleLocked() local 226 if (ion_handle < 0) { in ImportHandleLocked() 239 RegisterHandleLocked(hnd, ion_handle, ion_handle_meta); in ImportHandleLocked() 534 RegisterHandleLocked(hnd, data.ion_handle, e_data.ion_handle); in AllocateBuffer()
|
D | gr_buf_mgr.h | 89 void RegisterHandleLocked(const private_handle_t *hnd, int ion_handle, int ion_handle_meta);
|
/hardware/qcom/display/msm8998/libgralloc1/ |
D | gr_ion_alloc.cpp | 112 data->ion_handle = handle_data.handle; in AllocBuffer() 114 ion_alloc_data.len, data->fd, data->ion_handle); in AllocBuffer() 120 int ion_handle) { in FreeBuffer() argument 124 ion_handle); in FreeBuffer() 130 if (ion_handle > 0) { in FreeBuffer() 132 handle_data.handle = ion_handle; in FreeBuffer()
|
D | gr_ion_alloc.h | 48 int ion_handle = -1; member 67 int FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, int ion_handle);
|
D | gr_buf_mgr.cpp | 221 int ion_handle, in RegisterHandleLocked() argument 223 auto buffer = std::make_shared<Buffer>(hnd, ion_handle, ion_handle_meta); in RegisterHandleLocked() 233 int ion_handle = allocator_->ImportBuffer(hnd->fd); in ImportHandleLocked() local 234 if (ion_handle < 0) { in ImportHandleLocked() 247 RegisterHandleLocked(hnd, ion_handle, ion_handle_meta); in ImportHandleLocked() 513 RegisterHandleLocked(hnd, data.ion_handle, e_data.ion_handle); in AllocateBuffer()
|
D | gr_buf_mgr.h | 89 void RegisterHandleLocked(const private_handle_t *hnd, int ion_handle, int ion_handle_meta);
|
/hardware/qcom/sm8150/display/gralloc/ |
D | gr_ion_alloc.cpp | 104 data->ion_handle = fd; // For new ion api ion_handle does not exists so reusing fd for now in AllocBuffer() 213 data->ion_handle = handle_data.handle; in AllocBuffer() 215 data->ion_handle); in AllocBuffer() 221 int ion_handle) { in FreeBuffer() argument 225 ion_handle); in FreeBuffer() 231 if (ion_handle > 0) { in FreeBuffer() 233 handle_data.handle = ion_handle; in FreeBuffer()
|
D | gr_ion_alloc.h | 49 int ion_handle = -1; member 68 int FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, int ion_handle);
|
D | gr_buf_mgr.h | 70 void RegisterHandleLocked(const private_handle_t *hnd, int ion_handle, int ion_handle_meta);
|
/hardware/qcom/sm7250/display/gralloc/ |
D | gr_ion_alloc.h | 47 int ion_handle = -1; member 66 int FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, int ion_handle);
|
D | gr_buf_mgr.h | 71 void RegisterHandleLocked(const private_handle_t *hnd, int ion_handle, int ion_handle_meta);
|
D | gr_ion_alloc.cpp | 100 data->ion_handle = fd; // For new ion api ion_handle does not exists so reusing fd for now in AllocBuffer()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCameraMem.cpp | 2304 struct ion_handle_data ion_handle; in allocate() local 2305 memset(&ion_handle, 0, sizeof(ion_handle)); in allocate() 2306 ion_handle.handle = mMemInfo[i].handle; in allocate() 2307 if (ioctl(mMemInfo[i].main_ion_fd, ION_IOC_FREE, &ion_handle) < 0) { in allocate() 2331 struct ion_handle_data ion_handle; in allocate() local 2332 memset(&ion_handle, 0, sizeof(ion_handle)); in allocate() 2333 ion_handle.handle = mMemInfo[i].handle; in allocate() 2334 if (ioctl(mMemInfo[i].main_ion_fd, ION_IOC_FREE, &ion_handle) < 0) { in allocate() 2354 struct ion_handle_data ion_handle; in allocate() local 2355 memset(&ion_handle, 0, sizeof(ion_handle)); in allocate() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3Mem.cpp | 865 struct ion_handle_data ion_handle; in unregisterBufferLocked() local 866 memset(&ion_handle, 0, sizeof(ion_handle)); in unregisterBufferLocked() 867 ion_handle.handle = mMemInfo[idx].handle; in unregisterBufferLocked() 868 if (ioctl(main_ion_fd, ION_IOC_FREE, &ion_handle) < 0) { in unregisterBufferLocked()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/test/ |
D | QCameraHAL3Base.h | 99 ion_user_handle_t ion_handle; member
|