Home
last modified time | relevance | path

Searched refs:memalloc (Results 1 – 25 of 41) sorted by relevance

12

/hardware/qcom/display/msm8960/libgralloc/
Dmapper.cpp51 IMemAlloc* memalloc; in getAllocator() local
53 memalloc = alloc_ctrl->getAllocator(flags); in getAllocator()
54 return memalloc; in getAllocator()
65 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map() local
66 int err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
78 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
99 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_unmap() local
100 if(memalloc != NULL) { in gralloc_unmap()
101 err = memalloc->unmap_buffer(base, size, hnd->offset); in gralloc_unmap()
107 err = memalloc->unmap_buffer(base, size, hnd->offset_metadata); in gralloc_unmap()
[all …]
Dalloc_controller.cpp246 IMemAlloc* memalloc = NULL; in getAllocator() local
248 memalloc = mIonAlloc; in getAllocator()
253 return memalloc; in getAllocator()
388 IMemAlloc* memalloc = sAlloc->getAllocator(hnd->flags); in free_buffer() local
389 memalloc->free_buffer((void*)hnd->base, hnd->size, hnd->offset, hnd->fd); in free_buffer()
Dgpu.cpp322 IMemAlloc* memalloc = mAllocCtrl->getAllocator(hnd->flags); in free_impl() local
323 int err = memalloc->free_buffer((void*)hnd->base, (size_t) hnd->size, in free_impl()
329 err = memalloc->free_buffer((void*)hnd->base_metadata, in free_impl()
/hardware/qcom/display/msm8226/libgralloc/
Dmapper.cpp49 IMemAlloc* memalloc; in getAllocator() local
51 memalloc = alloc_ctrl->getAllocator(flags); in getAllocator()
52 return memalloc; in getAllocator()
66 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map() local
67 int err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
79 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
103 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_unmap() local
104 if(memalloc != NULL) { in gralloc_unmap()
105 err = memalloc->unmap_buffer(base, size, hnd->offset); in gralloc_unmap()
111 err = memalloc->unmap_buffer(base, size, hnd->offset_metadata); in gralloc_unmap()
[all …]
Dalloc_controller.cpp354 IMemAlloc* memalloc = NULL; in getAllocator() local
356 memalloc = mIonAlloc; in getAllocator()
361 return memalloc; in getAllocator()
658 IMemAlloc* memalloc = sAlloc->getAllocator(hnd->flags); in free_buffer() local
659 memalloc->free_buffer((void*)hnd->base, hnd->size, hnd->offset, hnd->fd); in free_buffer()
Dgpu.cpp338 IMemAlloc* memalloc = mAllocCtrl->getAllocator(hnd->flags); in free_impl() local
339 int err = memalloc->free_buffer((void*)hnd->base, hnd->size, in free_impl()
345 err = memalloc->free_buffer((void*)hnd->base_metadata, in free_impl()
/hardware/qcom/display/msm8084/libgralloc/
Dmapper.cpp49 IMemAlloc* memalloc; in getAllocator() local
51 memalloc = alloc_ctrl->getAllocator(flags); in getAllocator()
52 return memalloc; in getAllocator()
66 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map() local
67 int err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
79 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
103 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_unmap() local
104 if(memalloc != NULL) { in gralloc_unmap()
105 err = memalloc->unmap_buffer(base, size, hnd->offset); in gralloc_unmap()
111 err = memalloc->unmap_buffer(base, size, hnd->offset_metadata); in gralloc_unmap()
[all …]
Dalloc_controller.cpp355 IMemAlloc* memalloc = NULL; in getAllocator() local
357 memalloc = mIonAlloc; in getAllocator()
362 return memalloc; in getAllocator()
664 IMemAlloc* memalloc = sAlloc->getAllocator(hnd->flags); in free_buffer() local
665 memalloc->free_buffer((void*)hnd->base, hnd->size, hnd->offset, hnd->fd); in free_buffer()
Dgpu.cpp335 IMemAlloc* memalloc = mAllocCtrl->getAllocator(hnd->flags); in free_impl() local
336 int err = memalloc->free_buffer((void*)hnd->base, (size_t) hnd->size, in free_impl()
342 err = memalloc->free_buffer((void*)hnd->base_metadata, in free_impl()
/hardware/qcom/display/msm8909/libgralloc/
Dmapper.cpp52 IMemAlloc* memalloc; in getAllocator() local
54 memalloc = alloc_ctrl->getAllocator(flags); in getAllocator()
55 return memalloc; in getAllocator()
61 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map_metadata() local
67 int ret = memalloc->map_buffer(&mappedAddress, size, in gralloc_map_metadata()
89 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map() local
97 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
132 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_unmap() local
133 if(!memalloc) in gralloc_unmap()
137 err = memalloc->unmap_buffer((void*)hnd->base, hnd->size, hnd->offset); in gralloc_unmap()
[all …]
DMakefile.am3 memalloc.h
Dgpu.cpp358 IMemAlloc* memalloc = mAllocCtrl->getAllocator(hnd->flags); in free_impl() local
359 int err = memalloc->free_buffer((void*)hnd->base, hnd->size, in free_impl()
365 err = memalloc->free_buffer((void*)hnd->base_metadata, in free_impl()
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dmapper.cpp52 IMemAlloc* memalloc; in getAllocator() local
54 memalloc = alloc_ctrl->getAllocator(flags); in getAllocator()
55 return memalloc; in getAllocator()
61 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map_metadata() local
67 int ret = memalloc->map_buffer(&mappedAddress, size, in gralloc_map_metadata()
89 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map() local
97 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
132 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_unmap() local
133 if(!memalloc) in gralloc_unmap()
137 err = memalloc->unmap_buffer((void*)hnd->base, hnd->size, hnd->offset); in gralloc_unmap()
[all …]
DMakefile.am3 memalloc.h
/hardware/qcom/display/msm8994/libgralloc/
Dmapper.cpp54 IMemAlloc* memalloc; in getAllocator() local
56 memalloc = alloc_ctrl->getAllocator(flags); in getAllocator()
57 return memalloc; in getAllocator()
63 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map_metadata() local
69 int ret = memalloc->map_buffer(&mappedAddress, size, in gralloc_map_metadata()
91 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map() local
99 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
134 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_unmap() local
135 if(!memalloc) in gralloc_unmap()
139 err = memalloc->unmap_buffer((void*)hnd->base, hnd->size, hnd->offset); in gralloc_unmap()
[all …]
Dalloc_controller.cpp443 IMemAlloc* memalloc = NULL; in getAllocator() local
445 memalloc = mIonAlloc; in getAllocator()
450 return memalloc; in getAllocator()
760 IMemAlloc* memalloc = sAlloc->getAllocator(hnd->flags); in free_buffer() local
761 memalloc->free_buffer((void*)hnd->base, hnd->size, hnd->offset, hnd->fd); in free_buffer()
Dgpu.cpp365 IMemAlloc* memalloc = mAllocCtrl->getAllocator(hnd->flags); in free_impl() local
366 int err = memalloc->free_buffer((void*)hnd->base, hnd->size, in free_impl()
372 err = memalloc->free_buffer((void*)hnd->base_metadata, in free_impl()
/hardware/qcom/display/msm8996/libgralloc/
Dmapper.cpp53 IMemAlloc* memalloc; in getAllocator() local
55 memalloc = alloc_ctrl->getAllocator(flags); in getAllocator()
56 return memalloc; in getAllocator()
62 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map_metadata() local
68 int ret = memalloc->map_buffer(&mappedAddress, size, in gralloc_map_metadata()
90 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map() local
98 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
133 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_unmap() local
134 if(!memalloc) in gralloc_unmap()
138 err = memalloc->unmap_buffer((void*)hnd->base, hnd->size, hnd->offset); in gralloc_unmap()
[all …]
/hardware/qcom/display/msm8960/liboverlay/
DoverlayMem.h161 IMemAlloc* memalloc = mAlloc->getAllocator(mAllocType); in close() local
162 ret = memalloc->free_buffer(mBaseAddr, mBufSz * mNumBuffers, 0, mFd); in close()
/hardware/qcom/display/msm8994/liboverlay/
DoverlayMem.h171 IMemAlloc* memalloc = mAlloc->getAllocator(mAllocType); in close() local
172 ret = memalloc->free_buffer(mBaseAddr, mBufSzAligned * mNumBuffers, 0, mFd); in close()
/hardware/qcom/display/msm8226/liboverlay/
DoverlayMem.h171 IMemAlloc* memalloc = mAlloc->getAllocator(mAllocType); in close() local
172 ret = memalloc->free_buffer(mBaseAddr, mBufSzAligned * mNumBuffers, 0, mFd); in close()
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_buffer_allocator.cpp125 gralloc::IMemAlloc *memalloc = alloc_controller_->getAllocator(meta_buffer_info->alloc_type); in FreeBuffer() local
126 if (memalloc == NULL) { in FreeBuffer()
131 ret = memalloc->free_buffer(meta_buffer_info->base_addr, alloc_buffer_info->size, 0, in FreeBuffer()
/hardware/qcom/display/msm8084/liboverlay/
DoverlayMem.h189 IMemAlloc* memalloc = mAlloc->getAllocator(mAllocType); in close() local
190 ret = memalloc->free_buffer(mBaseAddr, mBufSzAligned * mNumBuffers, 0, mFd); in close()
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_buffer_allocator.cpp131 gralloc::IMemAlloc *memalloc = alloc_controller_->getAllocator(meta_buffer_info->alloc_type); in FreeBuffer() local
132 if (memalloc == NULL) { in FreeBuffer()
137 ret = memalloc->free_buffer(meta_buffer_info->base_addr, alloc_buffer_info->size, 0, in FreeBuffer()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_buffer_allocator.cpp131 gralloc::IMemAlloc *memalloc = alloc_controller_->getAllocator(meta_buffer_info->alloc_type); in FreeBuffer() local
132 if (memalloc == NULL) { in FreeBuffer()
137 ret = memalloc->free_buffer(meta_buffer_info->base_addr, alloc_buffer_info->size, 0, in FreeBuffer()

12