Lines Matching defs:obj
58 struct drm_gem_object *obj = dmabuf->priv;
59 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj);
90 struct drm_gem_object *obj = dmabuf->priv;
91 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj);
108 struct drm_gem_object *obj = attach->dmabuf->priv;
109 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj);
124 struct drm_gem_object *obj = attach->dmabuf->priv;
125 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj);
147 struct drm_gem_object *obj = dma_buf->priv;
148 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj);
175 sgt = drm_prime_pages_to_sg(obj->dev,
371 struct drm_gem_object *obj = attach->importer_priv;
372 struct ww_acquire_ctx *ticket = dma_resv_locking_ctx(obj->resv);
373 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj);
449 struct drm_gem_object *obj;
452 obj = dma_buf->priv;
453 if (obj->dev == dev) {
458 drm_gem_object_get(obj);
459 return obj;
463 obj = amdgpu_dma_buf_create_obj(dev, dma_buf);
464 if (IS_ERR(obj))
465 return obj;
468 &amdgpu_dma_buf_attach_ops, obj);
470 drm_gem_object_put(obj);
475 obj->import_attach = attach;
476 return obj;
491 struct drm_gem_object *obj = &bo->tbo.base;
494 if (obj->import_attach) {
495 struct dma_buf *dma_buf = obj->import_attach->dmabuf;