Lines Matching defs:handle
161 bo->handle = create.handle;
215 c.handle = bo->handle;
218 fprintf(stderr, "close object %d: %s\n", bo->handle, strerror(errno));
326 uint32_t handle, uint32_t size)
334 bo = util_hash_table_get(screen->bo_handles, (void*)(uintptr_t)handle);
343 bo->handle = handle;
349 v3d_simulator_open_from_handle(screen->fd, bo->handle, bo->size);
354 .handle = handle,
368 _mesa_hash_table_insert(screen->bo_handles, (void *)(uintptr_t)handle, bo);
391 return v3d_bo_open_handle(screen, o.handle, o.size);
397 uint32_t handle;
398 int ret = drmPrimeFDToHandle(screen->fd, fd, &handle);
401 fprintf(stderr, "Failed to get v3d handle for dmabuf %d\n", fd);
412 return v3d_bo_open_handle(screen, handle, size);
419 int ret = drmPrimeHandleToFD(bo->screen->fd, bo->handle,
423 bo->handle);
429 _mesa_hash_table_insert(bo->screen->bo_handles, (void *)(uintptr_t)bo->handle, bo);
439 .handle = bo->handle,
444 bo->handle, strerror(errno));
455 static int v3d_wait_bo_ioctl(int fd, uint32_t handle, uint64_t timeout_ns)
458 .handle = handle,
475 if (v3d_wait_bo_ioctl(screen->fd, bo->handle, 0) == -ETIME) {
481 int ret = v3d_wait_bo_ioctl(screen->fd, bo->handle, timeout_ns);
505 map.handle = bo->handle;
517 bo->handle, (long long)offset, bo->size);