Searched refs:ion_buffer (Results 1 – 8 of 8) sorted by relevance
/drivers/staging/android/ion/ |
D | ion_priv.h | 35 struct ion_buffer *ion_handle_buffer(struct ion_handle *handle); 64 struct ion_buffer { struct 91 void ion_buffer_destroy(struct ion_buffer *buffer); argument 114 struct ion_buffer *buffer, unsigned long len, 116 void (*free)(struct ion_buffer *buffer); 117 int (*phys)(struct ion_heap *heap, struct ion_buffer *buffer, 120 struct ion_buffer *buffer); 121 void (*unmap_dma)(struct ion_heap *heap, struct ion_buffer *buffer); 122 void * (*map_kernel)(struct ion_heap *heap, struct ion_buffer *buffer); 123 void (*unmap_kernel)(struct ion_heap *heap, struct ion_buffer *buffer); [all …]
|
D | ion.c | 113 struct ion_buffer *buffer; 119 bool ion_buffer_fault_user_mappings(struct ion_buffer *buffer) in ion_buffer_fault_user_mappings() 125 bool ion_buffer_cached(struct ion_buffer *buffer) in ion_buffer_cached() 152 struct ion_buffer *buffer) in ion_buffer_add() 156 struct ion_buffer *entry; in ion_buffer_add() 160 entry = rb_entry(parent, struct ion_buffer, node); in ion_buffer_add() 177 static struct ion_buffer *ion_buffer_create(struct ion_heap *heap, in ion_buffer_create() 183 struct ion_buffer *buffer; in ion_buffer_create() 188 buffer = kzalloc(sizeof(struct ion_buffer), GFP_KERNEL); in ion_buffer_create() 273 void ion_buffer_destroy(struct ion_buffer *buffer) in ion_buffer_destroy() [all …]
|
D | ion_cma_heap.c | 44 static int ion_cma_allocate(struct ion_heap *heap, struct ion_buffer *buffer, in ion_cma_allocate() 90 static void ion_cma_free(struct ion_buffer *buffer) in ion_cma_free() 105 static int ion_cma_phys(struct ion_heap *heap, struct ion_buffer *buffer, in ion_cma_phys() 122 struct ion_buffer *buffer) in ion_cma_heap_map_dma() 130 struct ion_buffer *buffer) in ion_cma_heap_unmap_dma() 134 static int ion_cma_mmap(struct ion_heap *mapper, struct ion_buffer *buffer, in ion_cma_mmap() 146 struct ion_buffer *buffer) in ion_cma_map_kernel() 154 struct ion_buffer *buffer) in ion_cma_unmap_kernel()
|
D | ion_system_heap.c | 56 struct ion_buffer *buffer, in alloc_buffer_page() 81 struct ion_buffer *buffer, struct page *page) in free_buffer_page() 99 struct ion_buffer *buffer, in alloc_largest_available() 123 struct ion_buffer *buffer, in ion_system_heap_allocate() 180 static void ion_system_heap_free(struct ion_buffer *buffer) in ion_system_heap_free() 205 struct ion_buffer *buffer) in ion_system_heap_map_dma() 211 struct ion_buffer *buffer) in ion_system_heap_unmap_dma() 327 struct ion_buffer *buffer, in ion_system_contig_heap_allocate() 378 static void ion_system_contig_heap_free(struct ion_buffer *buffer) in ion_system_contig_heap_free() 392 struct ion_buffer *buffer, in ion_system_contig_heap_phys() [all …]
|
D | ion_heap.c | 29 struct ion_buffer *buffer) in ion_heap_map_kernel() 66 struct ion_buffer *buffer) in ion_heap_unmap_kernel() 71 int ion_heap_map_user(struct ion_heap *heap, struct ion_buffer *buffer, in ion_heap_map_user() 141 int ion_heap_buffer_zero(struct ion_buffer *buffer) in ion_heap_buffer_zero() 163 void ion_heap_freelist_add(struct ion_heap *heap, struct ion_buffer *buffer) in ion_heap_freelist_add() 186 struct ion_buffer *buffer; in _ion_heap_freelist_drain() 199 buffer = list_first_entry(&heap->free_list, struct ion_buffer, in _ion_heap_freelist_drain() 230 struct ion_buffer *buffer; in ion_heap_deferred_free() 240 buffer = list_first_entry(&heap->free_list, struct ion_buffer, in ion_heap_deferred_free()
|
D | ion_carveout_heap.c | 60 struct ion_buffer *buffer, in ion_carveout_heap_phys() 73 struct ion_buffer *buffer, in ion_carveout_heap_allocate() 109 static void ion_carveout_heap_free(struct ion_buffer *buffer) in ion_carveout_heap_free() 128 struct ion_buffer *buffer) in ion_carveout_heap_map_dma() 134 struct ion_buffer *buffer) in ion_carveout_heap_unmap_dma()
|
D | ion_chunk_heap.c | 37 struct ion_buffer *buffer, in ion_chunk_heap_allocate() 93 static void ion_chunk_heap_free(struct ion_buffer *buffer) in ion_chunk_heap_free() 121 struct ion_buffer *buffer) in ion_chunk_heap_map_dma() 127 struct ion_buffer *buffer) in ion_chunk_heap_unmap_dma()
|
D | ion.h | 29 struct ion_buffer;
|