attachment 799 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c struct dma_buf_attachment *attachment; attachment 826 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c attachment = READ_ONCE(bo->tbo.base.import_attach); attachment 828 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c if (attachment) attachment 20 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c static struct sg_table *i915_gem_map_dma_buf(struct dma_buf_attachment *attachment, attachment 23 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c struct drm_i915_gem_object *obj = dma_buf_to_obj(attachment->dmabuf); attachment 51 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c if (!dma_map_sg(attachment->dev, st->sgl, st->nents, dir)) { attachment 68 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c static void i915_gem_unmap_dma_buf(struct dma_buf_attachment *attachment, attachment 72 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c struct drm_i915_gem_object *obj = dma_buf_to_obj(attachment->dmabuf); attachment 74 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c dma_unmap_sg(attachment->dev, sg->sgl, sg->nents, dir); attachment 9 drivers/gpu/drm/i915/gem/selftests/mock_dmabuf.c static struct sg_table *mock_map_dma_buf(struct dma_buf_attachment *attachment, attachment 12 drivers/gpu/drm/i915/gem/selftests/mock_dmabuf.c struct mock_dmabuf *mock = to_mock(attachment->dmabuf); attachment 31 drivers/gpu/drm/i915/gem/selftests/mock_dmabuf.c if (!dma_map_sg(attachment->dev, st->sgl, st->nents, dir)) { attachment 45 drivers/gpu/drm/i915/gem/selftests/mock_dmabuf.c static void mock_unmap_dma_buf(struct dma_buf_attachment *attachment, attachment 49 drivers/gpu/drm/i915/gem/selftests/mock_dmabuf.c dma_unmap_sg(attachment->dev, st->sgl, st->nents, dir); attachment 19 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c struct dma_buf_attachment *attachment, attachment 22 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c struct drm_gem_object *obj = attachment->dmabuf->priv; attachment 56 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c static void omap_gem_unmap_dma_buf(struct dma_buf_attachment *attachment, attachment 59 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c struct drm_gem_object *obj = attachment->dmabuf->priv; attachment 487 drivers/misc/fastrpc.c fastrpc_map_dma_buf(struct dma_buf_attachment *attachment, attachment 490 drivers/misc/fastrpc.c struct fastrpc_dma_buf_attachment *a = attachment->priv; attachment 495 drivers/misc/fastrpc.c if (!dma_map_sg(attachment->dev, table->sgl, table->nents, dir)) attachment 516 drivers/misc/fastrpc.c struct dma_buf_attachment *attachment) attachment 534 drivers/misc/fastrpc.c a->dev = attachment->dev; attachment 536 drivers/misc/fastrpc.c attachment->priv = a; attachment 546 drivers/misc/fastrpc.c struct dma_buf_attachment *attachment) attachment 548 drivers/misc/fastrpc.c struct fastrpc_dma_buf_attachment *a = attachment->priv; attachment 179 drivers/staging/android/ion/ion.c struct dma_buf_attachment *attachment) attachment 196 drivers/staging/android/ion/ion.c a->dev = attachment->dev; attachment 199 drivers/staging/android/ion/ion.c attachment->priv = a; attachment 209 drivers/staging/android/ion/ion.c struct dma_buf_attachment *attachment) attachment 211 drivers/staging/android/ion/ion.c struct ion_dma_buf_attachment *a = attachment->priv; attachment 222 drivers/staging/android/ion/ion.c static struct sg_table *ion_map_dma_buf(struct dma_buf_attachment *attachment, attachment 225 drivers/staging/android/ion/ion.c struct ion_dma_buf_attachment *a = attachment->priv; attachment 230 drivers/staging/android/ion/ion.c if (!dma_map_sg(attachment->dev, table->sgl, table->nents, attachment 237 drivers/staging/android/ion/ion.c static void ion_unmap_dma_buf(struct dma_buf_attachment *attachment, attachment 241 drivers/staging/android/ion/ion.c dma_unmap_sg(attachment->dev, table->sgl, table->nents, direction); attachment 67 drivers/staging/media/tegra-vde/dmabuf-cache.c struct dma_buf_attachment *attachment; attachment 95 drivers/staging/media/tegra-vde/dmabuf-cache.c attachment = dma_buf_attach(dmabuf, dev); attachment 96 drivers/staging/media/tegra-vde/dmabuf-cache.c if (IS_ERR(attachment)) { attachment 98 drivers/staging/media/tegra-vde/dmabuf-cache.c err = PTR_ERR(attachment); attachment 102 drivers/staging/media/tegra-vde/dmabuf-cache.c sgt = dma_buf_map_attachment(attachment, dma_dir); attachment 139 drivers/staging/media/tegra-vde/dmabuf-cache.c entry->a = attachment; attachment 152 drivers/staging/media/tegra-vde/dmabuf-cache.c dma_buf_unmap_attachment(attachment, sgt, dma_dir); attachment 154 drivers/staging/media/tegra-vde/dmabuf-cache.c dma_buf_detach(dmabuf, attachment);