Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/android/ion/
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);
Dion.c109 struct ion_handle { struct
339 static struct ion_handle *ion_handle_create(struct ion_client *client, in ion_handle_create()
342 struct ion_handle *handle; in ion_handle_create()
344 handle = kzalloc(sizeof(struct ion_handle), GFP_KERNEL); in 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); in ion_handle_destroy()
380 struct ion_buffer *ion_handle_buffer(struct ion_handle *handle) in ion_handle_buffer()
385 static void ion_handle_get(struct ion_handle *handle) in ion_handle_get()
390 static int ion_handle_put(struct ion_handle *handle) in ion_handle_put()
402 static struct ion_handle *ion_handle_lookup(struct ion_client *client, in ion_handle_lookup()
[all …]
Dion_priv.h32 struct ion_buffer *ion_handle_buffer(struct ion_handle *handle);