Searched refs:shared_fd (Results 1 – 1 of 1) sorted by relevance
106 int shared_fd; in gralloc_alloc_buffer() local117 ret = ion_share(m->ion_client, ion_hnd, &shared_fd); in gralloc_alloc_buffer()138 cpu_ptr = (unsigned char *)mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, shared_fd, 0); in gralloc_alloc_buffer()144 close(shared_fd); in gralloc_alloc_buffer()152 hnd->share_fd = shared_fd; in gralloc_alloc_buffer()161 close(shared_fd); in gralloc_alloc_buffer()