Lines Matching defs:handle
99 args->v0.token = obj->handle;
247 nouveau_object_init(struct nouveau_object *parent, uint32_t handle,
261 obj->handle = handle;
275 args->new.handle = handle;
302 nouveau_object_new(struct nouveau_object *parent, uint64_t handle,
312 ret = nouveau_object_init(parent, handle, oclass, data, length, obj);
420 nvdev->base.object.handle = ~0ULL;
623 drmCloseBufferHandle(drm->fd, bo->handle);
627 drmCloseBufferHandle(drm->fd, bo->handle);
661 nouveau_bo_wrap_locked(struct nouveau_device *dev, uint32_t handle,
666 struct drm_nouveau_gem_info req = { .handle = handle };
671 if (nvbo->base.handle == handle) {
726 nouveau_bo_wrap(struct nouveau_device *dev, uint32_t handle,
732 ret = nouveau_bo_wrap_locked(dev, handle, pbo, 0);
750 ret = nouveau_bo_wrap_locked(dev, nvbo->base.handle,
759 ret = nouveau_bo_wrap_locked(dev, req.handle, pbo, name);
769 struct drm_gem_flink req = { .handle = bo->handle };
809 unsigned int handle;
814 ret = drmPrimeFDToHandle(drm->fd, prime_fd, &handle);
816 ret = nouveau_bo_wrap_locked(dev, handle, bo, 0);
829 ret = drmPrimeHandleToFD(drm->fd, nvbo->base.handle, DRM_CLOEXEC, prime_fd);
858 req.handle = bo->handle;