Home
last modified time | relevance | path

Searched refs:share_fd (Results 1 – 13 of 13) sorted by relevance

/device/linaro/hikey/gralloc/
Dgralloc_priv.h162 int share_fd; member
219 share_fd(-1), in private_handle_t()
253 share_fd(-1), in private_handle_t()
286 share_fd(-1), in private_handle_t()
342 if (hnd->share_fd < 0) in validate()
Dalloc_device.cpp124 hnd->share_fd = fb_dma_buf.fd; in fb_get_framebuffer_dmabuf()
257 hnd->share_fd = shared_fd; in gralloc_alloc_buffer()
456 if (hnd->share_fd < 0) in gralloc_alloc_framebuffer_locked()
691 close(hnd->share_fd); in alloc_device_free()
Dgralloc_module.cpp173 …dAddress = (unsigned char *)mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, hnd->share_fd, 0); in gralloc_register_buffer()
177 AERR("mmap( share_fd:%d ) failed with %s", hnd->share_fd, strerror(errno)); in gralloc_register_buffer()
/device/linaro/hikey/gralloc960/
Dmali_gralloc_buffer.h99 int share_fd; member
167 : share_fd(-1) in private_handle_t()
197 : share_fd(_shared_fd) in private_handle_t()
Dmali_gralloc_ion.cpp631 …igned char *)mmap(NULL, bufDescriptor->size, PROT_READ | PROT_WRITE, MAP_SHARED, hnd->share_fd, 0); in mali_gralloc_ion_allocate()
635 AERR("mmap failed from client ( %d ), fd ( %d )", m->ion_client, hnd->share_fd); in mali_gralloc_ion_allocate()
672 close(hnd->share_fd); in mali_gralloc_ion_free()
704 ion_sync_fd(m->ion_client, hnd->share_fd); in mali_gralloc_ion_sync()
735 …dAddress = (unsigned char *)mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, hnd->share_fd, 0); in mali_gralloc_ion_map()
739 AERR("mmap( share_fd:%d ) failed with %s", hnd->share_fd, strerror(errno)); in mali_gralloc_ion_map()
Dmali_gralloc_debug.cpp100 hnd->consumer_usage, hnd->producer_usage, hnd->share_fd, in mali_gralloc_dump_buffers()
Dmali_gralloc_private_interface.cpp61 *fd = hnd->share_fd; in mali_gralloc_private_get_buff_fd()
Dframebuffer_device.cpp410 hnd->share_fd = fb_dma_buf.fd; in fb_alloc_framebuffer_dmabuf()
/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_buffer.h99 int share_fd; member
180 : share_fd(-1) in private_handle_t()
212 : share_fd(_shared_fd) in private_handle_t()
Dmali_gralloc_ion.cpp589 …igned char *)mmap(NULL, bufDescriptor->size, PROT_READ | PROT_WRITE, MAP_SHARED, hnd->share_fd, 0); in mali_gralloc_ion_allocate()
593 AERR("mmap failed from client ( %d ), fd ( %d )", m->ion_client, hnd->share_fd); in mali_gralloc_ion_allocate()
630 close(hnd->share_fd); in mali_gralloc_ion_free()
662 ion_sync_fd(m->ion_client, hnd->share_fd); in mali_gralloc_ion_sync()
710 …dAddress = (unsigned char *)mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, hnd->share_fd, 0); in mali_gralloc_ion_map()
714 AERR("mmap( share_fd:%d ) failed with %s", hnd->share_fd, strerror(errno)); in mali_gralloc_ion_map()
Dmali_gralloc_debug.cpp100 hnd->consumer_usage, hnd->producer_usage, hnd->share_fd, in mali_gralloc_dump_buffers()
Dmali_gralloc_private_interface.cpp61 *fd = hnd->share_fd; in mali_gralloc_private_get_buff_fd()
Dframebuffer_device.cpp410 hnd->share_fd = fb_dma_buf.fd; in fb_alloc_framebuffer_dmabuf()