HomeSort by relevance Sort by last modified time
    Searched full:shared_fd (Results 1 - 2 of 2) sorted by null

  /device/linaro/hikey/gralloc960/
alloc_ion.cpp 220 int shared_fd; local
243 ret = ion_share( m->ion_client, ion_hnd, &shared_fd );
251 // we do not need ion_hnd once we have shared_fd
260 cpu_ptr = (unsigned char*)mmap( NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, shared_fd, 0 );
265 close( shared_fd );
288 hnd->share_fd = shared_fd;
298 close( shared_fd );
  /device/linaro/hikey/gralloc/
alloc_device.cpp 106 int shared_fd; local
117 ret = ion_share(m->ion_client, ion_hnd, &shared_fd);
131 // we do not need ion_hnd once we have shared_fd
138 cpu_ptr = (unsigned char *)mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, shared_fd, 0);
144 close(shared_fd);
152 hnd->share_fd = shared_fd;
161 close(shared_fd);

Completed in 154 milliseconds