Searched refs:ion_heap (Results 1 – 8 of 8) sorted by relevance
| /Linux-v4.19/drivers/staging/android/ion/ |
| D | ion.h | 69 struct ion_heap *heap; 116 int (*allocate)(struct ion_heap *heap, 120 void * (*map_kernel)(struct ion_heap *heap, struct ion_buffer *buffer); 121 void (*unmap_kernel)(struct ion_heap *heap, struct ion_buffer *buffer); 122 int (*map_user)(struct ion_heap *mapper, struct ion_buffer *buffer, 124 int (*shrink)(struct ion_heap *heap, gfp_t gfp_mask, int nr_to_scan); 168 struct ion_heap { struct 183 int (*debug_show)(struct ion_heap *heap, struct seq_file *s, argument 191 void ion_device_add_heap(struct ion_heap *heap); 197 void *ion_heap_map_kernel(struct ion_heap *heap, struct ion_buffer *buffer); [all …]
|
| D | ion_heap.c | 19 void *ion_heap_map_kernel(struct ion_heap *heap, in ion_heap_map_kernel() 57 void ion_heap_unmap_kernel(struct ion_heap *heap, in ion_heap_unmap_kernel() 63 int ion_heap_map_user(struct ion_heap *heap, struct ion_buffer *buffer, in ion_heap_map_user() 155 void ion_heap_freelist_add(struct ion_heap *heap, struct ion_buffer *buffer) in ion_heap_freelist_add() 164 size_t ion_heap_freelist_size(struct ion_heap *heap) in ion_heap_freelist_size() 175 static size_t _ion_heap_freelist_drain(struct ion_heap *heap, size_t size, in _ion_heap_freelist_drain() 207 size_t ion_heap_freelist_drain(struct ion_heap *heap, size_t size) in ion_heap_freelist_drain() 212 size_t ion_heap_freelist_shrink(struct ion_heap *heap, size_t size) in ion_heap_freelist_shrink() 219 struct ion_heap *heap = data; in ion_heap_deferred_free() 243 int ion_heap_init_deferred_free(struct ion_heap *heap) in ion_heap_init_deferred_free() [all …]
|
| D | ion_carveout_heap.c | 21 struct ion_heap heap; 26 static phys_addr_t ion_carveout_allocate(struct ion_heap *heap, in ion_carveout_allocate() 39 static void ion_carveout_free(struct ion_heap *heap, phys_addr_t addr, in ion_carveout_free() 50 static int ion_carveout_heap_allocate(struct ion_heap *heap, in ion_carveout_heap_allocate() 86 struct ion_heap *heap = buffer->heap; in ion_carveout_heap_free() 106 struct ion_heap *ion_carveout_heap_create(struct ion_platform_heap *heap_data) in ion_carveout_heap_create()
|
| 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() 215 static int ion_system_heap_debug_show(struct ion_heap *heap, struct seq_file *s, in ion_system_heap_debug_show() 270 static struct ion_heap *__ion_system_heap_create(void) in __ion_system_heap_create() 294 struct ion_heap *heap; in ion_system_heap_create() 306 static int ion_system_contig_heap_allocate(struct ion_heap *heap, in ion_system_contig_heap_allocate() 373 static struct ion_heap *__ion_system_contig_heap_create(void) in __ion_system_contig_heap_create() 375 struct ion_heap *heap; in __ion_system_contig_heap_create() 388 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() 125 struct ion_heap *heap; in __ion_add_cma_heaps()
|
| D | ion_chunk_heap.c | 18 struct ion_heap heap; 26 static int ion_chunk_heap_allocate(struct ion_heap *heap, in ion_chunk_heap_allocate() 82 struct ion_heap *heap = buffer->heap; in ion_chunk_heap_free() 111 struct ion_heap *ion_chunk_heap_create(struct ion_platform_heap *heap_data) in ion_chunk_heap_create()
|
| D | ion.c | 63 static struct ion_buffer *ion_buffer_create(struct ion_heap *heap, in ion_buffer_create() 125 struct ion_heap *heap = buffer->heap; in _ion_buffer_destroy() 386 struct ion_heap *heap; in ion_alloc() 444 struct ion_heap *heap; in ion_query_heaps() 494 struct ion_heap *heap = data; in debug_shrink_set() 512 struct ion_heap *heap = data; in debug_shrink_get() 527 void ion_device_add_heap(struct ion_heap *heap) in ion_device_add_heap()
|
| D | Makefile | 2 obj-$(CONFIG_ION) += ion.o ion-ioctl.o ion_heap.o
|