Searched refs:share_fd (Results 1 – 13 of 13) sorted by relevance
/device/linaro/hikey/gralloc/ |
D | gralloc_priv.h | 162 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()
|
D | alloc_device.cpp | 124 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()
|
D | gralloc_module.cpp | 173 …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/ |
D | mali_gralloc_buffer.h | 99 int share_fd; member 167 : share_fd(-1) in private_handle_t() 197 : share_fd(_shared_fd) in private_handle_t()
|
D | mali_gralloc_ion.cpp | 631 …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()
|
D | mali_gralloc_debug.cpp | 100 hnd->consumer_usage, hnd->producer_usage, hnd->share_fd, in mali_gralloc_dump_buffers()
|
D | mali_gralloc_private_interface.cpp | 61 *fd = hnd->share_fd; in mali_gralloc_private_get_buff_fd()
|
D | framebuffer_device.cpp | 410 hnd->share_fd = fb_dma_buf.fd; in fb_alloc_framebuffer_dmabuf()
|
/device/amlogic/yukawa/hal/gralloc/ |
D | mali_gralloc_buffer.h | 99 int share_fd; member 180 : share_fd(-1) in private_handle_t() 212 : share_fd(_shared_fd) in private_handle_t()
|
D | mali_gralloc_ion.cpp | 589 …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()
|
D | mali_gralloc_debug.cpp | 100 hnd->consumer_usage, hnd->producer_usage, hnd->share_fd, in mali_gralloc_dump_buffers()
|
D | mali_gralloc_private_interface.cpp | 61 *fd = hnd->share_fd; in mali_gralloc_private_get_buff_fd()
|
D | framebuffer_device.cpp | 410 hnd->share_fd = fb_dma_buf.fd; in fb_alloc_framebuffer_dmabuf()
|