Searched refs:ion_handle (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/staging/android/ion/
H A Dion.h24 struct ion_handle;
117 struct ion_handle *ion_alloc(struct ion_client *client, size_t len,
128 void ion_free(struct ion_client *client, struct ion_handle *handle);
146 int ion_phys(struct ion_client *client, struct ion_handle *handle,
158 struct ion_handle *handle);
168 void *ion_map_kernel(struct ion_client *client, struct ion_handle *handle);
175 void ion_unmap_kernel(struct ion_client *client, struct ion_handle *handle);
183 struct ion_handle *handle);
190 int ion_share_dma_buf_fd(struct ion_client *client, struct ion_handle *handle);
201 struct ion_handle *ion_import_dma_buf(struct ion_client *client, int fd);
H A Dion.c98 * ion_handle - a client local reference to a buffer
109 struct ion_handle { struct
339 static struct ion_handle *ion_handle_create(struct ion_client *client, ion_handle_create()
342 struct ion_handle *handle; ion_handle_create()
344 handle = kzalloc(sizeof(struct ion_handle), GFP_KERNEL); ion_handle_create()
357 static void ion_handle_kmap_put(struct ion_handle *);
361 struct ion_handle *handle = container_of(kref, struct ion_handle, ref); ion_handle_destroy()
380 struct ion_buffer *ion_handle_buffer(struct ion_handle *handle) ion_handle_buffer()
385 static void ion_handle_get(struct ion_handle *handle) ion_handle_get()
390 static int ion_handle_put(struct ion_handle *handle) ion_handle_put()
402 static struct ion_handle *ion_handle_lookup(struct ion_client *client, ion_handle_lookup()
408 struct ion_handle *entry = rb_entry(n, struct ion_handle, node); ion_handle_lookup()
420 static struct ion_handle *ion_handle_get_by_id(struct ion_client *client, ion_handle_get_by_id()
423 struct ion_handle *handle; ion_handle_get_by_id()
435 struct ion_handle *handle) ion_handle_validate()
441 static int ion_handle_add(struct ion_client *client, struct ion_handle *handle) ion_handle_add()
446 struct ion_handle *entry; ion_handle_add()
456 entry = rb_entry(parent, struct ion_handle, node); ion_handle_add()
472 struct ion_handle *ion_alloc(struct ion_client *client, size_t len, ion_alloc()
476 struct ion_handle *handle; ion_alloc()
535 void ion_free(struct ion_client *client, struct ion_handle *handle) ion_free()
554 int ion_phys(struct ion_client *client, struct ion_handle *handle, ion_phys()
599 static void *ion_handle_kmap_get(struct ion_handle *handle) ion_handle_kmap_get()
624 static void ion_handle_kmap_put(struct ion_handle *handle) ion_handle_kmap_put()
637 void *ion_map_kernel(struct ion_client *client, struct ion_handle *handle) ion_map_kernel()
667 void ion_unmap_kernel(struct ion_client *client, struct ion_handle *handle) ion_unmap_kernel()
690 struct ion_handle *handle = rb_entry(n, struct ion_handle, ion_debug_client_show()
834 struct ion_handle *handle = rb_entry(n, struct ion_handle, ion_client_destroy()
855 struct ion_handle *handle) ion_sg_table()
1104 struct ion_handle *handle) ion_share_dma_buf()
1137 int ion_share_dma_buf_fd(struct ion_client *client, struct ion_handle *handle) ion_share_dma_buf_fd()
1154 struct ion_handle *ion_import_dma_buf(struct ion_client *client, int fd) ion_import_dma_buf()
1158 struct ion_handle *handle; ion_import_dma_buf()
1243 struct ion_handle *cleanup_handle = NULL; ion_ioctl()
1266 struct ion_handle *handle; ion_ioctl()
1282 struct ion_handle *handle; ion_ioctl()
1294 struct ion_handle *handle; ion_ioctl()
1307 struct ion_handle *handle; ion_ioctl()
1385 struct ion_handle *handle = rb_entry(n, ion_debug_heap_total()
1386 struct ion_handle, ion_debug_heap_total()
H A Dion_priv.h32 struct ion_buffer *ion_handle_buffer(struct ion_handle *handle);

Completed in 60 milliseconds