Searched refs:ion_heap (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.10/drivers/staging/android/ion/ |
| D | ion.h | 43 struct ion_heap *heap; 86 int (*allocate)(struct ion_heap *heap, 90 void * (*map_kernel)(struct ion_heap *heap, struct ion_buffer *buffer); 91 void (*unmap_kernel)(struct ion_heap *heap, struct ion_buffer *buffer); 92 int (*map_user)(struct ion_heap *mapper, struct ion_buffer *buffer, 94 int (*shrink)(struct ion_heap *heap, gfp_t gfp_mask, int nr_to_scan); 139 struct ion_heap { struct 169 void ion_device_add_heap(struct ion_heap *heap); argument 175 void *ion_heap_map_kernel(struct ion_heap *heap, struct ion_buffer *buffer); 176 void ion_heap_unmap_kernel(struct ion_heap *heap, struct ion_buffer *buffer); [all …]
|
| D | ion_heap.c | 20 void *ion_heap_map_kernel(struct ion_heap *heap, in ion_heap_map_kernel() 54 void ion_heap_unmap_kernel(struct ion_heap *heap, in ion_heap_unmap_kernel() 60 int ion_heap_map_user(struct ion_heap *heap, struct ion_buffer *buffer, in ion_heap_map_user() 130 void ion_heap_freelist_add(struct ion_heap *heap, struct ion_buffer *buffer) in ion_heap_freelist_add() 139 size_t ion_heap_freelist_size(struct ion_heap *heap) in ion_heap_freelist_size() 150 static size_t _ion_heap_freelist_drain(struct ion_heap *heap, size_t size, in _ion_heap_freelist_drain() 182 size_t ion_heap_freelist_drain(struct ion_heap *heap, size_t size) in ion_heap_freelist_drain() 187 size_t ion_heap_freelist_shrink(struct ion_heap *heap, size_t size) in ion_heap_freelist_shrink() 194 struct ion_heap *heap = data; in ion_heap_deferred_free() 218 int ion_heap_init_deferred_free(struct ion_heap *heap) in ion_heap_init_deferred_free() [all …]
|
| D | ion_system_heap.c | 43 struct ion_heap heap; 97 static int ion_system_heap_allocate(struct ion_heap *heap, in ion_system_heap_allocate() 171 static int ion_system_heap_shrink(struct ion_heap *heap, gfp_t gfp_mask, in ion_system_heap_shrink() 248 static struct ion_heap *__ion_system_heap_create(void) in __ion_system_heap_create() 271 struct ion_heap *heap; in ion_system_heap_create() 284 static int ion_system_contig_heap_allocate(struct ion_heap *heap, in ion_system_contig_heap_allocate() 351 static struct ion_heap *__ion_system_contig_heap_create(void) in __ion_system_contig_heap_create() 353 struct ion_heap *heap; in __ion_system_contig_heap_create() 367 struct ion_heap *heap; in ion_system_contig_heap_create()
|
| D | ion_cma_heap.c | 20 struct ion_heap heap; 27 static int ion_cma_allocate(struct ion_heap *heap, struct ion_buffer *buffer, in ion_cma_allocate() 104 static struct ion_heap *__ion_cma_heap_create(struct cma *cma) in __ion_cma_heap_create() 121 struct ion_heap *heap; in __ion_add_cma_heaps()
|
| D | ion.c | 33 static struct ion_buffer *ion_buffer_create(struct ion_heap *heap, in ion_buffer_create() 104 struct ion_heap *heap = buffer->heap; in _ion_buffer_destroy() 343 struct ion_heap *heap; in ion_alloc() 401 struct ion_heap *heap; in ion_query_heaps() 524 struct ion_heap *heap = data; in debug_shrink_set() 542 struct ion_heap *heap = data; in debug_shrink_get() 557 void ion_device_add_heap(struct ion_heap *heap) in ion_device_add_heap()
|
| D | Makefile | 2 obj-$(CONFIG_ION) += ion.o ion_heap.o
|