Searched refs:ion_buffer (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.10/drivers/staging/android/ion/ |
| D | ion.h | 40 struct ion_buffer { struct 55 void ion_buffer_destroy(struct ion_buffer *buffer); argument 87 struct ion_buffer *buffer, unsigned long len, 89 void (*free)(struct ion_buffer *buffer); 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, 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); 177 int ion_heap_map_user(struct ion_heap *heap, struct ion_buffer *buffer, [all …]
|
| D | ion_heap.c | 21 struct ion_buffer *buffer) in ion_heap_map_kernel() 55 struct ion_buffer *buffer) in ion_heap_unmap_kernel() 60 int ion_heap_map_user(struct ion_heap *heap, struct ion_buffer *buffer, in ion_heap_map_user() 117 int ion_heap_buffer_zero(struct ion_buffer *buffer) in ion_heap_buffer_zero() 130 void ion_heap_freelist_add(struct ion_heap *heap, struct ion_buffer *buffer) in ion_heap_freelist_add() 153 struct ion_buffer *buffer; in _ion_heap_freelist_drain() 166 buffer = list_first_entry(&heap->free_list, struct ion_buffer, in _ion_heap_freelist_drain() 197 struct ion_buffer *buffer; in ion_heap_deferred_free() 207 buffer = list_first_entry(&heap->free_list, struct ion_buffer, in ion_heap_deferred_free()
|
| D | ion.c | 33 static struct ion_buffer *ion_buffer_create(struct ion_heap *heap, in ion_buffer_create() 38 struct ion_buffer *buffer; in ion_buffer_create() 86 void ion_buffer_destroy(struct ion_buffer *buffer) in ion_buffer_destroy() 102 static void _ion_buffer_destroy(struct ion_buffer *buffer) in _ion_buffer_destroy() 112 static void *ion_buffer_kmap_get(struct ion_buffer *buffer) in ion_buffer_kmap_get() 131 static void ion_buffer_kmap_put(struct ion_buffer *buffer) in ion_buffer_kmap_put() 183 struct ion_buffer *buffer = dmabuf->priv; in ion_dma_buf_attach() 212 struct ion_buffer *buffer = dmabuf->priv; in ion_dma_buf_detach() 247 struct ion_buffer *buffer = dmabuf->priv; in ion_mmap() 273 struct ion_buffer *buffer = dmabuf->priv; in ion_dma_buf_release() [all …]
|
| D | ion_system_heap.c | 48 struct ion_buffer *buffer, in alloc_buffer_page() 57 struct ion_buffer *buffer, struct page *page) in free_buffer_page() 74 struct ion_buffer *buffer, in alloc_largest_available() 98 struct ion_buffer *buffer, in ion_system_heap_allocate() 152 static void ion_system_heap_free(struct ion_buffer *buffer) in ion_system_heap_free() 285 struct ion_buffer *buffer, in ion_system_contig_heap_allocate() 330 static void ion_system_contig_heap_free(struct ion_buffer *buffer) in ion_system_contig_heap_free()
|
| D | ion_cma_heap.c | 27 static int ion_cma_allocate(struct ion_heap *heap, struct ion_buffer *buffer, in ion_cma_allocate() 83 static void ion_cma_free(struct ion_buffer *buffer) in ion_cma_free()
|