Home
last modified time | relevance | path

Searched refs:ion_handle (Results 1 – 25 of 38) sorted by relevance

12

/hardware/qcom/display/msm8909/gralloc/
Dgr_ion_alloc.cpp98 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()
Dgr_ion_alloc.h48 int ion_handle = -1; member
67 int FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, int ion_handle);
Dgr_buf_mgr.cpp223 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()
Dgr_buf_mgr.h89 void RegisterHandleLocked(const private_handle_t *hnd, int ion_handle, int ion_handle_meta);
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_ion_alloc.cpp98 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()
Dgr_ion_alloc.h48 int ion_handle = -1; member
67 int FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, int ion_handle);
Dgr_buf_mgr.cpp214 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()
Dgr_buf_mgr.h89 void RegisterHandleLocked(const private_handle_t *hnd, int ion_handle, int ion_handle_meta);
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_ion_alloc.cpp98 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()
Dgr_ion_alloc.h48 int ion_handle = -1; member
67 int FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, int ion_handle);
Dgr_buf_mgr.cpp217 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()
Dgr_buf_mgr.h89 void RegisterHandleLocked(const private_handle_t *hnd, int ion_handle, int ion_handle_meta);
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_ion_alloc.cpp112 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()
Dgr_ion_alloc.h48 int ion_handle = -1; member
67 int FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, int ion_handle);
Dgr_buf_mgr.cpp221 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()
Dgr_buf_mgr.h89 void RegisterHandleLocked(const private_handle_t *hnd, int ion_handle, int ion_handle_meta);
/hardware/qcom/sm8150/display/gralloc/
Dgr_ion_alloc.cpp104 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()
Dgr_ion_alloc.h49 int ion_handle = -1; member
68 int FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, int ion_handle);
Dgr_buf_mgr.h70 void RegisterHandleLocked(const private_handle_t *hnd, int ion_handle, int ion_handle_meta);
/hardware/qcom/sm7250/display/gralloc/
Dgr_ion_alloc.h47 int ion_handle = -1; member
66 int FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, int ion_handle);
Dgr_buf_mgr.h71 void RegisterHandleLocked(const private_handle_t *hnd, int ion_handle, int ion_handle_meta);
Dgr_ion_alloc.cpp100 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/
DQCameraMem.cpp2304 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/
DQCamera3Mem.cpp865 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/
DQCameraHAL3Base.h99 ion_user_handle_t ion_handle; member

12