Home
last modified time | relevance | path

Searched refs:hostHandleRefCountFd (Results 1 – 4 of 4) sorted by relevance

/device/generic/goldfish-opengl/system/hals/
Dallocator3.cpp349 QEMU_PIPE_HANDLE hostHandleRefCountFd = QEMU_PIPE_INVALID_HANDLE; in allocateCb() local
351 hostHandleRefCountFd = qemu_pipe_open("refcount"); in allocateCb()
352 if (!qemu_pipe_valid(hostHandleRefCountFd)) { in allocateCb()
365 qemu_pipe_close(hostHandleRefCountFd); in allocateCb()
369 if (qemu_pipe_write(hostHandleRefCountFd, in allocateCb()
373 qemu_pipe_close(hostHandleRefCountFd); in allocateCb()
381 hostHandleRefCountFd, in allocateCb()
405 if (qemu_pipe_valid(cb->hostHandleRefCountFd)) { in freeCb()
406 qemu_pipe_close(cb->hostHandleRefCountFd); in freeCb()
/device/generic/goldfish-opengl/shared/gralloc_cb/include/
Dgralloc_cb_bp.h44 hostHandleRefCountFd(p_hostHandleRefCountFd), in cb_handle_t()
61 numFds = ((bufferFd >= 0) ? 1 : 0) + (qemu_pipe_valid(hostHandleRefCountFd) ? 1 : 0); in cb_handle_t()
106 QEMU_PIPE_HANDLE hostHandleRefCountFd; // guest side refcounter to hostHandle member
/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_30.cpp820 QEMU_PIPE_HANDLE hostHandleRefCountFd = QEMU_PIPE_INVALID_HANDLE; in alloc_buffer() local
822 hostHandleRefCountFd = qemu_pipe_open("refcount"); in alloc_buffer()
823 if (!qemu_pipe_valid(hostHandleRefCountFd)) { RETURN_ERROR_CODE(-EIO); } in alloc_buffer()
833 qemu_pipe_close(hostHandleRefCountFd); in alloc_buffer()
836 …if (qemu_pipe_write(hostHandleRefCountFd, &hostHandle, sizeof(hostHandle)) != sizeof(hostHandle)) { in alloc_buffer()
838 qemu_pipe_close(hostHandleRefCountFd); in alloc_buffer()
845 host_memory_allocator.release(), hostHandleRefCountFd, in alloc_buffer()
866 if (qemu_pipe_valid(handle->hostHandleRefCountFd)) { in free_buffer()
867 qemu_pipe_close(handle->hostHandleRefCountFd); in free_buffer()
Dgralloc_old.cpp107 return qemu_pipe_valid(hostHandleRefCountFd); in hasRefcountPipe()
114 hostHandleRefCountFd = fd; in setRefcountPipeFd()
973 if(qemu_pipe_valid(cb->hostHandleRefCountFd)) { in gralloc_free()
974 qemu_pipe_close(cb->hostHandleRefCountFd); in gralloc_free()