Home
last modified time | relevance | path

Searched refs:bufferFd (Results 1 – 5 of 5) sorted by relevance

/device/generic/goldfish-opengl/shared/gralloc_cb/include/
Dgralloc_cb_bp.h43 : bufferFd(p_bufferFd), in cb_handle_t()
61 numFds = ((bufferFd >= 0) ? 1 : 0) + (qemu_pipe_valid(hostHandleRefCountFd) ? 1 : 0); in cb_handle_t()
105 int32_t bufferFd; // underlying buffer file handle member
/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_30.cpp862 if (handle->bufferFd != handle->bufferFdAsInt) { RETURN_ERROR_CODE(-EACCES); } in free_buffer()
873 GoldfishAddressSpaceHostMemoryAllocator::closeHandle(handle->bufferFd); in free_buffer()
888 handle->bufferFd, in register_buffer()
903 handle->bufferFdAsInt = handle->bufferFd; in register_buffer()
916 if (handle->bufferFd != handle->bufferFdAsInt) { RETURN_ERROR_CODE(-EACCES); } in unregister_buffer()
Dgralloc_old.cpp425 if (cb->bufferFd < 0) { in map_buffer()
430 MAP_SHARED, cb->bufferFd, 0); in map_buffer()
964 if (cb->bufferFd > 0) { in gralloc_free()
970 close(cb->bufferFd); in gralloc_free()
/device/generic/goldfish-opengl/system/hals/
Dallocator3.cpp409 GoldfishAddressSpaceHostMemoryAllocator::closeHandle(cb->bufferFd); in freeCb()
Dmapper3.cpp231 cb->bufferFd, in importBufferImpl()