Lines Matching refs:ion_heap

40 	struct ion_heap *heap;
66 int (*allocate)(struct ion_heap *heap,
70 int (*shrink)(struct ion_heap *heap, gfp_t gfp_mask, int nr_to_scan);
71 long (*get_pool_size)(struct ion_heap *heap);
117 struct ion_heap { struct
171 int __ion_device_add_heap(struct ion_heap *heap, struct module *owner);
178 void ion_device_remove_heap(struct ion_heap *heap);
188 int ion_heap_init_shrinker(struct ion_heap *heap);
198 int ion_heap_init_deferred_free(struct ion_heap *heap);
207 void ion_heap_freelist_add(struct ion_heap *heap, struct ion_buffer *buffer);
219 size_t ion_heap_freelist_drain(struct ion_heap *heap, size_t size);
241 size_t ion_heap_freelist_shrink(struct ion_heap *heap,
248 size_t ion_heap_freelist_size(struct ion_heap *heap);
260 void *ion_heap_map_kernel(struct ion_heap *heap, struct ion_buffer *buffer);
269 void ion_heap_unmap_kernel(struct ion_heap *heap, struct ion_buffer *buffer);
282 int ion_heap_map_user(struct ion_heap *heap, struct ion_buffer *buffer,
344 static inline int __ion_device_add_heap(struct ion_heap *heap, in __ion_device_add_heap()
350 static inline int ion_heap_init_shrinker(struct ion_heap *heap) in ion_heap_init_shrinker()
355 static inline int ion_heap_init_deferred_free(struct ion_heap *heap) in ion_heap_init_deferred_free()
360 static inline void ion_heap_freelist_add(struct ion_heap *heap, in ion_heap_freelist_add()
363 static inline size_t ion_heap_freelist_drain(struct ion_heap *heap, size_t size) in ion_heap_freelist_drain()
368 static inline size_t ion_heap_freelist_shrink(struct ion_heap *heap, in ion_heap_freelist_shrink()
374 static inline size_t ion_heap_freelist_size(struct ion_heap *heap) in ion_heap_freelist_size()
379 static inline void *ion_heap_map_kernel(struct ion_heap *heap, in ion_heap_map_kernel()
385 static inline void ion_heap_unmap_kernel(struct ion_heap *heap, in ion_heap_unmap_kernel()
388 static inline int ion_heap_map_user(struct ion_heap *heap, in ion_heap_map_user()