Home
last modified time | relevance | path

Searched refs:sys_heap (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/staging/android/ion/heaps/
H A Dion_system_heap.c104 struct ion_system_heap *sys_heap = container_of(heap, in ion_system_heap_allocate() local
130 page = alloc_largest_available(sys_heap, buffer, size_remaining, in ion_system_heap_allocate()
202 free_buffer_page(sys_heap, buffer, page); in ion_system_heap_allocate()
206 free_buffer_page(sys_heap, buffer, page); in ion_system_heap_allocate()
213 struct ion_system_heap *sys_heap = container_of(buffer->heap, in ion_system_heap_free() local
225 free_buffer_page(sys_heap, buffer, sg_page(sg)); in ion_system_heap_free()
234 struct ion_system_heap *sys_heap; in ion_system_heap_shrink() local
239 sys_heap = container_of(heap, struct ion_system_heap, heap); in ion_system_heap_shrink()
245 pool = sys_heap->pools[i]; in ion_system_heap_shrink()
267 struct ion_system_heap *sys_heap; in ion_system_get_pool_size() local
[all …]
/OK3568_Linux_fs/kernel/drivers/dma-buf/heaps/
H A Dsystem_heap.c27 static struct dma_heap *sys_heap; variable
594 sys_heap = dma_heap_add(&exp_info); in system_heap_create()
595 if (IS_ERR(sys_heap)) in system_heap_create()
596 return PTR_ERR(sys_heap); in system_heap_create()
H A Drk_system_heap.c30 static struct dma_heap *sys_heap; variable
787 sys_heap = dma_heap_add(&exp_info); in system_heap_create()
788 if (IS_ERR(sys_heap)) in system_heap_create()
789 return PTR_ERR(sys_heap); in system_heap_create()