Searched refs:ion_hnd (Results 1 – 1 of 1) sorted by relevance
104 ion_user_handle_t ion_hnd; in gralloc_alloc_buffer() local109 ret = ion_alloc(m->ion_client, size, 0, ION_HEAP_SYSTEM_MASK, 0, &(ion_hnd)); in gralloc_alloc_buffer()117 ret = ion_share(m->ion_client, ion_hnd, &shared_fd); in gralloc_alloc_buffer()123 if (0 != ion_free(m->ion_client, ion_hnd)) in gralloc_alloc_buffer()132 if (0 != ion_free(m->ion_client, ion_hnd)) in gralloc_alloc_buffer()136 ion_hnd = ION_INVALID_HANDLE; in gralloc_alloc_buffer()